From cactus-devjonathan72@example.com Thu May 01 09:51:06 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 74106 invoked from network); 1 May 2003 09:51:03 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:51:03 -0000 Received: (qmail 23139 invoked by uid 97); 1 May 2003 09:53:14 -0000 Delivered-To: jonathan72@example.com Received: (qmail 23132 invoked from network); 1 May 2003 09:53:14 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 09:53:14 -0000 Received: (qmail 72519 invoked by uid 500); 1 May 2003 09:50:35 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 72455 invoked from network); 1 May 2003 09:50:34 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:50:34 -0000 Received: (qmail 78635 invoked by uid 1064); 1 May 2003 09:50:32 -0000 Date: 1 May 2003 09:50:32 -0000 Message-ID: <jonathan72@example.com> From: Vincent Massol <jonathan72@example.com> To: jonathan72@example.com Subject: [GUMP] Build Failure - jakarta-cactus-sample-servlet-13 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ---------------------------------------------------- This email is autogenerated from the output from: <http://cvs.apache.org/builds/gump/2003-05-01/jakarta-cactus-sample-servlet-13.html> ---------------------------------------------------- Build results exceed maximum length. Please see URL above for details. Last 50 lines of build output follows. [java] [junit] at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest$ajcPostAround7(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):119) [java] [junit] at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):1222) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runWebTest(AbstractWebServerTestCase.java:272) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runGenericTest(AbstractWebServerTestCase.java:214) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runTest(AbstractWebServerTestCase.java:287) [java] [junit] at org.apache.cactus.AbstractClientTestCase.runBare(AbstractClientTestCase.java:289) [java] [junit] Testcase: testAddHeaderParamOKTestcase: testAddHeaderParamNotDefined took 0.093 sec [java] [junit] Caused an ERROR [java] [junit] org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" [java] [junit] org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" [java] [junit] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1896) [java] [junit] at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2496) [java] [junit] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1062) [java] [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:599) [java] [junit] at org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect$ajcPostAround9(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):178) [java] [junit] at org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1222) [java] [junit] at org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):202) [java] [junit] at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest$ajcPostAround7(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):119) [java] [junit] at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):1222) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runWebTest(AbstractWebServerTestCase.java:272) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runGenericTest(AbstractWebServerTestCase.java:214) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runTest(AbstractWebServerTestCase.java:287) [java] [junit] at org.apache.cactus.AbstractClientTestCase.runBare(AbstractClientTestCase.java:289) [java] [junit] Testcase: testAddHeaderParamNotDefinedTestcase: testAddFooterParamOK took 0.022 sec [java] [junit] Testcase: testAddFooterParamNotDefined took 0.026 sec [java] [junit] Testcase: testDoFilterOK took 0.03 sec [java] [junit] TEST org.apache.cactus.sample.TestAll FAILED [java] cactus.test.check.result: [java] cactus.check.tomcat4x: [java] cactus.stop.tomcat4x: [java] [java] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). [java] [java] log4j:WARN Please initialize the log4j system properly. [java] [java] Stopping service Tomcat-Standalone [java] [java] HttpConnector[8082] Stopping background thread [java] [java] StandardHost[localhost]: Removing web application at context path /cactustest [java] [java] StandardHost[localhost]: MAPPING configuration error for request URI /cactustest/ServletRedirector [java] BUILD FAILED [java] /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-13/sample/build/cactus-integration-ant/scripts/build-share.xml:276: There were test errors [java] Total time: 1 minute 12 seconds BUILD FAILED /home/rubys/jakarta/jakarta-cactus/samples/servlet/build.xml:313: Java returned: 1 Total time: 1 minute 20 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 09:51:22 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 75224 invoked from network); 1 May 2003 09:51:21 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:51:21 -0000 Received: (qmail 23162 invoked by uid 97); 1 May 2003 09:53:33 -0000 Delivered-To: jonathan72@example.com Received: (qmail 23154 invoked from network); 1 May 2003 09:53:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 09:53:33 -0000 Received: (qmail 72661 invoked by uid 500); 1 May 2003 09:50:40 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 72442 invoked from network); 1 May 2003 09:50:34 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:50:34 -0000 Received: (qmail 78628 invoked by uid 1064); 1 May 2003 09:50:32 -0000 Date: 1 May 2003 09:50:32 -0000 Message-ID: <jonathan72@example.com> From: Vincent Massol <jonathan72@example.com> To: jonathan72@example.com Subject: [GUMP] Build Failure - jakarta-cactus-sample-servlet-12 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ---------------------------------------------------- This email is autogenerated from the output from: <http://cvs.apache.org/builds/gump/2003-05-01/jakarta-cactus-sample-servlet-12.html> ---------------------------------------------------- Buildfile: samples/servlet/build.xml init.display: [echo] ----- Cactus Servlet Sample 20030501 ----- [echo] java.class.path = /home/rubys/jakarta/xml-commons/java/external/build/xml-apis.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar:/home/rubys/jakarta/xml-xerces2/java/build/xercesImpl.jar:.:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/home/rubys/jakarta/ant/dist/lib/ant.jar:/home/rubys/jakarta/ant/dist/lib/ant-jmf.jar:/home/rubys/jakarta/ant/dist/lib/ant-junit.jar:/home/rubys/jakarta/ant/dist/lib/ant-stylebook.jar:/home/rubys/jakarta/ant/dist/lib/ant-swing.jar:/home/rubys/jakarta/ant/dist/lib/ant-trax.jar:/home/rubys/jakarta/ant/dist/lib/ant-xalan2.jar:/home/rubys/jakarta/ant/dist/lib/nodeps.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/core_util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/container_util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/tomcat_modules.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/tomcat.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/tomcat-util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/facade22.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/jasper.jar:/opt/aspectj1.0/lib/aspectjtools.jar:/opt/aspectj1.0/lib/aspectjrt.jar:/opt/aspectj1.0/lib/aspectj-ant.jar:/home/rubys/jakarta/jakarta-cactus/integration/ant/dist-12/bin/cactus-integration-ant/lib/client/cactus-integration-ant-20030501.jar:/home/rubys/jakarta/jakarta-servletapi/dist/lib/servlet.jar:/home/rubys/jakarta/jakarta-log4j/log4j-20030501.jar:/home/rubys/jakarta/jakarta-log4j/log4j-lf5-20030501.jar:/home/rubys/jakarta/jakarta-log4j/log4j-chainsaw-20030501.jar:/home/rubys/jakarta/jakarta-commons/logging/dist/commons-logging.jar:/home/rubys/jakarta/jakarta-commons/logging/dist/commons-logging-api.jar:/home/rubys/jakarta/jakarta-commons/httpclient/dist/commons-httpclient.jar:/home/rubys/jakarta/httpunit/lib/httpunit.jar:/home/rubys/jakarta/dist/junit/junit.jar:/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/jstl.jar:/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/standard.jar:/home/rubys/jakarta/jakarta-cactus/framework/dist-12/lib/cactus-framework.jar:/home/rubys/jakarta/jakarta-cactus/anttasks/dist/lib/cactus-anttasks.jar:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/classes/java:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/classes:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/conf/client" [echo] java.home = /usr/java/j2sdk1.4.1_02/jre [echo] user.home = /home/rubys [echo] ant.home = ${ant.home} init.j2ee.dependent: init.j2ee.find: [echo] j2ee.api = 12 init.j2ee: init.properties.target.j2ee: init.properties.target.noj2ee: init.properties.target: init.properties.dist.j2ee: init.properties.dist.noj2ee: init.properties.dist: init.properties.release.j2ee: init.properties.release.noj2ee: init.properties.release: init.properties.artifact: init.properties: init.common: properties: check.properties: [checkProperty] j2ee.jar = [/home/rubys/jakarta/jakarta-servletapi/dist/lib/servlet.jar] [checkProperty] jstl.jar = [/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/jstl.jar] [checkProperty] standard.jar = [/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/standard.jar] init: [echo] cactus.port (optional) = 8082 [echo] clover.enable (optional) = ${clover.enable} init.checkstyle.check: init.checkstyle: checkstyle: sample.main: [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/lib [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/build [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/java [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/test-cactus [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/webapp [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/build/cactus-integration-ant [copy] Copying 55 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/build/cactus-integration-ant [copy] Copying 5 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/java [copy] Copying 26 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/test-cactus [copy] Copying 2 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @year@ -> 2000-2003 [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @version@ -> 20030501 [copy] Copying 3 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/webapp [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/lib [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/lib [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/lib [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample sample.replace: sample.replace.12: sample.clover: sample.noclover: sample: prepare.dist: [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/dist-12/bin [copy] Copying 95 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/dist-12/bin/cactus-sample-servlet [copy] Copied 6 empty directories to /home/rubys/jakarta/jakarta-cactus/samples/servlet/dist-12/bin/cactus-sample-servlet test.prepare.clover: test.prepare.noclover: test: [java] Buildfile: samples/servlet/target-12/sample/build.xml [java] display.properties: [java] [echo] ----- Cactus Servlet Sample 20030501 ----- [java] [echo] java.class.path = /home/rubys/jakarta/xml-commons/java/external/build/xml-apis.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar:/home/rubys/jakarta/xml-xerces2/java/build/xercesImpl.jar:/home/rubys/jakarta/jakarta-cactus:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/home/rubys/jakarta/ant/dist/lib/ant.jar:/home/rubys/jakarta/ant/dist/lib/ant-jmf.jar:/home/rubys/jakarta/ant/dist/lib/ant-junit.jar:/home/rubys/jakarta/ant/dist/lib/ant-stylebook.jar:/home/rubys/jakarta/ant/dist/lib/ant-swing.jar:/home/rubys/jakarta/ant/dist/lib/ant-trax.jar:/home/rubys/jakarta/ant/dist/lib/ant-xalan2.jar:/home/rubys/jakarta/ant/dist/lib/nodeps.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/core_util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/container_util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/tomcat_modules.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/tomcat.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/tomcat-util.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/facade22.jar:/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/jasper.jar:/opt/aspectj1.0/lib/aspectjtools.jar:/opt/aspectj1.0/lib/aspectjrt.jar:/opt/aspectj1.0/lib/aspectj-ant.jar:/home/rubys/jakarta/jakarta-cactus/integration/ant/dist-12/bin/cactus-integration-ant/lib/client/cactus-integration-ant-20030501.jar:/home/rubys/jakarta/jakarta-servletapi/dist/lib/servlet.jar:/home/rubys/jakarta/jakarta-log4j/log4j-20030501.jar:/home/rubys/jakarta/jakarta-log4j/log4j-lf5-20030501.jar:/home/rubys/jakarta/jakarta-log4j/log4j-chainsaw-20030501.jar:/home/rubys/jakarta/jakarta-commons/logging/dist/commons-logging.jar:/home/rubys/jakarta/jakarta-commons/logging/dist/commons-logging-api.jar:/home/rubys/jakarta/jakarta-commons/httpclient/dist/commons-httpclient.jar:/home/rubys/jakarta/httpunit/lib/httpunit.jar:/home/rubys/jakarta/dist/junit/junit.jar:/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/jstl.jar:/home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/standard.jar:/home/rubys/jakarta/jakarta-cactus/framework/dist-12/lib/cactus-framework.jar:/home/rubys/jakarta/jakarta-cactus/anttasks/dist/lib/cactus-anttasks.jar:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/classes/java:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/classes:/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/conf/client [java] [echo] java.home = /usr/java/j2sdk1.4.1_02/jre [java] [echo] user.home = /home/rubys [java] [echo] ant.home = ${ant.home} [java] [echo] servlet.jar = /home/rubys/jakarta/jakarta-servletapi/dist/lib/servlet.jar [java] [echo] jstl.jar = /home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/jstl.jar [java] [echo] standard.jar = /home/rubys/jakarta/jakarta-taglibs/dist/standard/lib/standard.jar [java] [echo] cactus.port (optional) = 8082 [java] check.properties: [java] init: [java] compile.java: [java] [javac] Compiling 4 source files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/classes/java [java] compile.cactus: [java] cactus.compile: [java] [javac] Compiling 26 source files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/classes [java] [javac] Note: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/src/test-cactus/org/apache/cactus/sample/TestSampleServlet.java uses or overrides a deprecated API. [java] [javac] Note: Recompile with -deprecation for details. [java] compile: [java] war: [java] [war] Building war: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war [java] test: [java] cactus.init: [java] cactus.check.tomcat4x: [java] [echo] ****************************************************** [java] [echo] WARNING : The 'cactus.home.tomcat4x' property has not [java] [echo] been set. No test will be run on that servlet engine. [java] [echo] ****************************************************** [java] cactus.setup.tomcat4x: [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/classes [java] cactus.compile: [java] cactus.copyclasses: [java] [copy] Copying 28 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/classes [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF/lib [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.deploy.tomcat4x: [java] cactus.run.tomcat4x: [java] cactus.init: [java] cactus.check.resin2x: [java] [echo] ****************************************************** [java] [echo] WARNING : The 'cactus.home.resin2x' property has not [java] [echo] been set. No test will be run on that servlet engine. [java] [echo] ****************************************************** [java] cactus.setup.resin2x: [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] cactus.compile: [java] cactus.copyclasses: [java] cactus.deploy.resin2x: [java] cactus.run.resin2x: [java] cactus.init: [java] cactus.check.orion1x: [java] [echo] ****************************************************** [java] [echo] WARNING : The 'cactus.home.orion1x' property has not [java] [echo] been set. No test will be run on that servlet engine. [java] [echo] ****************************************************** [java] cactus.setup.orion1x: [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] cactus.compile: [java] cactus.copyclasses: [java] cactus.deploy.orion1x: [java] cactus.run.orion1x: [java] cactus.init: [java] cactus.check.weblogic6x: [java] [echo] ****************************************************** [java] [echo] WARNING : The 'cactus.home.weblogic6x' property has not [java] [echo] been set. No test will be run on that servlet engine. [java] [echo] ****************************************************** [java] cactus.setup.weblogic6x: [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] cactus.compile: [java] cactus.copyclasses: [java] cactus.deploy.weblogic6x: [java] cactus.run.weblogic6x: [java] cactus.check.weblogic7x: [java] [echo] ****************************************************** [java] [echo] WARNING : The 'cactus.home.weblogic7x' property has not [java] [echo] been set. No test will be run on that servlet engine. [java] [echo] ****************************************************** [java] cactus.init: [java] cactus.setup.weblogic7x: [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] cactus.compile: [java] cactus.copyclasses: [java] cactus.deploy.weblogic7x: [java] cactus.run.weblogic7x: [java] cactus.init: [java] cactus.check.tomcat3x: [java] cactus.setup.tomcat3x: [java] [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/conf [java] [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/work [java] [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/webapps [java] [copy] Copying 3 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/conf [java] [copy] Replacing: @cactus.port@ -> 8082 [java] cactus.war: [java] [unwar] Expanding: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/sample-servlet.war into /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest [java] cactus.war.merge.check: [java] cactus.war.merge.yes: [java] [webxmlmerge] Merged 2 servlet definitions into the descriptor [java] [move] Moving 1 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/cactustest/WEB-INF [java] cactus.war.merge.no: [java] cactus.war.merge: [java] cactus.compile: [java] cactus.copyclasses: [java] cactus.deploy.tomcat3x: [java] [copy] Copying 46 files to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/webapps/cactustest [java] cactus.run.tomcat3x: [java] cactus.runservertests.task.tomcat3x: [java] cactus.runservertests.target.tomcat3x: [java] cactus.check.tomcat3x: [java] cactus.start.tomcat3x: [java] [java] 0 [main] INFO SessionIdGenerator - Opening /dev/urandom [java] [java] 332 [main] INFO ServerXmlReader - Config=$TOMCAT_HOME/conf/server.xml [java] [java] 334 [main] INFO PathSetter - install=/home/rubys/jakarta/jakarta-tomcat/build/tomcat [java] [java] 335 [main] INFO PathSetter - home=/home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x [java] [java] 336 [main] INFO AutoWebApp - Auto-Adding DEFAULT:/cactustest [java] [java] 350 [main] INFO ContextManager - Tomcat configured and in stable state [java] [java] 359 [main] INFO WorkDirSetup - Creating work dir /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/tomcat3x/work/DEFAULT/cactustest [java] [java] 397 [main] INFO ContextManager - Adding DEFAULT:/cactustest [java] [java] 400 [main] INFO Ctx(/cactustest) - Validating web.xml [java] [java] 580 [main] INFO xml.XmlMapper - Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.com/dtd/web-app_2_3.dtd "null" [java] [java] EmbededTomcat: Init time 2008 [java] [java] 1268 [main] INFO Http10Interceptor - Starting on 8082 [java] [java] 1279 [main] INFO Ajp12Interceptor - Starting on 8777 [java] [java] EmbededTomcat: Startup time 127 [java] cactus.test: [java] [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/conf [java] [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/target/cactus/test-cactus-reports [java] cactus.test.text: [java] [junit] Running org.apache.cactus.sample.TestAll [java] [junit] 0 [main] INFO httpclient.HttpMethod - Redirect requested but followRedirects is disabled [java] [java] 8920 [Thread-12] INFO Ctx(/cactustest) - Compiling: /test/test.jsp to test.test_0 [java] [java] 10757 [Thread-11] INFO Ctx(/cactustest) - Compiling: /jspRedirector.jsp to jspRedirector_0 [java] [junit] 2747 [main] WARN httpclient.HttpMethod - Cookie rejected: "$Version=0; responsecookie=this is a response cookie; $Domain=jakarta.apache.org". Illegal domain attribute "jakarta.apache.org". Domain of origin: "localhost" [java] [junit] Tests run: 69, Failures: 4, Errors: 0, Time elapsed: 8.358 sec [java] [junit] Testsuite: org.apache.cactus.sample.TestAll [java] [junit] Tests run: 69, Failures: 4, Errors: 0, Time elapsed: 8.358 sec [java] [junit] ------------- Standard Error ----------------- [java] [junit] Unable to find scripting engine factory class com.meterware.httpunit.javascript.JavaScriptEngineFactory [java] [junit] java.lang.ClassNotFoundException: com.meterware.httpunit.javascript.JavaScriptEngineFactory [java] [junit] JavaScript execution disabled [java] [junit] ------------- ---------------- --------------- [java] [junit] Testcase: testLongProcess took 3.451 sec [java] [junit] Testcase: testLotsOfData took 0.136 sec [java] [junit] Testcase: testGlobalBeginEnd took 0.054 sec [java] [junit] Testcase: testAssertionFailedError took 0.125 sec [java] [junit] Testcase: testExceptionNotSerializable took 0.055 sec [java] [junit] Testcase: testExceptionSerializable took 0.028 sec [java] [junit] Testcase: testComparisonFailure took 0.02 sec [java] [junit] Testcase: testSetUp took 0.058 sec [java] [junit] Testcase: testTearDown took 0.019 sec [java] [junit] Testcase: testSimulatedURLBasics took 0.03 sec [java] [junit] Testcase: testSimulatedURL1 took 0.024 sec [java] [junit] Testcase: testSimulatedURL2 took 0.016 sec [java] [junit] Testcase: testSimulatedURL3 took 0.018 sec [java] [junit] Testcase: testSimulatedURL4 took 0.034 sec [java] [junit] Testcase: testSimulatedURL5 took 0.026 sec [java] [junit] Testcase: testTearDown took 0.025 sec [java] [junit] Testcase: testBasicAuthentication took 0.038 sec [java] [junit] Testcase: testHttpUnitGetText took 0.123 sec [java] [junit] Testcase: testResponseAddHeadersHttpUnit took 0.035 sec [java] [junit] Testcase: testRedirectorOverride1 took 0.028 sec [java] [junit] Testcase: testRedirectorOverride2 took 0.027 sec [java] [junit] Testcase: testRedirectorOverride3 took 0.013 sec [java] [junit] Testcase: testMultiValueParameters took 0.034 sec [java] [junit] Testcase: testSeveralParameters took 0.1 sec [java] [junit] Testcase: testNoAutomaticSessionCreation took 0.023 sec [java] [junit] Testcase: testVerifyJsessionid took 0.025 sec [java] [junit] Testcase: testCreateSessionCookie took 0.039 sec [java] [junit] FAILED [java] [junit] A session should have been created prior to this request [java] [junit] junit.framework.AssertionFailedError: A session should have been created prior to this request [java] [junit] at org.apache.cactus.sample.unit.TestHttpSession.testCreateSessionCookie(Unknown Source) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runServerTest(AbstractWebServerTestCase.java:179) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runBareServerTest(AbstractWebServerTestCase.java:137) [java] [junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:157) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):130) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7$ajcVoidWrapper(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):125) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:570) [java] [junit] at org.apache.tomcat.core.Handler.invoke(Handler.java:322) [java] [junit] at org.apache.tomcat.core.Handler.service(Handler.java:235) [java] [junit] at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:481) [java] [junit] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) [java] [junit] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) [java] [junit] at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) [java] [junit] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) [java] [junit] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [junit] at java.lang.Thread.run(Thread.java:536) [java] [junit] Testcase: testCreateSessionCookieTestcase: testWriteOutputStream took 0.035 sec [java] [junit] Testcase: testGetResponseAsStringMultiLines took 0.016 sec [java] [junit] Testcase: testGetResponseAsStringArrayMultiLines took 0.017 sec [java] [junit] Testcase: testGetReader took 0.016 sec [java] [junit] Testcase: testSetContentType took 0.02 sec [java] [junit] Testcase: testRedirect took 0.082 sec [java] [junit] Testcase: testStatusCode took 0.018 sec [java] [junit] Testcase: testCookieEncoding took 0.045 sec [java] [junit] FAILED [java] [junit] No cookie named 'testcookie' found [java] [junit] junit.framework.AssertionFailedError: No cookie named 'testcookie' found [java] [junit] at org.apache.cactus.sample.unit.TestCookie.testCookieEncoding(Unknown Source) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runServerTest(AbstractWebServerTestCase.java:179) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runBareServerTest(AbstractWebServerTestCase.java:137) [java] [junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:157) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):130) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7$ajcVoidWrapper(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):125) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:570) [java] [junit] at org.apache.tomcat.core.Handler.invoke(Handler.java:322) [java] [junit] at org.apache.tomcat.core.Handler.service(Handler.java:235) [java] [junit] at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:481) [java] [junit] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) [java] [junit] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) [java] [junit] at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) [java] [junit] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) [java] [junit] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [junit] at java.lang.Thread.run(Thread.java:536) [java] [junit] Testcase: testCookieEncodingTestcase: testGetRequestDispatcherFromNamedDispatcherOK took 1.555 sec [java] [junit] Testcase: testGetRequestDispatcherFromNamedDispatcherInvalid took 0.015 sec [java] [junit] Testcase: testGetRequestDispatcherFromRequest1 took 0.031 sec [java] [junit] Testcase: testGetRequestDispatcherFromRequest2 took 0.038 sec [java] [junit] Testcase: testSendMultivaluedHeader took 0.041 sec [java] [junit] Testcase: testSetContentTypeHeader took 0.056 sec [java] [junit] Testcase: testResponseAddHeaders took 0.015 sec [java] [junit] Testcase: testGetPathTranslated took 0.033 sec [java] [junit] Testcase: testSendUserData took 0.017 sec [java] [junit] Testcase: testRemoteClientCheck took 0.012 sec [java] [junit] Testcase: testSetConfigParameter took 0.025 sec [java] [junit] Testcase: testGetServletName took 0.015 sec [java] [junit] Testcase: testGetLogs took 0.015 sec [java] [junit] Testcase: testXXX took 0.016 sec [java] [junit] Testcase: testOut took 0.609 sec [java] [junit] Testcase: testReadServletOutputStream took 0.021 sec [java] [junit] Testcase: testPostMethod took 0.018 sec [java] [junit] Testcase: testGetMethod took 0.013 sec [java] [junit] Testcase: testSetAttribute took 0.015 sec [java] [junit] Testcase: testSetRequestAttribute took 0.013 sec [java] [junit] Testcase: testSendParams took 0.013 sec [java] [junit] Testcase: testSendHeader took 0.012 sec [java] [junit] Testcase: testSendCookie took 0.019 sec [java] [junit] FAILED [java] [junit] Cannot find [testcookie] cookie in request [java] [junit] junit.framework.AssertionFailedError: Cannot find [testcookie] cookie in request [java] [junit] at org.apache.cactus.sample.TestSampleServlet.testSendCookie(Unknown Source) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runServerTest(AbstractWebServerTestCase.java:179) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runBareServerTest(AbstractWebServerTestCase.java:137) [java] [junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:157) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):130) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7$ajcVoidWrapper(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):125) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:570) [java] [junit] at org.apache.tomcat.core.Handler.invoke(Handler.java:322) [java] [junit] at org.apache.tomcat.core.Handler.service(Handler.java:235) [java] [junit] at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:481) [java] [junit] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) [java] [junit] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) [java] [junit] at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) [java] [junit] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) [java] [junit] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [junit] at java.lang.Thread.run(Thread.java:536) [java] [junit] Testcase: testSendCookieTestcase: testSendMultipleCookies took 0.02 sec [java] [junit] FAILED [java] [junit] null [java] [junit] junit.framework.AssertionFailedError [java] [junit] at org.apache.cactus.sample.TestSampleServlet.testSendMultipleCookies(Unknown Source) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runServerTest(AbstractWebServerTestCase.java:179) [java] [junit] at org.apache.cactus.AbstractWebServerTestCase.runBareServerTest(AbstractWebServerTestCase.java:137) [java] [junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:157) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):130) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest$ajcPostAround7$ajcVoidWrapper(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):125) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidWrapper(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k)) [java] [junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1145) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java) [java] [junit] at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:570) [java] [junit] at org.apache.tomcat.core.Handler.invoke(Handler.java:322) [java] [junit] at org.apache.tomcat.core.Handler.service(Handler.java:235) [java] [junit] at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:481) [java] [junit] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) [java] [junit] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) [java] [junit] at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) [java] [junit] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) [java] [junit] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [junit] at java.lang.Thread.run(Thread.java:536) [java] [junit] Testcase: testSendMultipleCookiesTestcase: testReceiveHeader took 0.012 sec [java] [junit] Testcase: testReceiveCookie took 0.025 sec [java] [junit] Testcase: testRequestDispatcherForward took 0.016 sec [java] [junit] Testcase: testRequestDispatcherInclude took 0.013 sec [java] [junit] Testcase: testServletConfig took 0.017 sec [java] [junit] Testcase: testDoStartTag took 0.091 sec [java] [junit] Testcase: testDoStartTagInclude took 0.02 sec [java] [junit] Testcase: testDoEndTagContinue took 0.015 sec [java] [junit] Testcase: testDoEndTagStop took 0.018 sec [java] [junit] Testcase: testReplacement took 0.025 sec [java] [junit] TEST org.apache.cactus.sample.TestAll FAILED [java] cactus.test.check.result: [java] cactus.check.tomcat3x: [java] cactus.stop.tomcat3x: [java] [java] Stopping Tomcat. [java] [java] Stopping tomcat on :8777 null [java] [java] Stop reaper [java] [java] 12894 [Thread-17] INFO ContextManager - Exiting [java] [java] 12900 [Thread-9] ERROR net.PoolTcpEndpoint - Caught exception trying to unlock accept. [java] [java] java.net.ConnectException: Connection refused [java] [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [java] [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) [java] [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] [java] at java.net.Socket.connect(Socket.java:426) [java] [java] at java.net.Socket.connect(Socket.java:376) [java] [java] at java.net.Socket.<init>(Socket.java:291) [java] [java] at java.net.Socket.<init>(Socket.java:119) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:326) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) [java] [java] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) [java] [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [java] at java.lang.Thread.run(Thread.java:536) [java] [java] 12903 [Thread-9] ERROR net.PoolTcpEndpoint - Caught exception trying to close socket. [java] [java] java.lang.NullPointerException [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:338) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) [java] [java] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) [java] [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [java] at java.lang.Thread.run(Thread.java:536) [java] [java] 12903 [Thread-9] WARN net.PoolTcpEndpoint - Reinitializing ServerSocket [java] [java] 12904 [Thread-16] ERROR net.PoolTcpEndpoint - Caught exception trying to unlock accept. [java] [java] java.net.ConnectException: Connection refused [java] [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [java] [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) [java] [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] [java] at java.net.Socket.connect(Socket.java:426) [java] [java] at java.net.Socket.connect(Socket.java:376) [java] [java] at java.net.Socket.<init>(Socket.java:291) [java] [java] at java.net.Socket.<init>(Socket.java:119) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:326) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) [java] [java] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) [java] [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [java] at java.lang.Thread.run(Thread.java:536) [java] [java] 12905 [Thread-16] ERROR net.PoolTcpEndpoint - Caught exception trying to close socket. [java] [java] java.lang.NullPointerException [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:338) [java] [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) [java] [java] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) [java] [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) [java] [java] at java.lang.Thread.run(Thread.java:536) [java] [java] 12905 [Thread-16] WARN net.PoolTcpEndpoint - Reinitializing ServerSocket [java] BUILD FAILED [java] /home/rubys/jakarta/jakarta-cactus/samples/servlet/target-12/sample/build/cactus-integration-ant/scripts/build-share.xml:285: There were test failures [java] Total time: 28 seconds BUILD FAILED /home/rubys/jakarta/jakarta-cactus/samples/servlet/build.xml:313: Java returned: 1 Total time: 37 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 09:51:37 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 75974 invoked from network); 1 May 2003 09:51:36 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:51:36 -0000 Received: (qmail 23190 invoked by uid 97); 1 May 2003 09:53:48 -0000 Delivered-To: jonathan72@example.com Received: (qmail 23183 invoked from network); 1 May 2003 09:53:48 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 09:53:48 -0000 Received: (qmail 73710 invoked by uid 500); 1 May 2003 09:50:56 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 73669 invoked from network); 1 May 2003 09:50:55 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 09:50:55 -0000 Received: (qmail 78790 invoked by uid 1064); 1 May 2003 09:50:54 -0000 Date: 1 May 2003 09:50:54 -0000 Message-ID: <jonathan72@example.com> From: Vincent Massol <jonathan72@example.com> To: jonathan72@example.com Subject: [GUMP] Build Failure - jakarta-cactus-documentation X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ---------------------------------------------------- This email is autogenerated from the output from: <http://cvs.apache.org/builds/gump/2003-05-01/jakarta-cactus-documentation.html> ---------------------------------------------------- Buildfile: documentation/build.xml init.display: [echo] ----- Cactus Documentation 20030501 ----- [echo] java.class.path = /home/rubys/jakarta/xml-commons/java/external/build/xml-apis.jar:/home/rubys/jakarta/xml-xalan/java/build/xalan.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar:/home/rubys/jakarta/xml-xerces2/java/build/xercesImpl.jar:.:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/home/rubys/jakarta/ant/dist/lib/ant.jar:/home/rubys/jakarta/ant/dist/lib/ant-jmf.jar:/home/rubys/jakarta/ant/dist/lib/ant-junit.jar:/home/rubys/jakarta/ant/dist/lib/ant-stylebook.jar:/home/rubys/jakarta/ant/dist/lib/ant-swing.jar:/home/rubys/jakarta/ant/dist/lib/ant-trax.jar:/home/rubys/jakarta/ant/dist/lib/ant-xalan2.jar:/home/rubys/jakarta/ant/dist/lib/nodeps.jar:/home/rubys/jakarta/jakarta-cactus/framework/dist-12/lib/cactus-framework.jar:/home/rubys/jakarta/jakarta-cactus/framework/dist-13/lib/cactus-framework.jar:/home/rubys/jakarta/jakarta-cactus/anttasks/dist/lib/cactus-anttasks.jar:/home/rubys/jakarta/jakarta-cactus/samples/servlet/dist-13/bin/cactus-sample-servlet:/home/rubys/jakarta/jakarta-cactus/samples/servlet/dist-12/bin/cactus-sample-servlet:/home/rubys/jakarta/jakarta-cactus/documentation/target/classes/java" [echo] java.home = /usr/java/j2sdk1.4.1_02/jre [echo] user.home = /home/rubys [echo] ant.home = ${ant.home} init.j2ee.dependent: init.j2ee.find: init.j2ee: init.properties.target.j2ee: init.properties.target.noj2ee: init.properties.target: init.properties.dist.j2ee: init.properties.dist.noj2ee: init.properties.dist: init.properties.release.j2ee: init.properties.release.noj2ee: init.properties.release: init.properties.artifact: init.properties: clean: [delete] Deleting directory /home/rubys/jakarta/jakarta-cactus/documentation/target init.common: properties: init: [echo] clover.enable (optional) = ${clover.enable} doc.prepare: [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/documentation/target/xdocs [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/documentation/target/doc [mkdir] Created dir: /home/rubys/jakarta/jakarta-cactus/documentation/target/doc/images [copy] Copying 70 files to /home/rubys/jakarta/jakarta-cactus/documentation/target/xdocs [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @year@ -> 2000-2003 [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @version@ -> 20030501 [copy] Copying 43 files to /home/rubys/jakarta/jakarta-cactus/documentation/target/doc/images [copy] Copying 2 files to /home/rubys/jakarta/jakarta-cactus/documentation/target/doc/css [copy] Copying 3 files to /home/rubys/jakarta/jakarta-cactus/documentation/target/doc/misc [copy] Copying 1 file to /home/rubys/jakarta/jakarta-cactus/documentation/target/doc [copy] Replacing: @version@ -> 20030501 [copy] Replacing: @today@ -> May 1 2003 doc.validate: [xmlvalidate] dropping /home/rubys/jakarta/jakarta-cactus/documentation/target/classes/java from path as it doesn't exist [xmlvalidate] 9 file(s) have been successfully validated. doc.cvschangelog: doc.generate: [style] Processing /home/rubys/jakarta/jakarta-cactus/documentation/docs/xdocs/sitemap.xml to /home/rubys/jakarta/jakarta-cactus/documentation/target/xdocs/sitemap.xml [style] Loading stylesheet /home/rubys/jakarta/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/sitemap2document.xsl [style] dropping /home/rubys/jakarta/jakarta-cactus/documentation/target/classes/java from path as it doesn't exist [style] Transforming into /home/rubys/jakarta/jakarta-cactus/documentation/target/doc [style] Processing /home/rubys/jakarta/jakarta-cactus/documentation/target/xdocs/writing/howto_testcase_jsp.xml to /home/rubys/jakarta/jakarta-cactus/documentation/target/doc/writing/howto_testcase_jsp.html [style] Loading stylesheet /home/rubys/jakarta/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl [style] dropping /home/rubys/jakarta/jakarta-cactus/documentation/target/classes/java from path as it doesn't exist [style] file:/home/rubys/jakarta/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl:53:52: Warning! Can not load requested doc: Not logged in [style] file:/home/rubys/jakarta/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl:54:36: Warning! Id [howto_testcase_jsp] has no reference in sitemap.xml [style] : Fatal Error! Stylesheet directed termination [style] file:/home/rubys/jakarta/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl:54:36: Fatal Error! Fatal error during transformation Cause: Fatal error during transformation [style] Failed to process /home/rubys/jakarta/jakarta-cactus/documentation/target/xdocs/writing/howto_testcase_jsp.xml BUILD FAILED /home/rubys/jakarta/jakarta-cactus/documentation/build.xml:203: Fatal error during transformation Total time: 12 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 10:52:42 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 38087 invoked from network); 1 May 2003 10:52:42 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 10:52:42 -0000 Received: (qmail 24217 invoked by uid 97); 1 May 2003 10:54:40 -0000 Delivered-To: jonathan72@example.com Received: (qmail 24210 invoked from network); 1 May 2003 10:54:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 10:54:40 -0000 Received: (qmail 37347 invoked by uid 500); 1 May 2003 10:52:32 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 37300 invoked by uid 500); 1 May 2003 10:52:32 -0000 Received: (qmail 37284 invoked from network); 1 May 2003 10:52:31 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 10:52:31 -0000 Received: (qmail 90115 invoked by uid 1355); 1 May 2003 10:52:30 -0000 Date: 1 May 2003 10:52:29 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/documentation/docs/xdocs/integration/browser howto_tomcat.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 03:52:29 Modified: documentation/docs/xdocs/integration/browser howto_tomcat.xml Log: $TOMCAT_HOME -> [tomcat-root] Revision Changes Path 1.3 +9 -9 jakarta-cactus/documentation/docs/xdocs/integration/browser/howto_tomcat.xml Index: howto_tomcat.xml =================================================================== RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/integration/browser/howto_tomcat.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- howto_tomcat.xml 30 Apr 2003 14:08:47 -0000 1.2 +++ howto_tomcat.xml 1 May 2003 10:52:28 -0000 1.3 @@ -57,7 +57,7 @@ <p> Download <link href="http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/">Tomcat</link> 4.0 or greater and unzip it in any directory. Let's call this directory - <code>$TOMCAT_HOME</code>. + <code>[tomcat-root]</code>. </p> </section> @@ -68,7 +68,7 @@ directory in the zip. </p> <p> - Copy the following jars to <code>$TOMCAT_HOME/common/lib</code>: + Copy the following jars to <code>[tomcat-root]/common/lib</code>: </p> <ul> <li> @@ -96,7 +96,7 @@ <section title="Step 3: Modify Tomcat web.xml"> <p> - Edit <code>$TOMCAT_HOME/conf/web.xml</code> and add the following at + Edit <code>[tomcat-root]/conf/web.xml</code> and add the following at the beginning of the file, after the <code>&lt;webapp&gt;</code> tag: </p> <source><![CDATA[ @@ -148,7 +148,7 @@ </p> <source><![CDATA[ -$TOMCAT_HOME/webapps +[tomcat-root]/webapps |_ test |_ WEB-INF |_ classes @@ -157,7 +157,7 @@ <p> Then, create the following <code>SampleServlet.java</code> java source file, compile it and copy the resulting .class file in - <code>$TOMCAT_HOME/webapps/test/WEB-INF/classes</code>. Note that + <code>[tomcat-root]/webapps/test/WEB-INF/classes</code>. Note that you can download the pre-compiled class file <link href="site:code_sample_servlet">here</link>. </p> @@ -187,7 +187,7 @@ We're now read to create our first Cactus test case. Create the following <code>TestSampleServlet.java</code> java source file, compile it and copy the resulting .class file in - <code>$TOMCAT_HOME/webapps/test/WEB-INF/classes</code>. Note that + <code>[tomcat-root]/webapps/test/WEB-INF/classes</code>. Note that you can download the pre-compiled class file <link href="site:code_test_sample_servlet">here</link>. </p> @@ -231,8 +231,8 @@ <p> Time to enjoy our hard work ! Start Tomcat by running - <code>$TOMCAT_HOME/bin/startup.bat</code> (for windows) or - <code>$TOMCAT_HOME/bin/startup.sh</code> (for unix). + <code>[tomcat-root]/bin/startup.bat</code> (for windows) or + <code>[tomcat-root]/bin/startup.sh</code> (for unix). </p> <p> Open a browser and point it at @@ -251,7 +251,7 @@ worry there is a solution. Grab the following <link href="site:code_junit_noframes">junit-noframes.xsl</link> stylesheet used to format JUnitReport Ant task results and drop it in - <code>$TOMCAT_HOME/webapps/test</code>. Then, open a browser and type + <code>[tomcat-root]/webapps/test</code>. Then, open a browser and type <code>http://localhost:8080/test/ServletTestRunner?suite=TestSampleServlet&amp;xsl=junit-noframes.xsl</code>. You should now see the following: </p> --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 11:58:49 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 954 invoked from network); 1 May 2003 11:58:49 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 11:58:49 -0000 Received: (qmail 26128 invoked by uid 97); 1 May 2003 12:00:48 -0000 Delivered-To: jonathan72@example.com Received: (qmail 26121 invoked from network); 1 May 2003 12:00:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 12:00:47 -0000 Received: (qmail 875 invoked by uid 500); 1 May 2003 11:58:47 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 27097 invoked from network); 1 May 2003 10:44:05 -0000 Date: 1 May 2003 10:46:03 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Cc: Subject: DO NOT REPLY [Bug 19509] - Can't run Cactus with Tomcat 5 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19509>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19509 Can't run Cactus with Tomcat 5 ------- Additional Comments From jonathan72@example.com 2003-05-01 10:46 ------- It is not supposed to return. The process is started from a different thread, so it isn't blocking the progress of the build. However, before the build continues, the <runservertests> task polls the testURL expecting a HTTP status < 400. Only then will Ant proceed with the testTarget. Can you verify that Tomcat 5 is correctly started and responding to requests? Running Ant with the -debug option should also give you much detail about what's going on. --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 12:09:35 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 9769 invoked from network); 1 May 2003 12:09:35 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 12:09:35 -0000 Received: (qmail 26366 invoked by uid 97); 1 May 2003 12:11:34 -0000 Delivered-To: jonathan72@example.com Received: (qmail 26359 invoked from network); 1 May 2003 12:11:34 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 12:11:34 -0000 Received: (qmail 9681 invoked by uid 500); 1 May 2003 12:09:33 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 9670 invoked by uid 500); 1 May 2003 12:09:33 -0000 Received: (qmail 9667 invoked from network); 1 May 2003 12:09:33 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 12:09:33 -0000 Received: (qmail 2800 invoked by uid 1355); 1 May 2003 12:09:33 -0000 Date: 1 May 2003 12:09:33 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util AntTaskFactory.java ResourceUtils.java AntLog.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 05:09:32 Modified: integration/ant/src/java/org/apache/cactus/integration/ant Tag: CACTUS_14_ANT_BRANCH AbstractContainer.java AbstractJavaContainer.java CactifyTask.java CactusTask.java Container.java ContainerRunner.java integration/ant/src/java/org/apache/cactus/integration/ant/container Tag: CACTUS_14_ANT_BRANCH Resin2xContainer.java Orion1xContainer.java GenericContainer.java WebLogic7xContainer.java Tomcat4xContainer.java JBoss3xContainer.java Tomcat3xContainer.java integration/ant/src/java/org/apache/cactus/integration/ant/util Tag: CACTUS_14_ANT_BRANCH AntTaskFactory.java ResourceUtils.java AntLog.java Log: Fix copyright year Revision Changes Path No revision No revision 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/AbstractContainer.java Index: AbstractContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/AbstractContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- AbstractContainer.java 27 Apr 2003 10:00:50 -0000 83.161.120.155 +++ AbstractContainer.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/AbstractJavaContainer.java Index: AbstractJavaContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/AbstractJavaContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- AbstractJavaContainer.java 27 Apr 2003 10:00:49 -0000 83.161.120.155 +++ AbstractJavaContainer.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactifyTask.java Index: CactifyTask.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactifyTask.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- CactifyTask.java 30 Apr 2003 15:47:23 -0000 83.161.120.155 +++ CactifyTask.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactusTask.java Index: CactusTask.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactusTask.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- CactusTask.java 30 Apr 2003 16:01:43 -0000 83.161.120.155 +++ CactusTask.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/Container.java Index: Container.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/Container.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- Container.java 27 Apr 2003 10:00:49 -0000 83.161.120.155 +++ Container.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/ContainerRunner.java Index: ContainerRunner.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/ContainerRunner.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- ContainerRunner.java 29 Apr 2003 14:38:56 -0000 83.161.120.155 +++ ContainerRunner.java 1 May 2003 12:09:31 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without No revision No revision 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Resin2xContainer.java Index: Resin2xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Resin2xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- Resin2xContainer.java 27 Apr 2003 10:22:56 -0000 83.161.120.155 +++ Resin2xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Orion1xContainer.java Index: Orion1xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Orion1xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- Orion1xContainer.java 27 Apr 2003 10:22:56 -0000 83.161.120.155 +++ Orion1xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/GenericContainer.java Index: GenericContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/GenericContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- GenericContainer.java 27 Apr 2003 10:22:56 -0000 83.161.120.155 +++ GenericContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/WebLogic7xContainer.java Index: WebLogic7xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/WebLogic7xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- WebLogic7xContainer.java 27 Apr 2003 10:22:57 -0000 83.161.120.155 +++ WebLogic7xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Tomcat4xContainer.java Index: Tomcat4xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Tomcat4xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- Tomcat4xContainer.java 27 Apr 2003 10:22:57 -0000 83.161.120.155 +++ Tomcat4xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/JBoss3xContainer.java Index: JBoss3xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/JBoss3xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- JBoss3xContainer.java 27 Apr 2003 10:22:56 -0000 83.161.120.155 +++ JBoss3xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Tomcat3xContainer.java Index: Tomcat3xContainer.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/Attic/Tomcat3xContainer.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- Tomcat3xContainer.java 27 Apr 2003 10:22:57 -0000 83.161.120.155 +++ Tomcat3xContainer.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without No revision No revision 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/AntTaskFactory.java Index: AntTaskFactory.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/AntTaskFactory.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- AntTaskFactory.java 27 Apr 2003 10:21:55 -0000 83.161.120.155 +++ AntTaskFactory.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/ResourceUtils.java Index: ResourceUtils.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/ResourceUtils.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- ResourceUtils.java 27 Apr 2003 10:21:55 -0000 83.161.120.155 +++ ResourceUtils.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/AntLog.java Index: AntLog.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/util/Attic/AntLog.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- AntLog.java 27 Apr 2003 10:21:55 -0000 83.161.120.155 +++ AntLog.java 1 May 2003 12:09:32 -0000 83.161.120.155 @@ -3,7 +3,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 13:37:17 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 33195 invoked from network); 1 May 2003 13:37:17 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:37:17 -0000 Received: (qmail 28170 invoked by uid 97); 1 May 2003 13:39:17 -0000 Delivered-To: jonathan72@example.com Received: (qmail 28163 invoked from network); 1 May 2003 13:39:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 13:39:16 -0000 Received: (qmail 33115 invoked by uid 500); 1 May 2003 13:37:15 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 33104 invoked by uid 500); 1 May 2003 13:37:15 -0000 Received: (qmail 33101 invoked from network); 1 May 2003 13:37:15 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:37:15 -0000 Received: (qmail 20141 invoked by uid 1355); 1 May 2003 13:37:15 -0000 Date: 1 May 2003 13:37:14 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/integration/ant/src/confs web-app_2_3.dtd web-app_2_2.dtd X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 06:37:14 Modified: integration/ant Tag: CACTUS_14_ANT_BRANCH build.xml Added: integration/ant/src/confs Tag: CACTUS_14_ANT_BRANCH web-app_2_3.dtd web-app_2_2.dtd Log: Add the web-app DTDs with the correct names, so they can both get included with the Ant integration JAR Revision Changes Path No revision No revision 83.161.120.155 +5 -0 jakarta-cactus/integration/ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/build.xml,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- build.xml 29 Apr 2003 15:27:52 -0000 83.161.120.155 +++ build.xml 1 May 2003 13:37:14 -0000 83.161.120.155 @@ -244,6 +244,11 @@ <fileset dir="${target.classes.java.dir}"/> + <zipfileset dir="${src.conf.dir}" + prefix="org/apache/cactus/integration/ant/webxml/resources"> + <include name="web-app_*.*"/> + </zipfileset> + <zipfileset dir="${src.conf.dir}/share" prefix="org/apache/cactus/integration/ant/container/resources"> <include name="**/orion1x/**/*.*"/> No revision No revision 83.161.120.155 +1063 -0 jakarta-cactus/integration/ant/src/confs/Attic/web-app_2_3.dtd 83.161.120.155 +639 -0 jakarta-cactus/integration/ant/src/confs/Attic/web-app_2_2.dtd --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 13:38:05 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 34281 invoked from network); 1 May 2003 13:38:04 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:38:04 -0000 Received: (qmail 28191 invoked by uid 97); 1 May 2003 13:40:04 -0000 Delivered-To: jonathan72@example.com Received: (qmail 28184 invoked from network); 1 May 2003 13:40:04 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 13:40:04 -0000 Received: (qmail 34183 invoked by uid 500); 1 May 2003 13:38:03 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 34172 invoked by uid 500); 1 May 2003 13:38:03 -0000 Received: (qmail 34168 invoked from network); 1 May 2003 13:38:03 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:38:03 -0000 Received: (qmail 20346 invoked by uid 1355); 1 May 2003 13:38:02 -0000 Date: 1 May 2003 13:38:02 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/webxml WebXmlVersion.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 06:38:02 Modified: integration/ant/src/test/org/apache/cactus/integration/ant/webxml Tag: CACTUS_14_ANT_BRANCH TestWebXmlVersion.java integration/ant/src/java/org/apache/cactus/integration/ant/webxml Tag: CACTUS_14_ANT_BRANCH WebXmlVersion.java Log: Add a valueOf(String) method that returns the correct WebXmlVersion instance based on the Public ID Revision Changes Path No revision No revision 83.161.120.155 +2 -2 jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/webxml/Attic/TestWebXmlVersion.java Index: TestWebXmlVersion.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/webxml/Attic/TestWebXmlVersion.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- TestWebXmlVersion.java 30 Apr 2003 15:32:43 -0000 83.161.120.155 +++ TestWebXmlVersion.java 1 May 2003 13:38:02 -0000 83.161.120.155 @@ -151,7 +151,7 @@ { try { - WebXmlVersion.valueOf(null); + WebXmlVersion.valueOf((DocumentType) null); fail("Expected NullPointerException"); } catch (NullPointerException expected) No revision No revision 83.161.120.155 +15 -3 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/webxml/Attic/WebXmlVersion.java Index: WebXmlVersion.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/webxml/Attic/WebXmlVersion.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- WebXmlVersion.java 30 Apr 2003 15:32:43 -0000 83.161.120.155 +++ WebXmlVersion.java 1 May 2003 13:38:02 -0000 83.161.120.155 @@ -203,11 +203,23 @@ */ public static WebXmlVersion valueOf(DocumentType theDocType) { - if (V2_2.getPublicId().equals(theDocType.getPublicId())) + return valueOf(theDocType.getPublicId()); + } + + /** + * Returns the version corresponding to the given public ID. + * + * @param thePublicId The public ID + * @return The version that matches the public ID, or <code>null</code> + * if the ID is not recognized + */ + public static WebXmlVersion valueOf(String thePublicId) + { + if (V2_2.getPublicId().equals(thePublicId)) { return WebXmlVersion.V2_2; } - else if (V2_3.getPublicId().equals(theDocType.getPublicId())) + else if (V2_3.getPublicId().equals(thePublicId)) { return WebXmlVersion.V2_3; } --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 13:39:28 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 35152 invoked from network); 1 May 2003 13:39:28 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:39:28 -0000 Received: (qmail 28232 invoked by uid 97); 1 May 2003 13:41:28 -0000 Delivered-To: jonathan72@example.com Received: (qmail 28225 invoked from network); 1 May 2003 13:41:27 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 13:41:27 -0000 Received: (qmail 35067 invoked by uid 500); 1 May 2003 13:39:26 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 35056 invoked by uid 500); 1 May 2003 13:39:26 -0000 Received: (qmail 35053 invoked from network); 1 May 2003 13:39:26 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:39:26 -0000 Received: (qmail 20690 invoked by uid 1355); 1 May 2003 13:39:26 -0000 Date: 1 May 2003 13:39:26 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant CactifyTask.java WebXmlMergeTask.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 06:39:26 Modified: integration/ant/src/java/org/apache/cactus/integration/ant/webxml Tag: CACTUS_14_ANT_BRANCH WebXmlIo.java integration/ant/src/java/org/apache/cactus/integration/ant Tag: CACTUS_14_ANT_BRANCH CactifyTask.java WebXmlMergeTask.java Log: Entity resolving is back. The web-app DTDs are now included with the Ant integration jar, so no explicit <xmlcatalog> needs to be set up in the build file. Revision Changes Path No revision No revision 83.161.120.155 +77 -8 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/webxml/Attic/WebXmlIo.java Index: WebXmlIo.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/webxml/Attic/WebXmlIo.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- WebXmlIo.java 30 Apr 2003 15:37:03 -0000 83.161.120.155 +++ WebXmlIo.java 1 May 2003 13:39:26 -0000 83.161.120.155 @@ -73,6 +73,8 @@ import org.apache.xml.serialize.XMLSerializer; import org.w3c.dom.Document; import org.w3c.dom.DocumentType; +import org.xml.sax.EntityResolver; +import org.xml.sax.InputSource; import org.xml.sax.SAXException; /** @@ -86,8 +88,65 @@ public class WebXmlIo { + // Inner Classes ----------------------------------------------------------- + + /** + * Implementation of the SAX EntityResolver interface that looks up the + * web-app DTDs from the JAR. This resolver can also wrap around an existing + * entity resolver, delegating to it when it couldn't resolve an entity + * itself. + */ + private static class WebXmlEntityResolver implements EntityResolver + { + + /** + * The nested entity resolver. + */ + private EntityResolver nestedResolver; + + /** + * Constructor. + * + * @param theNestedResolver The resolver to delegate to, or + * <code>null</code> + */ + public WebXmlEntityResolver(EntityResolver theNestedResolver) + { + this.nestedResolver = theNestedResolver; + } + + /** + * @see org.xml.sax.EntityResolver#resolveEntity + */ + public InputSource resolveEntity(String thePublicId, String theSystemId) + throws SAXException, IOException + { + WebXmlVersion version = WebXmlVersion.valueOf(thePublicId); + if (version != null) + { + String fileName = version.getSystemId().substring( + version.getSystemId().lastIndexOf('/')); + InputStream in = this.getClass().getResourceAsStream( + "/org/apache/cactus/integration/ant/webxml/resources" + + fileName); + if (in != null) + { + return new InputSource(in); + } + } + System.err.println("Resource for public ID " + thePublicId + + " not found"); + if (nestedResolver != null) + { + nestedResolver.resolveEntity(thePublicId, theSystemId); + } + return null; + } + + } + // Public Methods ---------------------------------------------------------- - + /** * Creates a new empty deployment descriptor. * @@ -116,13 +175,16 @@ * Parses the deployment descriptor of a web-application archive (WAR). * * @param theWar The web-app archive + * @param theEntityResolver A SAX entity resolver, or <code>null</code> to + * use the default * @return The parsed descriptor * @throws SAXException If the descriptor could not be parsed * @throws ParserConfigurationException If the XML parser was not correctly * configured * @throws IOException If an I/O error occurs */ - public static WebXml parseWebXml(JarFile theWar) + public static WebXml parseWebXml(JarFile theWar, + EntityResolver theEntityResolver) throws SAXException, ParserConfigurationException, IOException { InputStream in = null; @@ -130,7 +192,7 @@ { ZipEntry webXmlEntry = theWar.getEntry("WEB-INF/web.xml"); in = theWar.getInputStream(webXmlEntry); - return parseWebXml(in); + return parseWebXml(in, theEntityResolver); } finally { @@ -152,20 +214,23 @@ * Parses a deployment descriptor stored in a regular file. * * @param theFile The file to parse + * @param theEntityResolver A SAX entity resolver, or <code>null</code> to + * use the default * @return The parsed descriptor * @throws SAXException If the file could not be parsed * @throws ParserConfigurationException If the XML parser was not correctly * configured * @throws IOException If an I/O error occurs */ - public static WebXml parseWebXml(File theFile) + public static WebXml parseWebXml(File theFile, + EntityResolver theEntityResolver) throws SAXException, ParserConfigurationException, IOException { InputStream in = null; try { in = new FileInputStream(theFile); - return parseWebXml(in); + return parseWebXml(in, theEntityResolver); } finally { @@ -187,13 +252,16 @@ * Parses a deployment descriptor provided as input stream. * * @param theInput The input stream + * @param theEntityResolver A SAX entity resolver, or <code>null</code> to + * use the default * @return The parsed descriptor * @throws SAXException If the input could not be parsed * @throws ParserConfigurationException If the XML parser was not correctly * configured * @throws IOException If an I/O error occurs */ - public static WebXml parseWebXml(InputStream theInput) + public static WebXml parseWebXml(InputStream theInput, + EntityResolver theEntityResolver) throws SAXException, ParserConfigurationException, IOException { DocumentBuilderFactory factory = @@ -201,9 +269,10 @@ factory.setValidating(false); factory.setNamespaceAware(false); DocumentBuilder builder = factory.newDocumentBuilder(); + builder.setEntityResolver(new WebXmlEntityResolver(null)); return new WebXml(builder.parse(theInput)); } - + /** * Writes the specified document to a file. * No revision No revision 83.161.120.155 +3 -3 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactifyTask.java Index: CactifyTask.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactifyTask.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- CactifyTask.java 1 May 2003 12:09:31 -0000 83.161.120.155 +++ CactifyTask.java 1 May 2003 13:39:26 -0000 83.161.120.155 @@ -358,7 +358,7 @@ try { WebXml parsedMergeWebXml = - WebXmlIo.parseWebXml(this.mergeWebXml); + WebXmlIo.parseWebXml(this.mergeWebXml, null); merger = new WebXmlMerger(theWebXml); merger.setLog(new AntLog(this)); merger.merge(parsedMergeWebXml); @@ -412,7 +412,7 @@ try { war = new JarFile(this.srcFile); - webXml = WebXmlIo.parseWebXml(war); + webXml = WebXmlIo.parseWebXml(war, null); } catch (SAXException e) { 83.161.120.155 +8 -31 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/WebXmlMergeTask.java Index: WebXmlMergeTask.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/WebXmlMergeTask.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- WebXmlMergeTask.java 30 Apr 2003 15:44:57 -0000 83.161.120.155 +++ WebXmlMergeTask.java 1 May 2003 13:39:26 -0000 83.161.120.155 @@ -59,7 +59,6 @@ import java.io.File; import java.io.IOException; -import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.apache.cactus.integration.ant.util.AntLog; @@ -122,11 +121,6 @@ */ private XMLCatalog xmlCatalog = new XMLCatalog(); - /** - * The factory for JAXP document builders. - */ - private DocumentBuilderFactory factory; - // Public Methods ---------------------------------------------------------- /** @@ -134,10 +128,6 @@ */ public void init() throws BuildException { - this.factory = DocumentBuilderFactory.newInstance(); - this.factory.setValidating(false); - this.factory.setNamespaceAware(false); - this.xmlCatalog.setProject(project); } @@ -167,9 +157,13 @@ || (srcFile.lastModified() > destFile.lastModified()) || (mergeFile.lastModified() > destFile.lastModified())) { - WebXml srcWebXml = WebXmlIo.parseWebXml(this.srcFile); - WebXml mergeWebXml = WebXmlIo.parseWebXml(this.mergeFile); - merge(srcWebXml, mergeWebXml); + WebXml srcWebXml = + WebXmlIo.parseWebXml(this.srcFile, this.xmlCatalog); + WebXml mergeWebXml = + WebXmlIo.parseWebXml(this.mergeFile, this.xmlCatalog); + WebXmlMerger merger = new WebXmlMerger(srcWebXml); + merger.setLog(new AntLog(this)); + merger.merge(mergeWebXml); WebXmlIo.writeWebXml(srcWebXml, this.destFile); } else @@ -274,21 +268,4 @@ this.indent = isIndent; } - // Private Methods --------------------------------------------------------- - - /** - * Merges the merge descriptor with the original descriptor. - * - * @param theSrcWebXml The original descriptor - * @param theMergeWebXml The descriptor to merge in - * @throws BuildException If the operation fails - */ - private void merge(WebXml theSrcWebXml, WebXml theMergeWebXml) - throws BuildException - { - WebXmlMerger merger = new WebXmlMerger(theSrcWebXml); - merger.setLog(new AntLog(this)); - merger.merge(theMergeWebXml); - } - } --------------------------------------------------------------------- To unsubscribe, e-mail: jonathan72@example.com For additional commands, e-mail: jonathan72@example.com From cactus-devjonathan72@example.com Thu May 01 13:55:09 2003 Return-Path: <cactus-devjonathan72@example.com> Delivered-To: jonathan72@example.com Received: (qmail 69234 invoked from network); 1 May 2003 13:55:08 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:55:08 -0000 Received: (qmail 28659 invoked by uid 97); 1 May 2003 13:57:08 -0000 Delivered-To: jonathan72@example.com Received: (qmail 28652 invoked from network); 1 May 2003 13:57:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 May 2003 13:57:08 -0000 Received: (qmail 67120 invoked by uid 500); 1 May 2003 13:54:39 -0000 Mailing-List: contact jonathan72@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:jonathan72@example.com> List-Subscribe: <mailto:jonathan72@example.com> List-Help: <mailto:jonathan72@example.com> List-Post: <mailto:jonathan72@example.com> List-Id: "Cactus Developers List" <cactus-dev.jakarta.apache.org> Reply-To: "Cactus Developers List" <jonathan72@example.com> Delivered-To: mailing list jonathan72@example.com Received: (qmail 67082 invoked by uid 500); 1 May 2003 13:54:38 -0000 Received: (qmail 67047 invoked from network); 1 May 2003 13:54:38 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2003 13:54:38 -0000 Received: (qmail 24194 invoked by uid 1355); 1 May 2003 13:54:38 -0000 Date: 1 May 2003 13:54:38 -0000 Message-ID: <jonathan72@example.com> From: jonathan72@example.com To: jonathan72@example.com Subject: cvs commit: jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant CactusTask.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cmlenz 2003/05/01 06:54:38 Modified: integration/ant/src/java/org/apache/cactus/integration/ant Tag: CACTUS_14_ANT_BRANCH CactusTask.java Log: Set the Log on every container. Revision Changes Path No revision No revision 83.161.120.155 +2 -1 jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactusTask.java Index: CactusTask.java =================================================================== RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/Attic/CactusTask.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- CactusTask.java 1 May 2003 12:09:31 -0000 83.161.120.155 +++ CactusTask.java 1 May 2003 13:54:38 -0000 83.161.120.155 @@ -372,6 +372,7 @@
{'source': 'Apache Software Foundation Public Mail Archives'}