[opencms-dev] OpenCms 6.2.3 installed on WebSphere 6 and Dynamic Cache Service enabled

Kauppinen, Arto arto.kauppinen at capgemini.com
Wed Dec 13 14:06:55 CET 2006


Hi,
 
We are trying to install and use OpenCms 6.2.3 on WebSphere ND 6.0.2.5
and Oracle 10g. WebSphere is actually installed as a part of WebSphere
Commerce 6.0 installation. OpenCms installation went quite nicely, I
installed opencms.war and after that I ran the installation wizard.
After installation I copied these JDK 1.4 support files to system. 
 
I have also changed the cache property to "bypass" for these files in
OpenCms: "/system/workplace/commons/property*.jsp",
"/system/workplace/editors/editor_main.jsp",
"/system/workplace/editors/fckeditor/filebrowser/connector.jsp".
 
My problem is that if I enable "Dynamic cache service" in WebSphere
(Application servers>server1>Dynamic cache service), I'll start to
receive "com.ibm.ws.cache.servlet.CacheProxyRequest" errors. Which are
actually "java.lang.ClassCastException" exceptions from that class. This
exception will be raised for example when I try to open "Cache
AdministrationTool" in OpenCms. If I disable "Dynamic cache service"
from WebSphere, then I'll not receive these errors, the problem is that
I need this cache service to be enabled.
 
What I need to do to get OpenCms work with WebSphere and "Dynamic cache
service" enabled?
 
Here is the complete stacktrace:
java.lang.ClassCastException: com.ibm.ws.cache.servlet.CacheProxyRequest
        at
org.opencms.util.CmsRequestUtil.forwardRequest(CmsRequestUtil.java:420)
        at
org.opencms.workplace.tools.CmsToolManager.jspForwardPage(CmsToolManager
..java:496)
        at
org.opencms.workplace.administration.CmsAdminDialog.displayDialog(CmsAdm
inDialog.java:100)
        at
com.ibm._jsp._admin_2D_main._jspService(_admin_2D_main.java:66)
        at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.ja
va:242)
        at
com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:345)
        at
com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:214)
        at
com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:224)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673)
        at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
enericServletWrapper.java:117)
        at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(
JSPExtensionServletWrapper.java:178)
        at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:294)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:409)
        at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.ja
va:730)
        at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1349)
        at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:151)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.ja
va:242)
        at
com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:345)
        at
com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:214)
        at
com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:224)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673)
        at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:89)
        at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
8)
        at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:411)
        at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
LReadCallback.java:101)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:566)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:619)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:952)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
..java:1039)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)

 

Any help would be appreciated.

 

Kind regards,

 

Arto Kauppinen

 



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061213/b718df4e/attachment.htm>


More information about the opencms-dev mailing list