jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: org.apache.cactus.util.ChainedRuntimeException: Not a valid response
Date Wed, 22 May 2002 08:23:07 GMT
Hi Ken,

I cannot help you a lot here without more details. The most useful thing
at this stage is for you to enable Cactus logging (see the configuration
howto page).

The main reason for a "not a valid response" is that the server is not
accepting the request from the Cactus client side. This can be for a lot
of different reasons : a bad URL defined in cactus.properties, you have
secured some resources, etc. The Cactus log will tell you exactly why it
failed to contact the server.

Thanks
-Vincent

> -----Original Message-----
> From: ken adjei [mailto:kencactus@yahoo.com]
> Sent: 08 May 2002 12:15
> To: cactus-user@jakarta.apache.org
> Subject: org.apache.cactus.util.ChainedRuntimeException: Not a valid
> response
> 
> 
> Hi every one
> 
> I have been trying to run a test on taglib class and everytime i run
the
> test
> 
> I keep getting this same error (error stack below )which I thought
could
> be corrected if you restart the server (tomcat 4)
> 
> however, I keep getting the same error no matter what I do can anyone
> help.
> 
> 1) testDoEndTagStop(TestDemoTag)
> org.apache.cactus.util.ChainedRuntimeException: Not a valid response
>         at
>
org.apache.cactus.client.WebTestResultParser.readRootElement(WebTestResu
lt
> Parser.java;org/apache/cactus/util/log/LogAspect.java(1k):134)
>         at
>
org.apache.cactus.client.WebTestResultParser.dispatch29_parse(WebTestRes
ul
> tParser.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
>         at
>
org.apache.cactus.client.WebTestResultParser.around29_parse(WebTestResul
tP
> arser.java;org/apache/cactus/util/log/LogAspect.java(1k):1204)
>         at
>
org.apache.cactus.client.WebTestResultParser.parse(WebTestResultParser.j
av
> a;org/apache/cactus/util/log/LogAspect.java(1k):96)
>         at
>
org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpCl
ie
> nt.java;org/apache/cactus/util/log/LogAspect.java(1k):231)
>         at
>
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHtt
pC
> lient.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
>         at
>
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpC
li
> ent.java;org/apache/cactus/util/log/LogAspect.java(1k):1204)
>         at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> ;org/apache/cactus/util/log/LogAspect.java(1k):115)
>         at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
45
> 7)
>         at org.apache.cactus.JspTestCase.runTest(JspTestCase.java:113)
>         at
> org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
>         at TestDemoTag.main(TestDemoTag.java:48)
> 2) testDoStartTag(TestDemoTag)
> org.apache.cactus.util.ChainedRuntimeException: Not a valid response
>         at
>
org.apache.cactus.client.WebTestResultParser.readRootElement(WebTestResu
lt
> Parser.java;org/apache/cactus/util/log/LogAspect.java(1k):134)
>         at
>
org.apache.cactus.client.WebTestResultParser.dispatch29_parse(WebTestRes
ul
> tParser.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
>         at
>
org.apache.cactus.client.WebTestResultParser.around29_parse(WebTestResul
tP
> arser.java;org/apache/cactus/util/log/LogAspect.java(1k):1204)
>         at
>
org.apache.cactus.client.WebTestResultParser.parse(WebTestResultParser.j
av
> a;org/apache/cactus/util/log/LogAspect.java(1k):96)
>         at
>
org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpCl
ie
> nt.java;org/apache/cactus/util/log/LogAspect.java(1k):231)
>         at
>
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHtt
pC
> lient.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
>         at
>
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpC
li
> ent.java;org/apache/cactus/util/log/LogAspect.java(1k):1204)
>         at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> ;org/apache/cactus/util/log/LogAspect.java(1k):115)
>         at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
45
> 7)
>         at org.apache.cactus.JspTestCase.runTest(JspTestCase.java:113)
>         at
> org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
>         at TestDemoTag.main(TestDemoTag.java:48)
> 
> FAILURES!!!
> Tests run: 2,  Failures: 0,  Errors: 2
> 
> 
> 
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness


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


Mime
View raw message