I don't think that the author is on this list. With that said, it looks like the tutorial is going against an old version of Websphere.
With that said, I would first look at your console to make sure your servlet is starting. Something like this: [12/7/04 12:32:14:468 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: JSP 1.2 Processor: init [12/7/04 12:32:14:531 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: SimpleFileServlet: init [12/7/04 12:32:14:562 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: InvokerServlet: init [12/7/04 12:32:15:031 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: ServletRedirector: init [12/7/04 12:32:15:093 CST] 24b524b5 WebGroup I SRVE0180I: [CactusWeb] [/cactus_test] [Servlet.LOG]: ServletTestRunner: init Then I would look to see if it is hitting the correct port. This is setup in your cactus.properties file. Mine looks like: cactus.contextURL = http://localhost:8080/cactus_test So I need to make sure that port 8080 is open. I verify this by looking at my console. It shows: [12/7/04 12:32:22:343 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 80. [12/7/04 12:32:22:359 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [12/7/04 12:32:22:375 CST] 24b524b5 HttpTransport A SRVE0171I: Transport http is listening on port 9,090. [12/7/04 12:32:22:437 CST] 24b524b5 HttpTransport A SRVE0171I: Transport https is listening on port 9,043. One final note is that you don't need to duplicate the Test in the War and the EJB. Since Websphere's classloader is setup so that the web tier can view the ejb tier, the only thing you need in the web tier is the servlet. This makes it simpler, and by being simpler, makes more people use it. > -----Original Message----- > From: Kaushal Zagade [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 12:39 PM > To: [EMAIL PROTECTED] > Subject: cactus and webphere - urgent please > > > Hello Sheldon, > > I need some help on Jakarta Cactus with wsad 5.1.2 and RAD 6.0. > > I have to test some EJBs with wsad 5.1.2 ( on was 5.1 test > environment) and RAD 6.0 (on WAS 6.0 Test Environment). I found a > tutorial written by Sheldon Wosnick > > http://www-106.ibm.com/developerworks/websphere/techjournal/02 > 06_wosnick/wosnick.html#cactus > > on cactus and WSAD which is very helpful and easy to understand. > After building the three projects as you have mentioned in your > tutorial viz. (EJB, Client, Web) and changing the web.xml and adding > the cactus.properties file I ran the test on WAS 5.1 and WAS 6.0 > server (Test Enviroment - port 9080). > > Started the Server in non-debug mode. > Selected the EJBServletTestCase.java file. > Run => JUnit/Java Application. > > the error it gave was: > > testHelloWorld3(test.EJBServletTestCase): > org.apache.commons.httpclient.HttpRecoverableException:Error in > parsing the status line from the response:unable to find the line > starting with "HTTP". > > same for the other two test cases..... > > > the cactus binaries that i have downloaded are: > > aspectjrt-1.1.1.jar > cactus-1.6.jar > cactus-ant-1.6.jar > commons-httpclient-2.0.jar > commons-logging-1.0.3.jar > httpunit-1.5.4.jar > junit-3.8.1.jar > log4j-1.2.9.jar - (i downloaded it seperately as it did not come in > the zip file for the cactus binaries.) > nekohtml-0.7.4.jar > servletrapi-2.3.jar > > I would really appreciate any help as to what might be going > wrong on my side. > > Thank you. > > Kaushal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
