[opencms-dev] websphere deployment
Publius Ismanescu
publiusi at wwdb.org
Mon Feb 10 16:28:37 CET 2003
Sorry , I forgot to mention the environment I use:
Opencms 4.6.1
Websphere 4.0.1
I have to use opencms 4.6.1., the opencms 5.0 is using Servlet 2.3 API
and I cannot deploy in Websphere, as you mentioned.
I still believe is something with the classloaders.
Thank you
Publius
Oliver.Ruppert at gmx.de wrote:
>Hi,
>
>as I see in your mail, you use the WAS 4.0.1 with Java 1.3.
>All what I listen from the mailing list is, that OpenCms 5.x
>needs J2SDK 1.4.x. Even WebSphere® Application Server, Version 5.0
>only supports JDK 1.3. So I think a possible solution is to
>change the used JDK in Websphere.
>
>Oliver
>
>
>
>>Hi
>>
>>I 'm working opencms on websphere.
>>I created the war file with the Application Assembly Tool;
>>
>>Is there anybody who knows about the CmsClassLoader class?
>>It looks like websphere is using a different class loader.
>>Please advise on what should I look into to solve this.
>>I'm planning to post the final instruction for deployment on Websphere.(
>>when it works :-) )
>>
>>Here is the output I get on websphere:
>>
>>Thank you
>>Publius
>>
>>
>>************ Start Display Current Environment ************
>>WebSphere AE 4.0.1 a0131.07 running with process name pcmi-server/Default
>>Server and process id 2552
>>Host Operating System is Windows 2000, version 5.0
>>Java version = J2RE 1.3.0 IBM build cn130-20010609 (JIT enabled: jitc),
>>Java
>>Compiler = jitc
>>server.root = C:\WebSphere\AppServer
>>Java Home = C:\WebSphere\AppServer\java\jre
>>ws.ext.dirs =
>>
>>
>>
>C:/PROGRA~1/SQLLIB/java/db2java.zip;C:/WebSphere/AppServer/java/lib;C:/WebSp
>
>
>here/AppServer/classes;C:/WebSphere/AppServer/lib;C:/WebSphere/AppServer/lib
>
>
>>/ext;C:/PROGRA~1/SQLLIB/java/db2java.zip
>>Classpath =
>>C:/WebSphere/AppServer/properties;C:/WebSphere/AppServer/lib/bootstrap.jar
>>Java Library path =
>>
>>
>>
>C:\WebSphere\AppServer\java\bin;.;C:\WINNT\System32;C:\WINNT;C:\\WebSphere\\
>
>
>AppServer\\bin;C:\\PROGRA~1\\SQLLIB\\bin;C:\\PROGRA~1\\SQLLIB\\function;C:\\
>
>
>>WebSphere\\AppServer\\java\\bin;C:\IBMDebug\bin;C:\Program
>>
>>
>>
>Files\ibm\gsk5\lib;C:\WINNT\System32;F:\Perl\bin;C:\WINNT\system32;C:\WINNT;
>
>
>>C:\WINNT\System32\Wbem;F:\epoc32\gcc\bin;F:\epoc32\tools;D:\Program
>>Files\Embarcadero\Nov2002Shared;C:\Program Files\Common Files\Adaptec
>>Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program
>>Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program
>>
>>
>>
>Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\WebSphere\AppServer\bin;D:\GNU\Wi
>
>
>>nCvs 1.2;c:\ant-1.5.1\bin;C:\PROGRA~1\SQLLIB\java;
>>Current trace specification =
>>************* End Display Current Environment *************
>>[03.02.07 16:20:26:168 EST] 148790ba Server U Version : 4.0.1
>>[03.02.07 16:20:26:188 EST] 148790ba Server U Edition: Advanced
>>Edition for Multiplatforms
>>[03.02.07 16:20:26:198 EST] 148790ba Server U Build date: Thu Aug
>>09
>>00:00:00 EDT 2001
>>[03.02.07 16:20:26:198 EST] 148790ba Server U Build number:
>>a0131.07
>>[03.02.07 16:20:28:561 EST] 148790ba DrAdminServer I WSVR0053I: DrAdmin
>>available on port 3979
>>[03.02.07 16:20:31:536 EST] 493190bc ResourceBinde I WSVR0049I: Binding
>>SampleDataSource as jdbc/SampleDataSource
>>[03.02.07 16:20:34:500 EST] 493190bc EJBEngine I WSVR0037I: Starting
>>EJB
>>jar: Increment Bean Jar
>>[03.02.07 16:20:36:953 EST] 493190bc EJBEngine I WSVR0037I: Starting
>>EJB
>>jar: BeenThere EJB Jar
>>[03.02.07 16:20:37:454 EST] 493190bc ServletEngine A SRVE0161I: IBM
>>WebSphere Application Server - Web Container. Copyright IBM Corp.
>>1998-2001
>>[03.02.07 16:20:37:514 EST] 493190bc ServletEngine A SRVE0162I: Servlet
>>Specification Level: 2.2
>>[03.02.07 16:20:37:524 EST] 493190bc ServletEngine A SRVE0163I: Supported
>>JSP Specification Level: 1.1
>>[03.02.07 16:20:37:685 EST] 493190bc ServletEngine A SRVE0167I: Session
>>Manager is Configured - Initializing...
>>[03.02.07 16:20:39:187 EST] 493190bc CacheManager A DYNA0011E: Servlet
>>cache file dynacache.xml not found; caching is disabled
>>[03.02.07 16:20:39:397 EST] 493190bc ServletEngine A SRVE0169I: Loading
>>Web
>>Module: Default Application.
>>[03.02.07 16:20:40:178 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: JSP 1.1 Processor: init
>>[03.02.07 16:20:40:418 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: InvokerServlet: init
>>[03.02.07 16:20:40:549 EST] 493190bc ServletEngine A SRVE0169I: Loading
>>Web
>>Module: Examples Application.
>>[03.02.07 16:20:40:929 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: JSP 1.1 Processor: init
>>[03.02.07 16:20:40:949 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: SimpleFileServlet: init
>>[03.02.07 16:20:40:979 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: DirectoryBrowsingServlet: init
>>[03.02.07 16:20:41:340 EST] 493190bc ServletEngine A SRVE0169I: Loading
>>Web
>>Module: opencms.
>>[03.02.07 16:20:43:222 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: JSP 1.1 Processor: init
>>[03.02.07 16:20:43:243 EST] 493190bc WebGroup I SRVE0091I: [Servlet
>>LOG]: SimpleFileServlet: init
>>[03.02.07 16:20:43:443 EST] 493190bc HttpTransport A SRVE0171I: Transport
>>http is listening on port 9,080.
>>[03.02.07 16:20:43:473 EST] 493190bc Server A WSVR0023I: Server
>>Default Server open for e-business
>>[03.02.07 16:32:35:256 EST] 78a610be SystemOut U Collecting
>>Repositories
>>[03.02.07 16:32:35:377 EST] 78a610be SystemOut U oclib folder:
>>
>>
>>
>C:\WebSphere\AppServer\installedApps\OpenCms.ear\wasopencms.war\WEB-INF\ocli
>
>
>>b
>>[03.02.07 16:32:35:377 EST] 78a610be SystemOut U jarlist
>>[03.02.07 16:32:36:348 EST] 78a610be WebGroup I SRVE0091I: [Servlet
>>LOG]: OpenCmsServlet: init
>>[03.02.07 16:32:45:341 EST] 78a610be ServletInstan X SRVE0100E: Did not
>>realize init() exception thrown by servlet OpenCmsServlet:
>>javax.servlet.ServletException: com.ibm.ws.classloader.CompoundClassLoader
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.ja
>
>
>>va:817)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
>
>
>>rvlet.java:137)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
>
>
>>eServlet.java:243)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
>
>
>>vlet.java:103)
>> 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(WebAppServlet
>
>
>>Manager.java:226)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAp
>
>
>>pServletManager.java:287)
>> at
>>com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:354)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebA
>
>
>>ppRequestDispatcherInfo.java:130)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.<init>(WebAppReque
>
>
>>stDispatcherInfo.java:46)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:1133)
>
>
>> at
>>
>>
>>
>com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
>
>
>>java:118)
>> at
>>
>>
>>
>com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
>
>
>>vocation.java:67)
>> at
>>
>>
>>
>com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
>
>
>>estProcessor.java:122)
>> at
>>
>>
>>
>com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
>
>
>>.java:315)
>> at
>>
>>
>>
>com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
>
>
>>va:60)
>> at
>>
>>
>>
>com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
>
>
>> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
>> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
>>
>>[03.02.07 16:32:46:993 EST] 78a610be WebGroup X Servlet
>>Error-[OpenCmsServlet]: Failed to load servlet:
>>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.ja
>
>
>>va:802)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
>
>
>>rvlet.java:137)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
>
>
>>eServlet.java:243)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
>
>
>>vlet.java:103)
>> 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(WebAppServlet
>
>
>>Manager.java:226)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAp
>
>
>>pServletManager.java:287)
>> at
>>com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:354)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebA
>
>
>>ppRequestDispatcherInfo.java:130)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.<init>(WebAppReque
>
>
>>stDispatcherInfo.java:46)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:1133)
>
>
>> at
>>
>>
>>
>com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
>
>
>>java:118)
>> at
>>
>>
>>
>com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
>
>
>>vocation.java:67)
>> at
>>
>>
>>
>com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
>
>
>>estProcessor.java:122)
>> at
>>
>>
>>
>com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
>
>
>>.java:315)
>> at
>>
>>
>>
>com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
>
>
>>va:60)
>> at
>>
>>
>>
>com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
>
>
>> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
>> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
>>
>>[03.02.07 16:32:47:173 EST] 78a610be WebGroup X 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.ja
>
>
>>va:802)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
>
>
>>rvlet.java:137)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
>
>
>>eServlet.java:243)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
>
>
>>vlet.java:103)
>> 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(WebAppServlet
>
>
>>Manager.java:226)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAp
>
>
>>pServletManager.java:287)
>> at
>>com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:354)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebA
>
>
>>ppRequestDispatcherInfo.java:130)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.<init>(WebAppReque
>
>
>>stDispatcherInfo.java:46)
>> at
>>
>>
>>
>com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:1133)
>
>
>> at
>>
>>
>>
>com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
>
>
>>java:118)
>> at
>>
>>
>>
>com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
>
>
>>vocation.java:67)
>> at
>>
>>
>>
>com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
>
>
>>estProcessor.java:122)
>> at
>>
>>
>>
>com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
>
>
>>.java:315)
>> at
>>
>>
>>
>com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
>
>
>>va:60)
>> at
>>
>>
>>
>com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
>
>
>> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
>> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
>>
>>
>>
>
>
>
More information about the opencms-dev
mailing list