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 42472 invoked from network); 20 Nov 2003 11:55:37 -0000 Received: from unknown (HELO ctsinpunsxib.cts.com) (203.197.89.78) by daedalus.apache.org with SMTP; 20 Nov 2003 11:55:37 -0000 Received: from 10.236.133.100 by ctsinpunsxib.cts.com (InterScan E-Mail VirusWall NT); Thu, 20 Nov 2003 17:15:36 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-2bdd0127-0282-4281-a490-7000b1fd86b3" Subject: RE: Help for using cactus with websphere 4.0 and struts1.0 Date: Thu, 20 Nov 2003 17:15:36 +0530 Message-ID: <9D38C3A371DAD51180700002A540ECAF0710AFEC@ctsinpunsxub.cts.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help for using cactus with websphere 4.0 and struts1.0 Thread-Index: AcOvV1br8NGTgdOrQXe+YzetLWEcCAABCt0Q From: "Patwa, Priyank (Cognizant)" To: "Cactus Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-2bdd0127-0282-4281-a490-7000b1fd86b3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanx Neil, Sorry for troubling u... I have now used all jar's for 1.2 j2ee version and WAS4.0=20 i now get the following error=20 [03.11.20 17:11:57:808 GMT+05:30] 4f4992a2 WebGroup X SRVE0026E: = [Servlet Error]-[ServletTestRunner]: java.lang.ClassCastException: = org.apache.cactus.server.runner.ServletTestRunner at = com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServ= letManager.java:148) at = com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(We= bAppServletManager.java:287) at = com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:354)= at = com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(W= ebAppRequestDispatcherInfo.java:130) at = com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.(WebAppRe= questDispatcherInfo.java:46) at = com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:113= 3) at = com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvok= er.java:118) at = com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cache= dInvocation.java:67) at = com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletR= equestProcessor.java:122) at = com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListe= ner.java:315) at = com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection= .java:60) at = com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:3= 13) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122) -----Original Message----- From: Neil Canham [mailto:neil@knowsense.co.uk] Sent: Thursday, November 20, 2003 4:41 PM To: Cactus Users List Subject: RE: Help for using cactus with websphere 4.0 and struts1.0 Which version of cactus do you have installed? For WAS4.0 you should be using jakarta-cactus-12.zip not the 13 version (12=3DJ2EE 1.2, 13=3DJ2EE 1.3 as supported by WASv5) regards Neil Canham KnowSense Limited Java and WebSphere Education Services ...yet more sense from Know Sense -----Original Message----- From: Patwa, Priyank (Cognizant) [mailto:PPriyank@pun.cognizant.com] Sent: 20 November 2003 09:43 To: Cactus Users List Subject: RE: Help for using cactus with websphere 4.0 and struts1.0 Hi Neil, thanx for immediate reply.Well as i said i have j2ee.jar that has servlet version 2.2 also i have the struts1.0 the problem is the class ServletRequestMapper is in v2.3 and so its = giving me teh error now i tried replacing the j2ee.jar of websphere with the jar from = websphere 5.0 this removes this error but i get a new error for which is somewhat like this: java.lang.Abstr= actMe thodError: com/ibm/servlet/personalization/sessiontracking/SessionData.getServletCon= tex t at hansen.playground.ListDVDAction.execute(ListDVDAction.java:19) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro= ces sor.java:484) at again i find that the method getServletContext is in version2.3 so its = still complicating things. Could u please guide me regarding this? Thanx & Regards, Priyank Patwa. Cognizant Technology Solutions India Pvt. Ltd. Infotech Park, Hinjawadi, Pune 411027, India. Ph. 2931100 extn: 2476 -----Original Message----- From: Neil Canham [mailto:neil@knowsense.co.uk] Sent: Thursday, November 20, 2003 3:03 PM To: Cactus Users List Subject: RE: Help for using cactus with websphere 4.0 and struts1.0 Do you have the correct servlet version of StrutsTestCase? You want the version for Servlet 2.2, struts 1.0 regards Neil Canham KnowSense Limited Java and WebSphere Education Services ...yet more sense from Know Sense -----Original Message----- From: Patwa, Priyank (Cognizant) [mailto:PPriyank@pun.cognizant.com] Sent: 20 November 2003 09:18 To: cactus-user@jakarta.apache.org Subject: Help for using cactus with websphere 4.0 and struts1.0 Hi, I am trying to write a test case for using cactus with websphere = 4.0 and struts1.0. The test case that i have written extends CactusStrutsTestCase. but this gives me a ServletRequestMapper NoClassDefFound error which = is not present in the j2ee.jar of websphere that i have. Is it possible to do the same by using some older version of cactus? or is there any other possible solution? Thanx & Regards, Priyank Patwa. Cognizant Technology Solutions India Pvt. Ltd. Infotech Park, Hinjawadi, Pune 411027, India. Ph. 2931100 extn: 2476 --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org ------=_NextPartTM-000-2bdd0127-0282-4281-a490-7000b1fd86b3 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com ------=_NextPartTM-000-2bdd0127-0282-4281-a490-7000b1fd86b3--