You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RK...@heyde.de on 2001/06/12 15:36:37 UTC

cant remove Attributes from request scope

 
Hi,
 
I have tryed to run the struts-example with tomcat inside JBuilder4.
This causes the following exception:

Error: 500


Location: /registration.jsp

Internal Servlet Error:

javax.servlet.ServletException: cant remove Attributes from request
scope

	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:386)

	at
_0002fregistration_0002ejspregistration_jsp_0._jspService(_0002fregistra
tion_0002ejspregistration_jsp_0.java:1561)

	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle
t.java:174)

	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)

	at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)

	at
com.borland.jbuilder.webserverglue.tomcat.jsp.JspLoaderEcho.service(Unkn
own Source)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
503)

	at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherIm
pl.java:163)

	at
org.apache.struts.action.ActionServlet.processActionForward(ActionServle
t.java:1758)

	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)

	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
503)

	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)

	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:160)

	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
:338)

	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(PageContextImp
l.java:236)

	at
org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)

	at
_0002fregistration_0002ejspregistration_jsp_0._jspService(_0002fregistra
tion_0002ejspregistration_jsp_0.java:1034)

	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle
t.java:174)

	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)

	at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)

	at
com.borland.jbuilder.webserverglue.tomcat.jsp.JspLoaderEcho.service(Unkn
own Source)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
503)

	at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherIm
pl.java:163)

	at
org.apache.struts.action.ActionServlet.processActionForward(ActionServle
t.java:1758)

	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)

	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
503)

	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)

	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:160)

	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
:338)

	at java.lang.Thread.run(Thread.java:484)


Does anyone know something about that? Anything I missed?
The example runs pretty well with a 'standalone' tomcat.
 
Thanks,
Richard

Re: cant remove Attributes from request scope

Posted by Dan Miser <dm...@wi.rr.com>.
The problem is that the underlying Tomcat is 3.1, which has surfaces this bug. See this URL for instructions on how to upgrade Tomcat.
http://community.borland.com/article/0,1410,26943,00.html
--
Dan Miser
http://www.distribucon.com
  ----- Original Message ----- 
  From: RKarneim@heyde.de 
  To: struts-user@jakarta.apache.org 
  Sent: Tuesday, June 12, 2001 8:36 AM
  Subject: cant remove Attributes from request scope



  I have tryed to run the struts-example with tomcat inside JBuilder4. This causes the following exception:
  Error: 500
  Location: /registration.jsp
  Internal Servlet Error:


javax.servlet.ServletException: cant remove Attributes from request scope