Greet the sun all: I am having trouble getting off the dime with cactus and my current project. When I invoke the test, I receive the following stack trace:
E Time: 0.891 There was 1 error: 1) testCreate(com.ingenix.hisit.subrotrack.test.SubroPersonTest) java.io.FileNotFoundException: http://127.0.0.1:8080/subrotrack/ServletRedirector at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574) at org.apache.commons.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoReadHttpURLConnection.java:119) at org.apache.commons.cactus.client.ServletHttpClient.doTest(ServletHttpClient.java:123) at org.apache.commons.cactus.ServletTestCase.runGenericTest(ServletTestCase.java:158) at org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:128) at org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java:281) at com.ingenix.hisit.subrotrack.test.SubroPersonTest.main(Unknown Source) What have I done to resolve the issue? 1) the address listed in the stack trace came from the properties file so I know the properties file is in the classpath 2) If I invoke the URL from a browser, I receive the following: 500 Internal Server Error Servlet error: Missing parameter [ServletTestRedirector_Service] in HTTP request. This means that the URL is being resolved to the ServerRedirector and invoked correctly 3) I put some printlns in the ServletHttpClient.doTest method. Within the doTest method, if I look as ServletTestRequest.getURL it is null. If I look at the connection passed to AutoReadHttpURLConnection, I see: sun.net.www.protocol.http.HttpURLConnection:http://127.0.0.1:8080/subrotrack/ServletRedirector I am kinda at a loss on what I am doing wrong. Thoughts? This is my second project with cactus and I had no problems like this on the first project. By the way, I am using Orion 1.5.2 if it makes any difference. -- Perry Hoekstra E-Commerce Architect Talent Software Services [EMAIL PROTECTED]
