A note to all websphere users, i just resolved my problems with servlets mapping.
there is a .../WebSphere/AppServer/config/plugin-cfg.xml, make sure all your server and web applications that you installed/configured via the console are visible here. Unfortunately my console did not update this file and I was clueless as to what was going wrong. rajiv -----Original Message----- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 4:58 AM To: [EMAIL PROTECTED] Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2 I am not surprised that you have quite a lot of problems with the parsers. We did also. However, once solved, it works nicely. We follow instructions in: http://jakarta.apache.org/struts/userGuide/installation-was352.html Actually, the 2 core points are: - You must download JAXP 1.0.1 (look for it in the web) for struts 1.0.x. Remove the packages startng with org.w3c.* and make a new package. Otherwise it would conflict with IBM XMl Parser for Java that VAJ ships. For WAS, I think you can install it directly. (Just try). - For Struts 1.1b1, the parser is Xerces 1.4.4. Do the same approach, remove org.w3c.* for VAJ and install directly for WAS. Struts rely on different parser that VAJ or WAS ships so you must include the new packages in your classpath. However, for VAJ, you can not import in the workspace versions of packages already existant, so you must remove them of your parser proyect before import them. - You need also a patch in org.apache.struts.taglib.html.FormTag.doEndTag(). Replace // Remove the page scope attributes we created pageContext.removeAttribute(Constants.BEAN_KEY, PageContext.REQUEST_SCOPE); pageContext.removeAttribute(Constants.FORM_KEY, PageContext.REQUEST_SCOPE); by // Remove the page scope attributes we created pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); pageContext.removeAttribute(Constants.BEAN_KEY); pageContext.removeAttribute(Constants.FORM_KEY); It seems to be a IBM VM bug as it complaints that can not remove attributes from request scope. The fix works fine. Try this things and get back if you are not able to get it working. I think it should. Hope it helps. Regards, Adolfo. >From: [EMAIL PROTECTED] >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2 >Date: Mon, 12 Aug 2002 10:27:37 +0200 > > >Yeah that is what I thought. The problem I have is not with JSPs but with >the >pasers. I get parser exceptions when trying to start up the web application >that >uses Struts if I use 1.1 b1. I assume somewhere my classpath is referring >to the >wrong parser jar files. >Would it be possible to get an overview of your setup ? The paser versions >and >jar files you are using and where in WebSphere you deployed everything ? >Thanks very much >Aisling > > > >|--------+-----------------------> >| | pelly69@hotma| >| | il.com | >| | | >| | 12/08/2002 | >| | 10:07 AM | >| | Please | >| | respond to | >| | struts-user | >| | | >|--------+-----------------------> > > >--------------------------------------------------------------------------- -| > | > | > | To: [EMAIL PROTECTED] > | > | cc: (bcc: Aisling Vasey/scs/Linernet) > | > | Subject: RE: Deploying Struts on WebSphere Application >Server | > | 4.0.2 > | > | > | > > >--------------------------------------------------------------------------- -| > > > > > >Websphere 3.5 does not support JSP 1.1, but starting from patch 3 (I >think), >i.e. Websphere 3.5.3 it does. You can download patchs fropm IBMs web page. >We are actually running Struts 1.1b1, 1.0 and 1.0.2 apps in Websphere >3.5.3. > >Should be not problems with Websphere 3.5.6. > >Regards, > >Adolfo. > > >From: [EMAIL PROTECTED] > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2 > >Date: Mon, 12 Aug 2002 07:52:33 +0200 > > > > > >Hi Keith > >What version of Struts and WebSphere are you using ? I would like to use > >Struts > >1.1 b1 with WebSphere 3.5.6 but was told WebSphere 3.5 won't support >Struts > >1.1 > >b1. > >thanks Aisling > > > > > > > >|--------+-----------------------> > >| | kkamholz@moog| > >| | .com | > >| | | > >| | 09/08/2002 | > >| | 04:36 PM | > >| | Please | > >| | respond to | > >| | struts-user | > >| | | > >|--------+-----------------------> > > > > > >--------------------------------------------------------------------------- -| > > | > > | > > | To: [EMAIL PROTECTED] > > | > > | cc: (bcc: Aisling Vasey/scs/Linernet) > > | > > | Subject: RE: Deploying Struts on WebSphere Application > >Server | > > | 4.0.2 > > | > > | > > | > > > > > >--------------------------------------------------------------------------- -| > > > > > > > > > >Hey, > >I'm using Websphere and haven't really had any problems. However, I've > >only > >been using it for a couple months though since I'm a summer co-op, so I'm > >not exactly the most experienced user. But like I said, I haven't had >any > >problems. > > > >~ Keith > >http://www.buffalo.edu/~kkamholz > > > > > > > >-----Original Message----- > >From: Jung, Eric (Contractor) [mailto:[EMAIL PROTECTED]] > >Sent: Friday, August 09, 2002 10:26 AM > >To: 'Struts Users Mailing List' > >Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2 > > > > > >Jason, > >I'm in the exact same situation. I'm currently writing a Struts app > >and we use Tomcat in development. Production, however, uses WebSphere. > > > >If anyone can shed light on this matter, I'd appreciate it, too. > > > >Eric Jung > > > >-----Original Message----- > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > >Sent: Friday, August 09, 2002 10:22 AM > >To: Struts Users Mailing List > >Subject: Re: Deploying Struts on WebSphere Application Server 4.0.2 > > > > > > > >Hi all, > > > >Is it really that problematic to depoy Struts to WebSphere app servers? I > >don't see many questions posed to this list that involve WS, but when >they > >do, it's always people having one heck of a time getting Struts to work. > > > >This worries me, because I'm currently developing two applications using > >Tomcat, that are expected to eventually deploy to WebSphere. (Hopefully > >version 5, if it's ever released.) > > > >So are there Struts users out there who *aren't* having WebSphere 4 > >compatibility problems? > > > > > >Thanks! > > > > > >Jason > > > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > > > > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > >_________________________________________________________________ >MSN Photos is the easiest way to share and print your photos: >http://photos.msn.com/support/worldwide.aspx > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> <HTML> <HEAD> <TITLE>Adolfo's signature</TITLE> </HEAD> <BODY> <center><b><em>Adolfo Rodriguez Miguelez</em><b></center> </BODY> </HTML> _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>