I am running on Cactus version 13-1.4.1 Is there some kind of configuration set up, that needs to be done before running the test.?
Here are the steps I am following: 1) Downloaded struts1.1 source code. 2) Downloaded cactus jars - binary distribution 3) set the cactus 13-1.14.1 properties in build.properties 4) ant dist 5) ant test.tomcat.all ( added tomcat50.test code, similar to tomcat41.test) Am I missing anything in between? Abhishek On Thu, 2004-05-20 at 17:28, Niall Pemberton wrote: > I had this problem and got past it by changing the Cactus version - I was > getting this with Cactus version 1.5 - when I went back to Cactus 1.4.1 it > sorted it out. > > >From this message, seems like it was a problem with versions prior to 1.4 as > well. > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg13464.html > > You can get older releases of Cactus here: > > http://archive.apache.org/dist/jakarta/cactus/archive/ > > Niall > > ----- Original Message ----- > From: "Abhishek Khandelwal" <[EMAIL PROTECTED]> > To: "Struts Developers List" <[EMAIL PROTECTED]> > Sent: Thursday, May 20, 2004 11:42 PM > Subject: Cactus test hangs annd get Action servlet error > > > > > > I am running cactus tests on the struts 1.1 release version. > > I am getting the following error while the test run on tomcat5 > > > > After this erro, it tries to exit build-tests.xml and then stop the > > tomcat server and hangs. > > > > Does anyone have idea about this problem? > > > > ===================================================================== > > > > [junit] Testcase: testInitDestroyInternal took 0.23 sec > > [junit] Caused an ERROR > > [junit] Failed to get the test results. This is probably due to an > > error that happened on the server side when trying to execute the tests. > > Here is what was returned by the server : [] > > [junit] org.apache.cactus.util.ChainedRuntimeException: Failed to > > get the test results. This is probably due to an error that happened on > > the server side when trying to execute the tests. Here is what was > > returned by the server : [] > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli > ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):120) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien > t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o > rg/apache/cactus/util/log/LogAspect.aj(1k):104) > > [junit] at > > > org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav > a:260) > > [junit] at > > org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133) > > [junit] at > > org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195) > > [junit] org.apache.cactus.client.ParsingException: Not a valid > > response > > [junit] at > > > org.apache.cactus.client.WebTestResultParser.readRootElement(WebTestResultPa > rser.java;org/apache/cactus/util/log/LogAspect.aj(1k):140) > > [junit] at > > > org.apache.cactus.client.WebTestResultParser.dispatch29_parse(WebTestResultP > arser.java;org/apache/cactus/util/log/LogAspect.aj(1k):101) > > [junit] at > > > org.apache.cactus.client.WebTestResultParser.around29_parse(WebTestResultPar > ser.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) > > [junit] at > > > org.apache.cactus.client.WebTestResultParser.parse(WebTestResultParser.java; > org/apache/cactus/util/log/LogAspect.aj(1k):96) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpClient > .java;org/apache/cactus/util/log/LogAspect.aj(1k):230) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli > ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):114) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien > t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) > > [junit] at > > > org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o > rg/apache/cactus/util/log/LogAspect.aj(1k):104) > > [junit] at > > > org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav > a:260) > > [junit] at > > org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133) > > [junit] at > > org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195) > > > > > > > > > > > > > > > > > > ================================================================== > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]