Hi Jim,
Hey, you are scaring me, all 3 of you saying that you're having problems
with Cactus ! :-)
So I tested it on my machine. I tested with the following confs:
- win 2K
- junit 3.7
- tomcat4.0b5 and tomcat4.0b6
- cactus 1.1 downloaded from the web site
- jdk 1.3
... and it works like a charm ... I have used the sample as provided, using
the provided Ant script.
So it may be that you all have a problem in your classpath or in the war
that you use.
Could you :
1/ Tell me what you have in your war in term of jars and classes
2/ Give me the command line that you use to start Cactus
... so that I can try to reproduce or understand the problem. I really need
to finish the auto-diagnosis tool that I wanted to write ... :-)
Can you also send me the logs client and server (cactus_client.log and
cactus_server.log) (you need to put log4j.jar in both your client JVM
classpath and in your WEB-INF/lib dir of your webapp.
Thanks
-Vincent
----- Original Message -----
From: "Jim Cheesman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 4:46 PM
Subject: Re: FileNotFoundException: ServletRedirector
> I'm getting the same problem too! The url works fine, but as soon as I try
> to run the tests I get a FileNotFoundException:
> <error>
> There was 1 error:
> 1) testResponse(sinfo.jsp.utils.TestGenerateJspServlet)
> java.io.FileNotFoundException:
http://127.0.0.1:8080/sinfo/ServletRedirector
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
> at
>
org.apache.commons.cactus.client.AutoReadHttpURLConnection.getInputStream(Au
toReadHttpURLConnection.java:119)
> at
>
org.apache.commons.cactus.client.ServletHttpClient.doTest(ServletHttpClient.
java:113)
> at
>
org.apache.commons.cactus.ServletTestCase.runGenericTest(ServletTestCase.jav
a:158)
> at
>
org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:128)
> at
>
org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java:281
)
> at sinfo.jsp.utils.JSPUtilsTestSuite.main(JSPUtilsTestSuite.java)
>
> FAILURES!!!
> Tests run: 21, Failures: 0, Errors: 1
> </error>
>
> (This is running the suite off the command line, not via ant...)
>
> Details:
> junit 3.7
> cactus 1.1
> tomcat 4.0b6
> win 2000
> jdk1.3.1
>
>
> Jim
>
> --
>
> * Jim Cheesman *
> Trabajo:
> [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
> Hay fever is
> the real Flower Power.
>
>
>