Link to home
Start Free TrialLog in
Avatar of xoxomos
xoxomos

asked on

java.lang.classcastexception

What is this telling me?  Is it saying the java.lang.classcastexception
cannot be found or is it one or more of the others that the java.lang.classcastexception calls that can't be found? Is java.lang.classcastexception not part of the base java package?  What are all those com.ibm.servlet things for?
[5/3/02 16:33:45:814 PDT] 6821c026 WebGroup      X Servlet Error-[CSUHDatabaseConnLoader]: Failed to load servlet: java.lang.ClassCastException: DatabaseConnLoader
     at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:147)
     at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:357)
     at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1172)
     at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:141)
     at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:235)
     at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:144)
     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)
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xoxomos
xoxomos

ASKER

The com.ibm.servlet things are from Visual Age java's Websphere Test Environment.  I compiled a bunch of servlets using VAJava then tried moving to WebSphere Application Server.  I get exceptions then have to import these packages from WTE to Websphere to get to the next exception. Finally added entire WTE as part of classpath but now its calling for a method in a class, but the method does not exist in that class.
Got a whole bunch of questions over in the Websphere section you might understand.  Will be putting this out as question later.
Error Message: com.ibm.servlet.engine.webapp.ServletReference: method isJspType()Z not found
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodError: com.ibm.servlet.engine.webapp.ServletReference: method isJspType()Z not found
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:359)
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
     at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
     
Avatar of xoxomos

ASKER

The com.ibm.servlet things are from Visual Age java's Websphere Test Environment.  I compiled a bunch of servlets using VAJava then tried moving to WebSphere Application Server.  I get exceptions then have to import these packages from WTE to Websphere to get to the next exception. Finally added entire WTE as part of classpath but now its calling for a method in a class, but the method does not exist in that class.
Got a whole bunch of questions over in the Websphere section you might understand.  Will be putting this out as question later.
Error Message: com.ibm.servlet.engine.webapp.ServletReference: method isJspType()Z not found
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodError: com.ibm.servlet.engine.webapp.ServletReference: method isJspType()Z not found
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:359)
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
     at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
     at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)