You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by Frank Michael <mu...@yahoo.com> on 2009/02/13 18:12:53 UTC

CACTUS and Weblogic (10)

Hey everyone,

I'm trying to run cactus on weblogic 10. I tried using the generic container as well as the weblogic7x container and both give me the same error:
 Class org.apache.cactus.integration.ant.ContainerSet doesn't support the nested "weblogic7x" element.
Where, of course, weblogic7x is replaced with the "generic" element. Anyone know what might be the problem here? 
My build target looks like this:
 <target name="test">
  <cactus haltonfailure="yes" showoutput="yes" printsummary="on"  earfile="${temp}/../uep.ear" fork="yes">
  <cactusproperty server="false" propertiesFile="../uepWAR/doc/WEB-INF/classes/log4j.properties"/>
  <classpath refid="cactus.classpath"/>
  	<containerset>
  		<weblogic7x  dir="/bea103/wlserver_10.3" tmpdir="/temp" port="7001"/>
 	</containerset>  
  	<test name="uep.test.TestAll" outfile="logs/cactus.output">
   <formatter type="plain"/>
  </test>
  </cactus>
 </target>	

Tests from within eclipse or called by URL work just fine, it's only the ant task I can't seem to get working.

Any help is appreciated,
Michael


      

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


Re: CACTUS and Weblogic (10)

Posted by Petar Tahchiev <pa...@gmail.com>.
Hi Frank,

in order to use cactus with WebSphere you need to use Cargo
(http://cargo.codehaus.org/).

Put this in your containerset:

				<cargo containerId="weblogic10x" output="${logs.dir}/output.log"
log="${logs.dir}/cargo.log" home="[EXACT LOCATION TO YOUR WEBLOGIC
HOME DIRECTORY]">
				<configuration>
						<property name="cargo.servlet.port" value="${cargo.servlet.port}"/>
						<property name="cargo.logging" value="${cargo.logging}"/>
						<deployable type="${cactus.sample.archive.type}"
file="${cactified.servlet.archive.name}"/>
					</configuration>
				</cargo>

and also include the cargo jars in your classpath.

Good luck.

2009/2/13 Frank Michael <mu...@yahoo.com>:
> Hey everyone,
>
> I'm trying to run cactus on weblogic 10. I tried using the generic container as well as the weblogic7x container and both give me the same error:
>  Class org.apache.cactus.integration.ant.ContainerSet doesn't support the nested "weblogic7x" element.
> Where, of course, weblogic7x is replaced with the "generic" element. Anyone know what might be the problem here?
> My build target looks like this:
>  <target name="test">
>  <cactus haltonfailure="yes" showoutput="yes" printsummary="on"  earfile="${temp}/../uep.ear" fork="yes">
>  <cactusproperty server="false" propertiesFile="../uepWAR/doc/WEB-INF/classes/log4j.properties"/>
>  <classpath refid="cactus.classpath"/>
>        <containerset>
>                <weblogic7x  dir="/bea103/wlserver_10.3" tmpdir="/temp" port="7001"/>
>        </containerset>
>        <test name="uep.test.TestAll" outfile="logs/cactus.output">
>   <formatter type="plain"/>
>  </test>
>  </cactus>
>  </target>
>
> Tests from within eclipse or called by URL work just fine, it's only the ant task I can't seem to get working.
>
> Any help is appreciated,
> Michael
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
>
>



-- 
Regards, Petar!
Karlovo, Bulgaria.
- - - - - - - -
| Author @ Manning Publications.
| Senior Solution Architect @ Unic
| BGJUG-Bulgarian Java User Group Leader.
| Apache Maven Developer.
| Apache Jakarta PMC member.
| Jakarta Cactus Lead Developer.
| Codehaus Plexus Developer
| Blogger: http://weblogs.java.net/blog/paranoiabla/
- - - - - - - -
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

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