struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Smith <psm...@infonow.com>
Subject Session issue
Date Thu, 31 Jul 2003 18:04:28 GMT
Hi all,

I am having problems with a new struts application in a production
environment.  The stacktrace below seems to indicate a session problem.  In
development, I am using a filestore, in production, its a jdbc store.  Has
anyone come across a stack trace like this?

Thanks in advance, 

Peter

2003-07-31 15:04:11 ApplicationDispatcher[/pos] Servlet.service() for
servlet 
jsp threw exception
org.apache.jasper.JasperException
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:254)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:430)
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
textImpl.java:501)
        at 
org.apache.jsp.wrapperLayout_jsp._jspService(wrapperLayout_jsp.java:2
45)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:210)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at 
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
        at 
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
        at 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatche
rValve.java:420)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatche
rValve.java:327)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:181)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466
)
        at 
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
        at java.lang.Thread.run(Thread.java:536)

----- Root Cause -----
java.lang.NullPointerException
        at 
org.apache.catalina.connector.HttpResponseBase.isEncodeable(HttpRespo
nseBase.java:543)
        at 
org.apache.catalina.connector.HttpResponseBase.encodeURL(HttpResponse
Base.java:1030)
        at 
org.apache.catalina.connector.HttpResponseFacade.encodeURL(HttpRespon
seFacade.java:122)
        at 
org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:644)
        at 
org.apache.struts.taglib.html.RewriteTag.doStartTag(RewriteTag.java:9
9)
        at 
org.apache.strutsel.taglib.html.ELRewriteTag.doStartTag(ELRewriteTag.
java:291)
        at 
org.apache.jsp.jspError_jsp._jspx_meth_html_rewrite_0(jspError_jsp.ja
va:85)
        at org.apache.jsp.jspError_jsp._jspService(jspError_jsp.java:63)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:210)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:430)
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
textImpl.java:501)
        at 
org.apache.jsp.wrapperLayout_jsp._jspService(wrapperLayout_jsp.java:2
45)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:210)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:430)
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
textImpl.java:501)
        at 
org.apache.jsp.wrapperLayout_jsp._jspService(wrapperLayout_jsp.java:2
45)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:210)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at 
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
        at 
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
        at 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:356)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatche
rValve.java:420)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatche
rValve.java:327)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:181)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466
)
        at 
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
        at java.lang.Thread.run(Thread.java:536)


-- 
Peter Smith
Software Engineer
InfoNow Corporation


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message