PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting sometimes I get a MalformedURLException, and sometimes not Re: Re: sometimes I get a MalformedURLException, and sometimes not

#27856

Yes, the server log has two different kinds of error messages.

The first is:

javax.servlet.jsp.JspException
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java(Compiled Code))
at com.ibm._jsp._SurveyReviewPDF._jspService(_SurveyReviewPDF.java:946)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.dohmh.wtchr.portal.servlets.PDFGeneratorFilter.doFilter(PDFGeneratorFilter.java:46)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java(Compiled Code))
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java(Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

The second is:

FATAL [2010-02-09 16:47:27,785] [WebContainer : 10] (_ReviewPDF.java:1335) – Exception::
Session Object Internals:
id : CCgy9dIBFXAxJy310W2gFvj
hashCode : 320696163
create time : Tue Feb 09 12:41:20 EST 2010
last access : Tue Feb 09 12:42:38 EST 2010
max inactive interval : 3600
user name : anonymous
valid session : false
new session : false

overflowed : false

app name : default_host/custo/PA_1_GFHI8I930GGA50I8NV90OR3045

non-serializable app specific session data : null
serializable app specific session data : []

ERROR [2010-02-09 16:47:27,785] [WebContainer : 10] (_ReviewPDF.java:1336) – Exception::

java.lang.IllegalStateException:
Session Object Internals:
id : CCgy9dIBFXAxJy310W2gFvj
hashCode : 320696163
create time : Tue Feb 09 12:41:20 EST 2010
last access : Tue Feb 09 12:42:38 EST 2010
max inactive interval : 3600
user name : anonymous
valid session : false
new session : false

overflowed : false

app name : default_host/custo/PA_1_GFHI8I930GGA50I8NV90OR3045

non-serializable app specific session data : null
serializable app specific session data : []

at com.ibm.ws.webcontainer.httpsession.SessionData.getValueGuts(SessionData.java(Compiled Code))
at com.ibm.ws.webcontainer.httpsession.SessionData.getValue(SessionData.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.httpsession.SessionData.getAttribute(SessionData.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.httpsession.HttpSessionFacade.getAttribute(HttpSessionFacade.java(Compiled Code))
at org.apache.pluto.core.impl.PortletSessionImpl.getAttribute(PortletSessionImpl.java(Compiled Code))
at org.apache.pluto.core.impl.PortletSessionImpl.getAttribute(PortletSessionImpl.java(Compiled Code))
at com.ibm.faces.portlet.httpbridge.PortletSessionWrapper.getAttribute(PortletSessionWrapper.java(Compiled Code))
at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java(Compiled Code))
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java(Compiled Code))
at com.ibm.faces.databind.SelectItemsVarResolver.resolveVariable(SelectItemsVarResolver.java(Compiled Code))
at com.ibm.faces.portlet.PortletVariableResolver.resolveVariable(PortletVariableResolver.java(Compiled Code))
at com.ibm._jsp._SurveyReviewPDF._jspService(_SurveyReviewPDF.java:967)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.dohmh.wtchr.portal.servlets.PDFGeneratorFilter.doFilter(PDFGeneratorFilter.java:46)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java(Compiled Code))
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java(Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

I think you’re right that the problem occurs before invoking PD4ML. We debugged line by line through the invoking JSP. In the cases when the app fails we found a JSF call that also fails (it’s trying to access a managed bean from another scope). Since it works sometimes, I guess that specific line is not at fault but that something else has made the desired bean go away.

But who’s clobbering the session?