[opencms-dev] classloader question again

Publius Ismanescu publiusi at wwdb.org
Tue Feb 11 20:47:40 CET 2003


Hi I posted earlier a message regarding the custom classloader 
CmsClassLoader.

I am working on opencms 4.6.1 to deploy it on Websphere 4. Websphere is 
using their own class loader, so I get a cast exception
inside the OpenCmsHttpServlet.
Do you have any suggestion I can work on?
Thank you


See output bellow:

SRVE0026E: [Servlet Error]-[OpenCmsServlet]: 
java.lang.ClassCastException: com.ibm.ws.classloader.CompoundClassLoader 
    at 
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:462) 
    at com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)     
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:802) 
    at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:141) 
    at 
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:254) 
    at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:107) 
    at 
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388) 
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)     at 
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:84) 
    at 
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:226) 
    at 
com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:287) 
    at 
com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:354) 
    at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:167) 
    at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:51) 
    at 
com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:1145) 
    at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:179) 
    at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67) 
    at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122) 
    at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315) 
    at 
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60) 
    at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323) 
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)     
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)




More information about the opencms-dev mailing list