jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@bitfone.com>
Subject RE: Cactus + weblogic 81
Date Fri, 25 Jun 2004 16:01:04 GMT

I have a question about the client-side & server side logging.

I've read
http://jakarta.apache.org/cactus/integration/howto_config.html#logging


But I'm a bit confused.

Is the client-side considered to be in the following:

		<cactus
warfile="${execution.dir}/prismconsole-tests/testwar/console.war" fork="yes"
failureproperty="tests.failed" haltonerror="true">
			<classpath>
				<path refid="project.classpath"/>
				<pathelement
location="${execution.dir}/console-tests/lib/console-test.jar"/>
				<pathelement
location="${execution.dir}/conf/test/client-properties"/>
			</classpath>
			<containerset>
				<generic name="Weblogic 8.1.2.0"
port="${test.port}"/>
			</containerset>
			<formatter type="brief" usefile="false"/>
			<formatter type="xml"/>
			<batchtest>
				<fileset dir="${ test.classes}">
					<include name="**/*.class"/>
				</fileset>
			</batchtest>
		</cactus>


And the server side:

<java classname="weblogic.Server" fork="yes"
dir="${target.weblogic81.dir}/testdomain">
			<classpath>
				<pathelement
location="${weblogic.home.81}/weblogic81/server/lib/weblogic.jar"/>
				<pathelement location="${tools.jar}"/>
				<pathelement location="${oracle.driver}"/>
				<pathelement location="${mysql.driver}"/>
				<pathelement location="${junit-jar}"/>
				<pathelement location="${log4j.jar}"/>
				<pathelement
location="${execution.dir}/conf/test/server-properties"/>
			</classpath>
			<jvmarg value="-hotspot"/>
			<jvmarg value="-ms256m"/>
			<jvmarg value="-mx256m"/>
			<jvmarg
value="-Djava.library.path=${java.library.path};${weblogic.home.81}/weblogic
81/server/bin"/>
			<jvmarg value="-Dweblogic.Name=testserver"/>
			<jvmarg value="-Dbea.home=${weblogic.home.81}"/>
			<jvmarg
value="-Dweblogic.management.username=${weblogic.username}"/>
			<jvmarg
value="-Dweblogic.management.password=${weblogic.password}"/>
			<jvmarg
value="-Djava.security.policy==./server/lib/weblogic.policy"/>
		</java>



If I do it, this what I get:


[java] log4j:ERROR Attempted to append to closed appender named [cactus].




-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com] 
Sent: Friday, June 25, 2004 12:53 AM
To: 'Cactus Users List'
Subject: RE: Cactus + weblogic 81

Hi Bret,

> -----Original Message-----
> From: Bret Kumler [mailto:bkumler@bitfone.com]
> Sent: 25 June 2004 01:51
> To: 'Cactus Users List'
> Subject: Cactus + weblogic 81
> 
> I'm having a problem with the tests not executing.

[snip]

> BUILD FAILED
> file:C:/misc/builds/cactus/build.xml:604: Failed to start the
container
> after mo
> re than [180000] ms. Trying to connect to the
> [http://localhost:7001/prismconsol
> e/ServletRedirector?Cactus_Service=RUN_TEST] test URL yielded a [-1]
error
> code.
>  Please run in debug mode for more details about the error.

Can you please turn on Cactus logging and check the server log file? If
you look hard you'll see the exact error returned by the container. That
will give you the reason of the error. You may also want to check the
weblogic log file itself (located in your target dir).

[snip]

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message