You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Manish Shah <ms...@mortgagehub.com> on 2002/08/23 18:30:31 UTC

websphere and struts.....classcastexception

I have an existing application running on tomcat/NT and uses struts1.0
 
 
I installed websphere4.0 and got struts struts-1.1-b2......now I get a
class cast exception...on loading the actionservlet....
Please let me know whats going on here......
I know its not the right files somewhere but where....
 
[02.08.23 11:19:02:054 CDT] 55126f65 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(WebAppSer
vletManager.java:148)
            at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(
WebAppServletManager.java:357)
            at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1001
)
            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.jav
a:633)
            at
com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
            at com.ibm.ws.runtime.Server.startModule(Server.java:615)
            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:882)
            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)