Hi Mathieu, The problem seems to be with the property cactus.home.weblogic7x and the beaHome attribute. Currently, if you set cactus.home.weblogic7x to be BEA_HOME/weblogic700, then the beaHome asttribute is set to BEA_HOME/weblogic700 by the Cactus plugin whereas it should be BEA_HOME (this is what happens in your stack trace below).
I need to fix this. In addition to this there may be some issues with the SerializedSystemIni.dat file which was probably one for WL 7.0 SP1 and BEA seems to have changed it for SP2... In any case, it seems this is no longer the way to set security for WL 7.x so this needs to be updated too... I'll give a go now and see if I can come up with a fix in a reasonable amount of time... :-) Thanks -Vincent > -----Original Message----- > From: GANDIN Mathieu [mailto:[EMAIL PROTECTED] > Sent: 05 August 2003 17:03 > To: 'Cactus Users List' > Subject: RE : RE : RE : Maven cactus plugin regression (?) > > Vincent, > > I get the fix of the maven plugin for Cactus and I don't throw the last > error, but my weblogic server failed to start. > > I check the weblogic7x.out which was generated in the folder > target/test-cactus-reports > And I get the following error: > weblogic.security.internal.SerializedSystemIniException: Version mismatch. > have 30, expected 1 > > I suppose that the file SerializedSystemIni.dat from the weblogic domain > is > corrupted. Maybe it's possible to replace it in the archive > cactus-ant-13-1.5-beta1.jar in > org.apache.cactus.integration.ant.container.resources.weblogic7x > > I run maven cactus -X and I get the following trace: > [cactus] [DEBUG] Execute:Java13CommandLauncher: Executing > 'C:\socleQualite\1 > _0\java\jdk1-3-1_02\jre\bin\java.exe' with arguments: > '-hotspot' > '-ms64m' > '-mx64m' > '-Djava.library.path=C:\socleQualite\1_0\java\jdk1-3- > 1_02\bin;C:\socleQualit > e\1_ > 0\ide\eclipse-2-1- > 1\eclipse\workspace\helloservlet;C:\WINNT\System32;C:\WINN > T;C: > \oracle\bin;C:\Program > Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT\Sys > tem32\Wbem;C:\orant\BIN;C:\opensource\apache-ant-1.5.3-1\bin;C:\Program > Files\GN > U\WinCvs > 1.2;C:\opensource\maven-1.0-beta-10\bin;C:\bea\weblogic700\server\bin' > '-Dweblogic.Name=testserver' > '-Dbea.home=C:\bea\weblogic700' > '-Dweblogic.management.username=system' > '-Dweblogic.management.password=password' > '-Djava.security.policy==./server/lib/weblogic.policy' > '-classpath' > 'C:\bea\weblogic700\server\lib\weblogic.jar' > 'weblogic.Server' > > The ' characters around the executable and arguments are > not part of the command. > > [cactus] [DEBUG] Checking if server is up ... > [cactus] [DEBUG] Failed to connect to > http://localhost:8080/helloworld-cactu > s/ServletRedirector?Cactus_Service=RUN_TEST (Connection refused: connect) > > Gandin Mathieu > OCTO Technology > > > -----Message d'origine----- > De�: Vincent Massol [mailto:[EMAIL PROTECTED] > Envoy�: mardi 5 ao�t 2003 15:47 > ��: 'Cactus Users List' > Cc�: [EMAIL PROTECTED] > Objet�: RE: RE : RE : Maven cactus plugin regression (?) > > Mathieu, > > I have reproduced this and I have just committed a fix in Maven CVS HEAD > for this error. However, WebLogic 7x still doesn't start correctly for > me and I'm still debugging this. > > If you want to see the command line that is used to start WL 7.x, run > maven with the -X parameter: > > maven cactus -X > > Thanks > -Vincent > > > -----Original Message----- > > From: GANDIN Mathieu [mailto:[EMAIL PROTECTED] > > Sent: 05 August 2003 15:16 > > To: 'Cactus Users List' > > Subject: RE : RE : Maven cactus plugin regression (?) > > > > Hi Vincent > > > > Well, I get the same error. > > I re-install Maven b10 > > I have made a checkout of maven/src/plugins-build/cactus > > I build and it works > > > > But when I tried to run my cactus test I get the following error: > > cactus:test: > > [cactus] > > ----------------------------------------------------------------- > > [cactus] Running tests against WebLogic 7.x > > [cactus] > > ----------------------------------------------------------------- > > [cactus] Building jar: > > C:\DOCUME~1\gandinm\LOCALS~1\Temp\cactus\weblogic7x\te > > stdomain\applications\applicationtest-cactus.war > > java.lang.NullPointerException > > at > > org.apache.tools.ant.types.Environment$Variable.setFile(Environment.j > > ava:97) > > at > > org.apache.cactus.integration.ant.container.AbstractJavaContainer.cre > > ateSysProperty(AbstractJavaContainer.java:155) > > at > > org.apache.cactus.integration.ant.container.weblogic.WebLogic7xContai > > ner.startUp(WebLogic7xContainer.java:206) > > at > > org.apache.cactus.integration.ant.container.ContainerRunner$1.run(Con > > tainerRunner.java:185) > > at java.lang.Thread.run(Thread.java:484) > > > > BUILD FAILED > > File...... file:/C:/Documents and > > Settings/gandinm/.maven/plugins/maven-cactus-pl > > ugin-3.1-SNAPSHOT/ > > Element... cactus > > Line...... 227 > > Column.... 53 > > Failed to start the container after more than [180000] ms. > > Total time: 3 minutes 24 seconds > > > > Gandin Mathieu > > OCTO Technology > > > > > > -----Message d'origine----- > > De�: Vincent Massol [mailto:[EMAIL PROTECTED] > > Envoy�: mardi 5 ao�t 2003 14:54 > > ��: 'Cactus Users List' > > Objet�: RE: RE : Maven cactus plugin regression (?) > > > > Strange error. Ok, you've won, I'm installing WL 7.x now... > > > > -Vincent > > > > > -----Original Message----- > > > From: BRUNOT S�bastien [mailto:[EMAIL PROTECTED] > > > Sent: 05 August 2003 14:00 > > > To: 'Cactus Users List' > > > Subject: RE : Maven cactus plugin regression (?) > > > > > > Hi, > > > > > > I've been testing the 3.1-SNAPSHOT from HEAD with maven b10, and > here > > is > > > the > > > resulting > > > Error i get : > > > > > > cactus:init: > > > [mkdir] Created dir: > > > C:\Work\CVS\octotest\modules\moduleStruts\target\test-c > > > actus-reports > > > [mkdir] Created dir: > > > C:\Work\CVS\octotest\modules\moduleStruts\target\test-c > > > actus-reports\weblogic7x > > > > > > cactus:compile: > > > [mkdir] Created dir: > > > C:\Work\CVS\octotest\modules\moduleStruts\target\test-c > > > actus-classes > > > [javac] Compiling 1 source file to > > > C:\Work\CVS\octotest\modules\moduleStruts > > > \target\test-cactus-classes > > > > > > cactus:cactifywar: > > > [cactifywar] Analyzing war: > > > C:\Work\CVS\octotest\modules\moduleStruts\target > > > \moduleStruts.war > > > [cactifywar] Building war: > > > C:\Work\CVS\octotest\modules\moduleStruts\target\ > > > moduleStruts-cactus.war > > > > > > cactus:test: > > > [cactus] > > > ----------------------------------------------------------------- > > > [cactus] Running tests against WebLogic 7.x > > > [cactus] > > > ----------------------------------------------------------------- > > > [cactus] Building jar: > > > C:\DOCUME~1\brunots\LOCALS~1\Temp\cactus\weblogic7x\t > > > estdomain\applications\moduleStruts-cactus.war > > > java.lang.NullPointerException > > > at > > > > org.apache.tools.ant.types.Environment$Variable.setFile(Environment.j > > > ava:97) > > > at > > > > org.apache.cactus.integration.ant.container.AbstractJavaContainer.cre > > > ateSysProperty(AbstractJavaContainer.java:155) > > > at > > > > org.apache.cactus.integration.ant.container.weblogic.WebLogic7xContai > > > ner.startUp(WebLogic7xContainer.java:206) > > > at > > > > org.apache.cactus.integration.ant.container.ContainerRunner$1.run(Con > > > tainerRunner.java:185) > > > at java.lang.Thread.run(Thread.java:479) > > > > > > BUILD FAILED > > > File...... file:/C:/Documents and > > > Settings/brunots/.maven/plugins/maven-cactus-p > > > lugin-3.1-SNAPSHOT/ > > > Element... cactus > > > Line...... 227 > > > Column.... 53 > > > Failed to start the container after more than [180000] ms. > > > Total time: 4 minutes 48 seconds > > > > > > -----Message d'origine----- > > > De : Vincent Massol [mailto:[EMAIL PROTECTED] > > > Envoy� : mardi 5 ao�t 2003 12:35 > > > � : 'Cactus Users List' > > > Cc : [EMAIL PROTECTED] > > > Objet : RE: Maven cactus plugin regression (?) > > > > > > > > > Hi Sebastien, > > > > > > You're right, support for WL7.x has been inadvertently dropped in > > version > > > 3.0 when we moved to the new Cactus/Ant integration. I have added it > > back > > > in > > > version 3.1-SNAPSHOT in CVS HEAD. However, I've not been able to > test > > it > > > as > > > I don't have WL7 on my machine. > > > > > > Do you think you could give it a try? > > > > > > Thanks > > > -Vincent > > > > > > > -----Original Message----- > > > > From: BRUNOT S�bastien [mailto:[EMAIL PROTECTED] > > > > Sent: 01 August 2003 11:23 > > > > To: 'Cactus Users List'; '[EMAIL PROTECTED]' > > > > Subject: Maven cactus plugin regression (?) > > > > > > > > Hi, > > > > > > > > Seems to me that there is a regression in cactus plugin 3.0 : it > was > > > > possible with cactus plugin 2.0 to test the webapp in a Weblogic 7 > > > > container, it doesn't seems to work with the new plugin... > > > > > > > > Anybody else got the same problem ? > > > > > > > > Sebastien BRUNOT > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
