For me, I got class cast exceptions with StringBuffer so this may be the same or lead you to your solution. The IBM JDK with Websphere is 1.2 compliant i think? So anything compiled as 1.4 will not work. I compiled with 1.3 and voila they disappeared. But for actionservlet, I don't know....
I have struts 1.1b application running on Websphere 4.03, you should go up to 03 because there are several fixes that help when deploying struts apps. danny Darren McGuinness wrote: >Hi, > >Have developed a web app using the struts framework, using JBuilder and it >worked fine using TomCat4 within JBuilder. > >Now I need to migrate it to a WebSphere server and I've amended the required >Websphere files/etc but I keep getting this error when starting up the >server.....: > >[9/18/02 16:49:45:444 GMT+01:00] 226a77 WebGroup X Servlet >Error-[action]: Failed to load servlet: java.lang.ClassCastException: >org.apache.struts.action.ActionServlet > at >com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:148) > > at >com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:357) > > at >com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1010) > at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133) > at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234) > at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139) > at >com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:652) > at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36) > at com.ibm.ws.runtime.Server.startModule(Server.java:617) > at >com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333) > at >com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349) > at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884) > at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519) > at java.lang.reflect.Method.invoke(Native Method) > at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158) > > >I'm using WebSphere 4.0.1aed, and struts 1.0 > >any help/advice/suggestions muchos appreciated! > >Cheers > > >-- >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]>