xoxomos
asked on
java.lang.classcastexception
What is this telling me? Is it saying the java.lang.classcastexcepti on
cannot be found or is it one or more of the others that the java.lang.classcastexcepti on calls that can't be found? Is java.lang.classcastexcepti on 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-[CSUHDatabaseConnLoa der]: Failed to load servlet: java.lang.ClassCastExcepti on: DatabaseConnLoader
at com.ibm.servlet.engine.web app.WebApp ServletMan ager.loadS ervlet(Web AppServlet Manager.ja va:147)
at com.ibm.servlet.engine.web app.WebApp ServletMan ager.loadA utoLoadSer vlets(WebA ppServletM anager.jav a:357)
at com.ibm.servlet.engine.web app.WebApp .loadServl etManager( WebApp.jav a:1172)
at com.ibm.servlet.engine.web app.WebApp .init(WebA pp.java:14 1)
at com.ibm.servlet.engine.srt .WebGroup. loadWebApp (WebGroup. java:235)
at com.ibm.servlet.engine.srt .WebGroup. init(WebGr oup.java:1 44)
at com.ibm.servlet.engine.Ser vletEngine .addWebApp lication(S ervletEngi ne.java:65 2)
at com.ibm.ws.runtime.WebCont ainer.inst all(WebCon tainer.jav a:36)
at com.ibm.ws.runtime.Server. startModul e(Server.j ava:617)
at com.ibm.ws.runtime.Standar dServer.in itializeMo dules(Stan dardServer .java:333)
at com.ibm.ws.runtime.Standar dServer.in itializeRu ntime0(Sta ndardServe r.java:349 )
at com.ibm.ws.runtime.Server. initialize Runtime(Se rver.java: 884)
at com.ibm.ws.runtime.Standar dServer.ma in(Standar dServer.ja va:519)
at java.lang.reflect.Method.i nvoke(Nati ve Method)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:158 )
cannot be found or is it one or more of the others that the java.lang.classcastexcepti
[5/3/02 16:33:45:814 PDT] 6821c026 WebGroup X Servlet Error-[CSUHDatabaseConnLoa
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.srt
at com.ibm.servlet.engine.srt
at com.ibm.servlet.engine.Ser
at com.ibm.ws.runtime.WebCont
at com.ibm.ws.runtime.Server.
at com.ibm.ws.runtime.Standar
at com.ibm.ws.runtime.Standar
at com.ibm.ws.runtime.Server.
at com.ibm.ws.runtime.Standar
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.web app.Servle tReference : method isJspType()Z not found
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodErro r: com.ibm.servlet.engine.web app.Servle tReference : method isJspType()Z not found
at com.ibm.servlet.engine.web app.WebApp RequestDis patcher.ha ndleWebApp Dispatch(W ebAppReque stDispatch er.java:35 9)
at com.ibm.servlet.engine.web app.WebApp RequestDis patcher.di spatch(Web AppRequest Dispatcher .java:278)
at com.ibm.servlet.engine.web app.WebApp RequestDis patcher.fo rward(WebA ppRequestD ispatcher. java:105)
at com.ibm.servlet.engine.srt .WebAppInv oker.doFor ward(WebAp pInvoker.j ava:67)
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.web
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodErro
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.srt
ASKER
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.web
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodErro
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.web
at com.ibm.servlet.engine.srt