> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: 22 April 2002 05:46
> To: Cactus Developers List
> Subject: Issue with the 1.3 release
> 
> I'm trying to simply replace my previous Cactus build with the new
one,
> and
> it has not gone so smoothly.  First, I had to manually tweak my build
file
> to include the AspectJ JAR

yes. See the migration howto on the web site.

> , then I got a new warning about resource
> bundles

yes. There is a change in syntax in Cactus properties file (see the new
Configuration guide on the web site :
http://jakarta.apache.org/cactus/howto_config.html).

> and such and log_client.properties needed in the classpath, 

This should not happen and is not needed. Log_client.properties should
be, as usual in cactus.jar (unless you customized it - check the Config
tutorial on the web site as Cactus should now work better with
application logging).

> so I put the
> conf/test directory in my <junit> classpath and replaced my
> log_client.properties file since keys got renamed.  My build file is
just
> a
> slightly tweaked version of the 1.2 version sample, so its not as
though
> I've got some hand-made pieces.
> 
> Now I'm getting this on my first test case:
> 
> Caused an ERROR
>     [junit] Not a valid response
>     [junit] org.apache.cactus.util.ChainedRuntimeException: Not a
valid
> response
> 
>     [junit]     at
> org.apache.cactus.client.WebTestResultParser.readRootElement(
>
WebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):1
34
> )
>     [junit]     at
> org.apache.cactus.client.WebTestResultParser.dispatch29_parse
>
(WebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):
10
> 1)
>     [junit]     at
> org.apache.cactus.client.WebTestResultParser.around29_parse(W
>
ebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):12
04
> )
>     [junit]     at
> org.apache.cactus.client.WebTestResultParser.parse(WebTestRes
> ultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):96)
>     [junit]     at
> org.apache.cactus.client.AbstractHttpClient.callGetResult(Abs
>
tractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):231)
>     [junit]     at
> org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(
>
AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):12
3)
>     [junit]     at
> org.apache.cactus.client.AbstractHttpClient.around1_doTest(Ab
>
stractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1204
)
>     [junit]     at
> org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHt
> tpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):115)
>     [junit]     at
> org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTes
> tCase.java:457)
> 
> What is going on?
> 

Don't know. The cactus log may give you more. In essence it means that
the client side of cactus could not communicate with the server side.

> I would like to get up and running quickly with the new version, and
am
> disappointed that I've encountered so many little things that I had to
do
> manually just to get to this point.
> 

I'm sorry if it is complex. It wasn't my intention as you might guess. I
think the main error was to not have put a link to the migration guide
in the announcement email. I have resent it with the link. It should
make things easier. There are normally only 2 changes :

- aspectjrt.jar in CPs
- cactus.properties syntax change for defining the redirector

> Thanks for your help.
> 

You're welcome.
-Vincent

>     Erik
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-dev-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to