Title: Sample run in VAJ but...
ServletRedirector is mapped in web.xml (or in test.webapp for VAJava), not in cactus.properties. Apparently Fabrice has "cactus.servletRedirectorURL   = http://localhost:8080/test/ServletRedirector" in it's cactus.properties.
 
I don't know enough about VAJava config. to see what's wrong. I'll let VAJava experts answer ... :)
Thanks
Vincent
----- Original Message -----
From: Kelvin Tan
Sent: Tuesday, July 03, 2001 9:05 AM
Subject: Re: Sample run in VAJ but...

Have you mapped ServletRedirector in your cactus.properties?
----- Original Message -----
Sent: Tuesday, July 03, 2001 3:51 PM
Subject: Sample run in VAJ but...

I have install Cactus on VAJ with the tutorial (VAJ 3.5.3, Cactus 1.1, JUnit 3.7) and run sample tests.

I have only one problem :

1) testRequestDispatcher(org.apache.commons.cactus.sample.TestSampleServlet)
java.io.FileNotFoundException: http://localhost:8080/test/ServletRedirector
        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        java.io.IOException(java.lang.String)
        java.io.FileNotFoundException(java.lang.String)
        java.io.InputStream sun.net.www.protocol.http.HttpURLConnection.getInputStream()
        java.io.InputStream org.apache.commons.cactus.client.AutoReadHttpURLConnection.getInputStream()
        java.net.HttpURLConnection org.apache.commons.cactus.client.ServletHttpClient.doTest(org.apache.commons.cactus.ServletTestRequest)

        void org.apache.commons.cactus.ServletTestCase.runGenericTest(org.apache.commons.cactus.client.AbstractHttpClient)

        void org.apache.commons.cactus.ServletTestCase.runTest()
        void org.apache.commons.cactus.AbstractTestCase.runBare()
        void org.apache.commons.cactus.sample.TestSampleServlet.main(java.lang.String [])

What's wrong ?

Fabien

Reply via email to