Topic
  • 2 replies
  • Latest Post - ‏2013-02-14T08:56:07Z by SalimReggae
SalimReggae
SalimReggae
66 Posts

Pinned topic Event processing problem with JSF 1.2, WebSphere Portal 8.0

‏2013-02-14T07:39:12Z |
Hi,

We have a portlet which is firing an event and another portal page is processing this event. It is working for similar portlets but just one of them is giving following error and not working. The navigation rule is working but the page is opening as empty.
We tried this portlet in our test environment which is Portal 8.0 and RAD version is 8.5.1. How can we fix this issue?

EventQueueMan E com.ibm.wps.pe.pc.waspc.event.EventQueueManager processEventLoop EJPPG1122E: Portal uygulamac??? olaylar? i?lenirken hata olu?tu.
java.lang.IllegalArgumentException
at java.sql.Date.getHours(Date.java:79)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.ValueWriter.writeDate(ValueWriter.java:895)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.ValueWriter.writeDateElem(ValueWriter.java:941)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationContext.writeDateValue(SerializationContext.java:643)
at com.ipms.model.Correspondence_JAXB_Serialization_Stub.write(com.ipms.model.Correspondence_JAXB_Serialization_Stub.java)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationStub.writeJAXBElementCommon(SerializationStub.java:218)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationStub.writeRootJAXBElement(SerializationStub.java:188)
at com.ibm.xml.xlxp2.jaxb.marshal.JAXB_Serialization_Root_Stub.write(com.ibm.xml.xlxp2.jaxb.marshal.JAXB_Serialization_Root_Stub.java)
at com.ibm.xml.xlxp2.jaxb.marshal.MarshallerImpl.marshal(MarshallerImpl.java:164)
at com.ibm.wsspi.portletcontainer.util.EventFactory.serializeJAXB(EventFactory.java:295)
at com.ibm.wsspi.portletcontainer.util.EventFactory.serializeJAXB(EventFactory.java:166)
at com.ibm.wps.propertybroker.standard.filter.JsrEventActionDispatcherPluginImpl.buildTargetJsrEventInformation(JsrEventActionDispatcherPluginImpl.java:247)
at com.ibm.wps.propertybroker.standard.filter.JsrEventActionDispatcherPluginImpl.dispatchCommunicationTarget(JsrEventActionDispatcherPluginImpl.java:103)
at com.ibm.wps.propertybroker.dispatch.CommunicationTargetInvokerImpl._invokeCommunicationTarget(CommunicationTargetInvokerImpl.java:155)
at com.ibm.wps.propertybroker.dispatch.CommunicationTargetInvokerImpl.invokeCommunicationTarget(CommunicationTargetInvokerImpl.java:103)
at com.ibm.wps.propertybroker.dispatch.WiredCommunicationDispatcherProviderImpl$WiredCommunicationDispatcherImpl.dispatch(WiredCommunicationDispatcherProviderImpl.java:113)
at com.ibm.wps.propertybroker.dispatch.EventDispatcherImpl.dispatchSourceEvent(EventDispatcherImpl.java:243)
at com.ibm.wps.pe.pc.waspc.services.information.WaspcInformationProviderImpl$PortletEventProviderImpl.add(WaspcInformationProviderImpl.java:283)
at com.ibm.ws.portletcontainer.PortletContainerImpl.publishEventsToEventProvider(PortletContainerImpl.java:463)
at com.ibm.ws.portletcontainer.PortletContainerImpl.doAction(PortletContainerImpl.java:222)
at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:78)
at com.ibm.ws.portletcontainer.ext.ExtCollaborator.doAction(ExtCollaborator.java:60)
at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
at com.ibm.ws.portletcontainer.cache.CacheInvokerCollaborator.doAction(CacheInvokerCollaborator.java:76)
at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
at com.ibm.wps.resolver.iwidget.filter.IWidgetPCInvokerCollaborator.doAction(IWidgetPCInvokerCollaborator.java:94)
at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
at com.ibm.ws.portletcontainer.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:154)
at com.ibm.ws.portletcontainer.pcinvoker.PortletInvokerImpl$1.run(PortletInvokerImpl.java:59)
at java.security.AccessController.doPrivileged(AccessController.java:254)
at com.ibm.ws.portletcontainer.pcinvoker.PortletInvokerImpl.invokeProcessAction(PortletInvokerImpl.java:55)
at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl$3.invoke(PortletInvokerImpl.java:121)
at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:182)
at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl.invokeProcessAction(PortletInvokerImpl.java:119)
at com.ibm.wps.pe.pc.waspc.event.ActionEvent.execute(ActionEvent.java:78)
at com.ibm.wps.pe.pc.waspc.event.EventQueueManager.processEventLoop(EventQueueManager.java:114)
at com.ibm.wps.pe.pc.waspc.PortletContainerImpl.performEvents(PortletContainerImpl.java:237)
at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:287)
at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:3626)
at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:995)
at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:146)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:305)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:686)
at com.ibm.wps.engine.Servlet.doPost(Servlet.java:852)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at com.ibm.wps.engine.Servlet.doFilter(Servlet.java:411)
at com.ibm.wps.resolver.servlet.ContentHandlerCleanup.doFilter(ContentHandlerCleanup.java:767)
at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:96)
at com.ibm.wps.engine.Servlet.service(Servlet.java:1372)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
at com.ibm.wps.engine.ExtensionFilter$ExtendedFilterChain.doFilter(ExtensionFilter.java:110)
at com.ibm.wps.engine.ExtensionFilter.doFilter(ExtensionFilter.java:197)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.engine.SupportedLocalesFilter.doFilter(SupportedLocalesFilter.java:113)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.engine.ExtendedLocaleFilter.doFilter(ExtendedLocaleFilter.java:113)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.resolver.friendly.servlet.FriendlySelectionFilter.doFilter(FriendlySelectionFilter.java:191)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.project.filter.ProjectIdFilter.doFilterWithoutProjectID(ProjectIdFilter.java:331)
at com.ibm.wps.project.filter.ProjectIdFilter.doFilter(ProjectIdFilter.java:243)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:443)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.engine.VirtualPortalFilter.doFilter(VirtualPortalFilter.java:88)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.resolver.servlet.ContentHandlerGzip.internalDoFilter(ContentHandlerGzip.java:704)
at com.ibm.wps.resolver.servlet.ContentHandlerGzip.doFilter(ContentHandlerGzip.java:451)
at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:96)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:103)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
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:1659)
Updated on 2013-02-14T08:56:07Z at 2013-02-14T08:56:07Z by SalimReggae
  • Jasi
    Jasi
    41 Posts

    Re: Event processing problem with JSF 1.2, WebSphere Portal 8.0

    ‏2013-02-14T08:11:05Z  
    Check out documentation for getHours() method here ...
    http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/Date.html

    It says it will throw up the precise exception you are getting whenever it is called, apparently cos it is deprecated.
  • SalimReggae
    SalimReggae
    66 Posts

    Re: Event processing problem with JSF 1.2, WebSphere Portal 8.0

    ‏2013-02-14T08:56:07Z  
    • Jasi
    • ‏2013-02-14T08:11:05Z
    Check out documentation for getHours() method here ...
    http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/Date.html

    It says it will throw up the precise exception you are getting whenever it is called, apparently cos it is deprecated.
    Another portlet which is also using java.sql.date while retriving data from database and it does not give this error and works fine. I think there should be another reason. In addition the target page processes same event successfully when it was fired inside itself. The problem just occurs the event is fired in another page.