vmassol 01/08/07 09:50:01 Modified: cactus/conf/sample/build/servlet22 build-tests-tomcat-33.xml Log: provide workaround to stopping tomcat 3.3 when a custom AJP 12 port is used, by using StopTomcat instead of Main and specifying the ajp12 file on the command line. Revision Changes Path 1.3 +4 -5 jakarta-commons/cactus/conf/sample/build/servlet22/build-tests-tomcat-33.xml Index: build-tests-tomcat-33.xml =================================================================== RCS file: /home/cvs/jakarta-commons/cactus/conf/sample/build/servlet22/build-tests-tomcat-33.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build-tests-tomcat-33.xml 2001/08/02 15:02:31 1.2 +++ build-tests-tomcat-33.xml 2001/08/07 16:50:01 1.3 @@ -44,15 +44,14 @@ --> <target name="stop_tomcat_33"> - <java classname="org.apache.tomcat.startup.Main" fork="yes"> + <java classname="org.apache.tomcat.startup.StopTomcat" fork="yes"> <jvmarg value="-Dtomcat.home=${tomcat.home.33}"/> - <arg value="-stop"/> - <arg value="-config"/> - <arg value="${out.tomcat33.full.dir}/conf/server.xml"/> + <arg value="-ajpid"/> + <arg value="${out.tomcat33.full.dir}/conf/ajp12.id"/> <classpath> <pathelement location="${java.home}/../lib/tools.jar"/> <fileset dir="${tomcat.home.33}/lib"> - <include name="tomcat.jar"/> + <include name="stop-tomcat.jar"/> </fileset> </classpath> </java>