Hi, I am getting a weird error when trying to run the Sample provided from Cactus site. For simplicity, I am running just one testcase called TestSampleServlet. The error is
java.io.FileNotFoundException: http://localhost:8080/test/ServletRedirector/ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoReadHttpURLConnection.java:127) at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:136) at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422) at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130) at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371) But hold on to your seat, I am getting this error for ONE, just one method i.e. testRequestDispatcher. If I comment it, the testcase suite runs smooth. As I understand, I believe that for running any test method, Cactus would use the URL http://localhost:8080/test/ServletRedirector/ So why is it failing for just one method? I guess this question may be more for Vincent, because I see his name as the author--:)-- It may because of some setting problems too. Please let me know your thoughts. Thanks, Devasish __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
