Topic
  • 2 replies
  • Latest Post - ‏2013-03-12T07:50:46Z by MKoestnerOld
SystemAdmin
SystemAdmin
30895 Posts

Pinned topic An exception in the portlet container

‏2013-02-01T17:44:47Z |
Does anybody have any idea how I can get this exception resolved?

After installing the application on WAS server and doing all the configuration for Producer and Consumer on the Portal server, when I try to access the portlet it throws exception and says this portlet is temporarily disabled.

2/1/13 12:30:42:526 EST 0000001a PermissionHan I com.ibm.wps.wsrp.producer.provider.pc.impl.PermissionHandlerImpl init EJPWG1306I: The following security providers listed by their weight order have been initialized: Weight 2147483647: WSRP Security Provider class com.ibm.wps.wsrp.securityprovider.defaultimpl.WASWSRPDefaultSecurityProvider.
2/1/13 12:30:42:587 EST 0000001a PortletInvoke E com.ibm.wps.wsrp.producer.provider.pc.waspc.impl.PortletInvokerImpl invokeGetMarkup() EJPWG1201E: An exception in the portlet container pc.wsrp occurred during portlet invocation.
2/1/13 12:30:42:587 EST 0000001a WSRPEngine E com.ibm.wps.wsrp.producer.impl.WSRPEngine getMarkup EJPWG1201E: An exception in the portlet container {0} occurred during portlet invocation.
com.ibm.wps.wsrp.exception.WSRPException: EJPWG1201E: An exception in the portlet container pc.wsrp occurred during portlet invocation.
at com.ibm.wps.wsrp.producer.provider.pc.waspc.impl.PortletInvokerImpl.invokeGetMarkup(PortletInvokerImpl.java:279)
at com.ibm.wps.wsrp.producer.provider.pc.impl.PortletInvokerImpl.invokeGetMarkup(PortletInvokerImpl.java:77)
at com.ibm.wps.wsrp.producer.impl.WSRPEngine.getMarkup(WSRPEngine.java:493)
at oasis.names.tc.wsrp.v2.bind.WSRP_v2_Markup_Binding_SOAPImpl.getMarkup(WSRP_v2_Markup_Binding_SOAPImpl.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:490)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:433)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:263)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:153)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:263)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:263)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:1131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:344)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:576)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
Caused by: java.lang.ClassCastException: com.ibm.ws.cache.servlet.CacheProxyResponse incompatible with com.ibm.wsspi.webcontainer.servlet.IExtendedResponse
at com.ibm.wps.wsrp.producer.provider.pc.impl.StoredResponse.<init>(StoredResponse.java:114)
at com.ibm.wps.wsrp.producer.provider.pc.impl.StoredResponse.<init>(StoredResponse.java:99)
at com.ibm.wps.wsrp.producer.provider.pc.waspc.impl.PortletInvokerImpl.invokeGetMarkup(PortletInvokerImpl.java:195)
... 47 more
Updated on 2013-03-12T07:50:46Z at 2013-03-12T07:50:46Z by MKoestnerOld
  • SystemAdmin
    SystemAdmin
    30895 Posts

    Re: An exception in the portlet container

    ‏2013-02-07T10:11:59Z  
    Disable portlet fragment caching and servlet caching in appserver. I believe, after doing this, you get rid of this exception
  • MKoestnerOld
    MKoestnerOld
    2 Posts

    Re: An exception in the portlet container

    ‏2013-03-12T07:50:46Z  
    After disabling the setting "Enable Servlet Caching" in the Web Container, the exception no longer occured for me.