All,

I'm upgrading our app from Struts 1b1 to Struts 1.0.  Unfortunately, nothing
in our app seems to be working, so I went back a step and tried deploying
the struts-example.war file and received the same error when trying to
"logon" in the demo.  

We're using JBoss 2.0 w/ Tomcat 3.2b7 (basically the previous JBoss dist).
I'm not exactly certain where to begin with tracking down this particular
error so any help is appreciated.  I recall reading something about the
version of Jasper being used by certain servlet engines may not be up to
spec, and as such will not support the way removeAttribute is being used
with PageContextImpl -- does this look that's what I'm encountering?

Thanks,

Chris

Error: 500
Location: /struts-example/logon.jsp
Internal Servlet Error:

javax.servlet.ServletException: cant remove Attributes from request scope
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:453)
        at
_0002flogon_0002ejsplogon_jsp_4._jspService(_0002flogon_0002ejsplogon_jsp_4.
java:393)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
9)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Root cause: 
java.lang.IllegalArgumentException: cant remove Attributes from request
scope
        at
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.ja
va:289)
        at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
        at
_0002flogon_0002ejsplogon_jsp_4._jspService(_0002flogon_0002ejsplogon_jsp_4.
java:368)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
9)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Reply via email to