Hi Jon, where can I get the correct version of Jasper?  I checked the Jakarta site but 
I don't see Jasper identified on its own.  Do I have to pull it out of Tomcat?  If so, 
which release?

--Steve

> -----Original Message-----
> From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Need help with "Can't remove attributes from 
> request scope"
> p robl em.
> 
> 
> Hi Steve,
> 
> It has been suggested on this group before that updating 
> Jasper is a more
> elegant solution to this problem. So yes you might want to 
> try this. As to
> the stack trace; it confirms that the error occurs in 
> FormTag.doEngTag. Are
> you sure you are picking up the edited class? You might want 
> to add some
> debug to doEndTag.
> 
> Jon.
> 
> -----Original Message-----
> From: Ritter, Steve [mailto:[EMAIL PROTECTED]] 
> Sent: 06 June 2001 16:40
> To: '[EMAIL PROTECTED]'
> Subject: RE: Need help with "Can't remove attributes from 
> request scope" p
> robl em.
> 
> Sure Jon, here is an excerpt from my servlet container log 
> file -- I turned
> the verbocity way up and I'll give you all the context I can 
> (a wide mail
> reader window works well here :) :
> 
> [06/06/2001 08:34:48 PDT] worker1::jsp: ServletPath: /registration.jsp
> [06/06/2001 08:34:48 PDT] worker1::jsp: PathInfo: null
> [06/06/2001 08:34:48 PDT] worker1:getRealPath: entered with this path
> :/registration.jsp
> [06/06/2001 08:34:48 PDT] worker1::jsp: RealPath:
> /u/sritter/powertier654/servletmill/contexts/struts-example/re
> gistration.jsp
> [06/06/2001 08:34:48 PDT] worker1::jsp: RequestURI:
> /struts-example/registration.jsp
> [06/06/2001 08:34:48 PDT] worker1::jsp: QueryString: action=Create
> [06/06/2001 08:34:48 PDT] worker1::jsp: Request Params:
> [06/06/2001 08:34:48 PDT] worker1::jsp:          action = Create
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.tomcat.jsp_classpath
> [06/06/2001 08:34:48 PDT] worker1:jsp: Classpath according to the init
> parameter is:
> [06/06/2001 08:34:48 PDT] worker1:getRealPath: entered with this path
> :/registration.jsp
> [06/06/2001 08:34:48 PDT] worker1:getRealPath: entered with this path
> :/registration.jsp
> [06/06/2001 08:34:48 PDT] worker1:getRealPath: entered with this path
> :/registration.jsp
> [06/06/2001 08:34:48 PDT] worker1:jsp: Class name is:
> _0002fregistration_0002ejspregistration_jsp_0
> [06/06/2001 08:34:48 PDT] worker1:getSession: session/sessionId
> null//struts-example.aak5b9008.1.3f8ec637463bb2c0
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MAPPINGS
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.FORM_BEANS
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.SERVLET_MAPPING
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:48 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:49 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:49 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:49 PDT] worker1:getAttributes name =
> org.apache.struts.action.MESSAGE
> [06/06/2001 08:34:49 PDT] worker1:ServletException was 
> caught: cant remove
> Attributes from request scope
> [06/06/2001 08:34:49 PDT] worker1:Dumping response headers
> [06/06/2001 08:34:49 PDT] worker1:Dumping cookies
> [06/06/2001 08:34:49 PDT] java.lang.IllegalArgumentException: 
> cant remove
> Attributes from request scope
>         at
> org.apache.jasper.runtime.PageContextImpl.removeAttribute(Page
> ContextImpl.ja
> va, Compiled Code)
>         at 
> org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java,
> Compiled Code)
>         at
> _0002fregistration_0002ejspregistration_jsp_0._jspService(_000
> 2fregistration
> _0002ejspregistration_jsp_0.java, Compiled Code)
>         at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
> Compiled Code)
>         at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
> Code)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
> (JspServlet.ja
> va, Compiled Code)
>         at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
> Compiled Code)
>         at 
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
> Compiled Code)
>         at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
> Code)
>         at 
> com.tenbasej.jmill.JMillConnection.run(JMillConnection.java,
> Compiled Code)
>         at 
> com.tenbasej.jmill.JMillConnection.run(JMillConnection.java,
> Compiled Code)
>         at
> com.tenbasej.jmill.JMillThreadPool$WorkerThread.run(JMillThrea
> dPool.java,
> Compiled Code)
> [06/06/2001 08:34:49 PDT] worker2:Dumping response headers
> [06/06/2001 08:34:49 PDT] worker2:Dumping cookies
> 
> 
> Let me know if this helps.  Atleast I know my container is 
> using Jasper!  I
> suppose I could look into updating my version of Jasper?
> 
> --Steve
> 
> 
> > -----Original Message-----
> > From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 06, 2001 8:05 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Need help with "Can't remove attributes from 
> > request scope"
> > p robl em.
> > 
> > 
> > Hi Steve,
> > 
> > Do you have a stack trace for the error? It will tell us 
> > which Struts class
> > the exception is being thrown from, we can then figure out 
> > how to solve it
> > for your container.
> > 
> > Jon.
> > 
> > -----Original Message-----
> > From: Ritter, Steve [mailto:[EMAIL PROTECTED]] 
> > Sent: 06 June 2001 15:28
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Need help with "Can't remove attributes from 
> > request scope" p
> > robl em.
> > 
> > Hi Jon, 
> > 
> > Thanks for the reply, I tried the recommended change to the 
> > source code and
> > still I get the same error.
> > 
> > I've sent an email to my vendor's support group, in lieu of 
> > that is there
> > anything else you would suggest?
> > 
> > --Steve
> > 
> > > -----Original Message-----
> > > From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, June 06, 2001 2:10 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Need help with "Can't remove attributes from 
> > > request scope"
> > > p robl em.
> > > 
> > > 
> > > Hi Steve,
> > > 
> > > Try editing org.apache.struts.taglib.FormTag.doEndTag as 
> follows : 
> > > 
> > >  
> > > // Remove the page scope attributes we created
> > > pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
> > > pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
> > > 
> > > Jon.
> > > 
> > > -----Original Message-----
> > > From: Ritter, Steve [mailto:[EMAIL PROTECTED]] 
> > > Sent: 05 June 2001 20:03
> > > To: '[EMAIL PROTECTED]'
> > > Subject: Need help with "Can't remove attributes from request 
> > > scope" probl
> > > em.
> > > 
> > > Hi everyone,
> > > 
> > > We ran into a problem running b2/b3 on Servletmill that 
> > > others seem to have
> > > hit with WTE.  It occurs when trying to access the login page from
> > > struts-example, you get an IllegalArgumentException with 
> > > message "Can't
> > > remove attributes from request scope".  It seems this thread 
> > > discusses a
> > > potential HACK to "fix" the issue.
> > > 
> > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg
> > 08663.html
> > 
> > The top-most posting in this thread indicates bugzilla id 
> 932 which I
> > checked into:
> > 
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=932
> > 
> > So, according to Craig the bug is really in the servlet 
> > container and it
> > would seem that my servlet container has the very same 
> > prolem.  What is
> > suggested work around for this?  Can someone help me with 
> > some more details
> > in the event that I need to speak with my container vendor?
> > 
> > --Steve
> > 
> 

Reply via email to