jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Brunson <charles.brun...@sun.com>
Subject start tomcat target
Date Wed, 01 May 2002 16:08:41 GMT
I'm trying to use Cactus's runservertests task so I've created
a start_tomcat target in my build.xml. I basically copied the
one from the cactus web page.

What I'm finding is that when it starts tomcat it just sits there
because it has no way to background the java process. Am I missing
something here? I'm wondering how others have gotten this to work.

Here's my start_tomcat target:

   <target name="start_tomcat">
     <java classname="org.apache.catalina.startup.Bootstrap" fork="yes"
       <jvmarg value="-Dcatalina.home=${testx.tomcat_home}"/>
       <jvmarg value="-Dcatalina.base=${testx.tomcat_base}"/>
       <arg value="start"/>
         <fileset refid="net-nile.jdk.classpath"/>
         <fileset dir="${testx.tomcat_home}">
           <include name="bin/bootstrap.jar"/>

					Chuck Brunson
					AIM: chuck9206

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

View raw message