struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Khandelwal <akhan...@spikesource.com>
Subject Re: Cactus test hangs annd get Action servlet error
Date Fri, 21 May 2004 00:26:20 GMT
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/struts-dev@jakarta.apache.org/msg13464.html
> 
> You can get older releases of Cactus here:
> 
>    http://archive.apache.org/dist/jakarta/cactus/archive/
> 
> Niall
> 
> ----- Original Message ----- 
> From: "Abhishek Khandelwal" <akhandel@spikesource.com>
> To: "Struts Developers List" <dev@struts.apache.org>
> 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: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org


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


Mime
View raw message