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, then I got a new warning about resource bundles
and such and log_client.properties needed in the classpath, 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):134)
[junit] at
org.apache.cactus.client.WebTestResultParser.dispatch29_parse
(WebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
[junit] at
org.apache.cactus.client.WebTestResultParser.around29_parse(W
ebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):1204)
[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):123)
[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?
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.
Thanks for your help.
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>