Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 93515 invoked from network); 30 Apr 2003 09:08:28 -0000 Received: from mail17.messagelabs.com (62.231.131.67) by daedalus.apache.org with SMTP; 30 Apr 2003 09:08:28 -0000 X-VirusChecked: Checked X-Env-Sender: michael.guyver@camelotinteractive.com X-Msg-Ref: server-10.tower-17.messagelabs.com!1051693664!12054 Received: (qmail 25764 invoked from network); 30 Apr 2003 09:07:44 -0000 Received: from unknown (HELO WATNTMSWEEP02.camelotinteractive.com) (195.190.132.135) by server-10.tower-17.messagelabs.com with SMTP; 30 Apr 2003 09:07:44 -0000 Received: from dc01.camelotinternational.com (unverified) by WATNTMSWEEP02.camelotinteractive.com (Content Technologies SMTPRS 4.3.6) with ESMTP id for ; Wed, 30 Apr 2003 10:06:44 +0100 Received: by DC01 with Internet Mail Service (5.5.2650.21) id ; Wed, 30 Apr 2003 10:05:32 +0100 Message-ID: <60EF6C70DC36D611823600508B8B193EBA8986@DC01> From: Michael Guyver To: 'Cactus Users List' Subject: RE: Error404 in WebSphere 5.0 Server requesting ServletRedirector Date: Wed, 30 Apr 2003 10:05:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Toni, I've had some serious problems using Cactus with WAS 5 running within WSAD. It seems I cannot make the cactus.properties file available to cactus by including it within the classpath, setting the cactus.config system property to point to it or any of the variations using -D options. I've had the same error as you: > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results. This is > probably due to an error that happened on the server side when trying to execute the > tests. Here is what was returned by the server ... > The requested URL /mandeploymantwebapp/ServletRedirector was not found on this server. Using Ant to run the cactus tests worked for me, as I could directly set the values for the various cactus properties *within* the task: If you are going to test your cactus installation using a browser, you'll need to add some properties to the URL to make it action the tests properly: http://localhost:9080/mcguyver-web/ServletTestRedirector?Cactus_AutomaticSes sion=true&Cactus_TestMethod=testConvert&Cactus_TestClass=uk.co.mcguyver.ejb. ConverterTest&Cactus_Service=CALL_TEST http://localhost:9080/mcguyver-web/ServletTestRedirector?Cactus_AutomaticSes sion=true&Cactus_TestMethod=testConvert&Cactus_TestClass=uk.co.mcguyver.ejb. ConverterTest&Cactus_Service=GET_RESULTS Sorry if these aren't too readable, but the keys are: Cactus_AutomaticSession Cactus_TestMethod Cactus_TestClass Cactus_Service = either CALL_TEST or GET_RESULTS Obviously substitute your own context! Hope this helps... Cheers Mike -----Original Message----- From: Anton_Grimm@mn.man.de [mailto:Anton_Grimm@mn.man.de] Sent: 30 April 2003 09:35 To: cactus-user@jakarta.apache.org Subject: Error404 in WebSphere 5.0 Server requesting ServletRedirector I'm working with Cactus 1.4.1 and StrutsTestCase 1.9 in my J2EE 1.3 Struts-Application. My CactusStrutsTestCases are running fine in my WebSphere Studio Application Developer 5.0 environment using Tomcat 4.1.18. Anyway during deployment I run the same testcases against our new WebSphere 5.0 Test-Environment on Linux. The following exception is reported by cactus for all CactusTests: ##### org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results. This is probably due to an error that happened on the server side when trying to execute the tests. Here is what was returned by the server : [ 404 Not Found

Not Found

The requested URL /mandeploymantwebapp/ServletRedirector was not found on this server.


IBM_HTTP_SERVER/1.3.26 Apache/1.3.26 Server at mm009436 Port 8080
] at org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest ##### Trying to access the ServletRedirector with my Browser (InternetExplorer 6.0.26) using http://mm009436:8080/mandeploymantwebapp/ServletRedirector i get an error 500 with the following log-entry: "GET /mandeploymantwebapp/ServletRedirector HTTP/1.1" 500 121 Using a telnet connection to the HTTPServer (IBMHTTPServer 1.3.26) using GET /mandeploymantwebapp/ServletRedirector HTTP/1.1 I get the following (Error 400) in the access-log: "GET /mandeploymantwebapp/ServletRedirector HTTP/1.1" 400 435 When changing the HTTP Version for the request I get an Error 500 "GET /mandeploymantwebapp/ServletRedirector HTTP/1.0" 500 109 Why do I always get different ErrorCodes? Is this a known problem with WebSphere? Does anybody know how to solve this? Thanks for your help. Best regards Toni Grimm --------------------------------------------------------------- Anton Grimm MAN Nutzfahrzeuge AG IDP - Software Produktionsumgebungen Dachauerstr.667 D - 80995 M�nchen Fon: +49-89-1580-1054 Fax: +49-89-1580-911054 mailto: Anton_Grimm@mn.man.de Internet: http://www.man-trucks.com --------------------------------------------------------------- This message and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ********************************************************************** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ********************************************************************** ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________