[opencms-dev] ClassCastException org.apache.commons.dbcp.DelegatingResultSet in websphere

Govind R rocks2984 at gmail.com
Fri Sep 25 16:05:12 CEST 2009


Hello All

System Spec:

OpenCms : - 7.0.3
Server : -WebSphere 7.01
DataBase :  Oracle 9i

I have deployed opencms first which deploys properly without any errors.
I have one more my custom application which talks to opencms when i deploy
this custom application it gives be below exception.

 java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingResultSet
incompatible with org.apache.commons.dbcp.DelegatingResultSet
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.oracle.CmsUserDriver.internalUpdateUserInfo(CmsUserDriver.java:161)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.oracle.CmsUserDriver.writeUserInfo(CmsUserDriver.java:126)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.generic.CmsUserDriver.internalWriteUserInfos(CmsUserDriver.java:2606)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.generic.CmsUserDriver.writeUser(CmsUserDriver.java:1891)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.CmsDriverManager.loginUser(CmsDriverManager.java:4623)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.db.CmsSecurityManager.loginUser(CmsSecurityManager.java:2849)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.file.CmsObject.loginUser(CmsObject.java:2222)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.opencms.file.CmsObject.loginUser(CmsObject.java:2205)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.rxx.xx.xxxx.xxxx.abc.TestServlet.init(TestServlet.java:77)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
javax.servlet.GenericServlet.init(GenericServlet.java:241)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:325)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.
servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:165)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1588)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:936)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:857)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:538)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:360)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:292)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:99)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:167)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:722)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:607)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1162)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1312)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4189)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4367)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1317)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2089)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:644)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:613)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1215)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
java.lang.reflect.Method.invoke(Method.java:599)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
java.lang.reflect.Method.invoke(Method.java:599)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1313)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1206)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:564)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
[10/26/09 19:03:47:656 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:207)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:859)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
[10/26/09 19:03:47:671 IST] 00000015 SystemErr     R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Can any one help me....

Thanks and Regards
Rocks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090925/b47da584/attachment.htm>


More information about the opencms-dev mailing list