Struts and WAS 3.5.4 (cant remove Attributes from request scope)

2002-06-05 Thread Mohamed Abu Zur

I have installed struts in Websphere 3.5.4 and every
thing goes well.
But in the struts-example application when i go from
the http://localhost/struts-example/index.jsp 
page to 
http://localhost/struts-example/logon.jsp
in the server log I have the following error:

Server caught unhandled exception from servlet
[jsp11]: cant remove Attributes from request scope

com.ibm.servlet.engine.webapp.UncaughtServletException:
Server caught unhandled exception from servlet
[jsp11]: cant remove Attributes from request scope




=
http://www.alquds-palestina.org

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts and WAS 3.5.4 (cant remove Attributes from request scope)

2002-06-05 Thread Adolfo Miguelez


have a look to the post by [EMAIL PROTECTED] at:

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg31223.html

From: Mohamed Abu Zur [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts and WAS 3.5.4 (cant remove Attributes from request scope)
Date: Wed, 5 Jun 2002 01:17:03 -0700 (PDT)

I have installed struts in Websphere 3.5.4 and every
thing goes well.
But in the struts-example application when i go from
the http://localhost/struts-example/index.jsp
page to
http://localhost/struts-example/logon.jsp
in the server log I have the following error:

Server caught unhandled exception from servlet
[jsp11]: cant remove Attributes from request scope

com.ibm.servlet.engine.webapp.UncaughtServletException:
Server caught unhandled exception from servlet
[jsp11]: cant remove Attributes from request scope




=
http://www.alquds-palestina.org

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




HTML
  HEAD
 TITLEAdolfo's signature/TITLE
  /HEAD
  BODY
 centerbemAdolfo Rodriguez Miguelez/emb/center

  /BODY
  /HTML





_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Getting Error 500 cant remove Attributes from request scope on struts-example.

2002-01-11 Thread Shroyer, Mark

We are trying to run the Struts example application under WebSphere 3.5.3
but get the following exception.  Any ideas of what this means or where to
go from here?

Thanks


Error 500

An error has occured while processing
request:http://localhost/struts/editRegistration.do

Message: Server caught unhandled exception from servlet [action]: Server
caught unhandled exception from
servlet [jsp11]: cant remove Attributes from request scope


Target Servlet: action
StackTrace: 

Root Error-1: cant remove Attributes from request scope

java.lang.IllegalArgumentException: cant remove Attributes from request
scope
at java.lang.RuntimeException.init(RuntimeException.java:49)
at
java.lang.IllegalArgumentException.init(IllegalArgumentException.java:45)
at
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.ja
va:236)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at _registration_jsp_0._jspService(_registration_jsp_0.java:959)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:381)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:702)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:822)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:626)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:160)
at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:287)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:105)
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:36
0)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:775)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:701)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:404)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:203)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:107)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va: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
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:626)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:160)
at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:287)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:105)
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:36
0)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:775)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:701)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:404)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:203)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:107)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:77)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl
eInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:160)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQ
EventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventL
istenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQE
ventSource.java:212)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(SQWrapperEventSource.java:353

cant remove Attributes from request scope

2001-12-09 Thread Sunil Mandya

Hi folks,

I'm new to Struts and to JSP's.
I'm trying to convince my team to use struts in a project.
I have been unable to setup the example application...
I'm running WebSphere 3.5.4 and went through the installation procedure
outlined
in the website.
I can see index.jsp, but can't see logon.jsp or registration.jsp.

Please help!!!

Thanks in advance
Sunil

Here's part of the stack trace:



An error has occured while processing
request:http://localhost/struts-example/editRegistration.do
Message: Server caught unhandled exception from servlet [action]: Server
caught unhandled exception from servlet [jsp11]: cant remove Attributes from
request scope

Target Servlet: action
StackTrace:


Root Error-1: cant remove Attributes from request scope

java.lang.IllegalArgumentException: cant remove Attributes from request
scope
at java.lang.RuntimeException.init(RuntimeException.java:49)
at
java.lang.IllegalArgumentException.init(IllegalArgumentException.java:45)
at
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.ja
va:236)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at _registration_jsp_0._jspService(_registration_jsp_0.java:959)


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Help Error run Struts in VAJ 4 cant remove Attributes from request scope remain

2001-09-07 Thread Julia Yang

Hi, Geoff and Mark and all

Thank you for answer my question on how to use struts in VAJ 
I got it run but with a error
Server caught unhandled exception from servlet [jsp]: cant remove
Attributes from request scope
I followed the e-mail Geoff sent out on 8/21/2001 with

Replace the following lines in the doEndTag() method in the FormTag
class:

 pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
 pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);

with the following:

 pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
 pageContext.getRequest().removeAttribute(Constants.FORM_KEY);

The problem remains, is there anything else I need do ? 

Julia



-Original Message-
From: David Corbin [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 9:26 AM
To: [EMAIL PROTECTED]
Subject: Re: bean:define, bean:write

For the record, my mistake was in use the scope attribute instead of
the
toScope attribute.


- Original Message -
From: Keith Bacon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 1:38 PM
Subject: Re: bean:define, bean:write


 My guess is that jsp:define creates it if not there
 but struts bean:define doesn't.


 --- David Corbin [EMAIL PROTECTED] wrote:
  I thought that bean:define takes care of that
  - Original Message -
  From: Keith Bacon [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 06, 2001 11:18 AM
  Subject: Re: bean:define, bean:write
 
 
   Is it because you haven't done a
  
   request.putAttribute(pageTitle, yourObject);
  
   in your ActionForm?
  
   Keith.
  
  
   --- David Corbin [EMAIL PROTECTED] wrote:
Why does this jsp fragment generate an exception
   
javax.servlet.jsp.JspException: Cannot find bean pageTitle in
  scope
request
   
--cut--
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
bean:define id=pageTitle value=foobar scope=request/
   
HTML
HEAD
 TITLEbean:write name=pageTitle
scope=request//TITLE
/HEAD
. . .
   
--cut--
   
Thanks
David Corbin
   
  
  
   __
   Do You Yahoo!?
   Get email alerts  NEW webcam video instant messaging with Yahoo!
  Messenger
   http://im.yahoo.com
  
  
 


 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo!
Messenger
 http://im.yahoo.com






RE: Help Error run Struts in VAJ 4 cant remove Attributes from request scope remain

2001-09-07 Thread Assenza, Chris

The correct Jar is also available on the Ted's site and
http://www.enfused.com/struts.jar

Chris

Christopher Assenza
Phone:  412.201.6026
Fax: 412.201.6060
Email:  [EMAIL PROTECTED]
ACCESSDATA
Moving Your Business from Point A to Point e.SM
http://www.accessdc.com/



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Help Error run Struts in VAJ 4 cant remove Attributes from
request scope remain



Julia,

I had the same problem with VAJ 3.5.3, but I presume this will work with
4.0.  You need to make sure you are changing the code in the correct place.
There are two FormTag classes - one in the base taglib package and one in
the taglib.html package.  In
order to get the application to work with VAJ, you need to change it in the
html package.

Eric Stievater
Distributed Application Development
201.418.5663



 

Julia Yang

jyang@gravito   To:
[EMAIL PROTECTED]

n.com   cc:

 Subject: Help  Error run Struts
in VAJ 4 cant remove Attributes from request scope  
09/07/01 02:36remain

PM

Please respond

to struts-user

 

 





Hi, Geoff and Mark and all

Thank you for answer my question on how to use struts in VAJ
I got it run but with a error
Server caught unhandled exception from servlet [jsp]: cant remove
Attributes from request scope
I followed the e-mail Geoff sent out on 8/21/2001 with

Replace the following lines in the doEndTag() method in the FormTag
class:

 pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
 pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);

with the following:

 pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
 pageContext.getRequest().removeAttribute(Constants.FORM_KEY);

The problem remains, is there anything else I need do ?

Julia







*** IMPORTANT NOTE *
The opinions expressed in this message and/or any attachments are
those of the author and not necessarily those of Brown Brothers
Harriman  Co., its subsidiaries and affiliates (BBH).  There is no
guarantee that this message is either private or confidential, and it
may have been altered by unauthorized sources without your or our
knowledge.  Nothing in the message is capable or intended to create
any legally binding obligations on either party and it is not intended
to provide legal advice.  BBH accepts no responsibility for loss or
damage from its use, including damage from virus.




VAJ 4.0 and WTE cant remove Attributes from request scope

2001-08-23 Thread Mark Chen



Hi,

I found one suggestion from Johan about VAJ3.5.3 problem to 
cant remove attributes from request scope. I had a same problem when 

tried to setup VAJ 4.0 to run struts and I got the same 
problem as attached below.

Anybody knows IBM has fixed this problem. 

Thanks!

Mark


Message: Server caught unhandled exception from servlet [jsp]: cant 
remove Attributes from request scopeTarget Servlet: 
jspStackTrace: 

Root Error-1: cant remove Attributes from request scopejava.lang.IllegalArgumentException: cant remove Attributes from request scope
	java.lang.Throwable(java.lang.String)
	java.lang.Exception(java.lang.String)
	java.lang.RuntimeException(java.lang.String)
	java.lang.IllegalArgumentException(java.lang.String)
	void org.apache.jasper.runtime.PageContextImpl.removeAttribute(java.lang.String, int)
	int org.apache.struts.taglib.html.FormTag.doEndTag()



Re: VAJ 4.0 and WTE cant remove Attributes from request scope

2001-08-23 Thread geoff



Replace the following lines in the doEndTag() method in the FormTag class:

 pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
 pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);

with the following:

 pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
 pageContext.getRequest().removeAttribute(Constants.FORM_KEY);

and your problem will disappear : )


Regards,

Geoff Bennett,
Multitask Consulting,
[EMAIL PROTECTED]



   
   
Mark Chen
   
mark.chen@dhTo: [EMAIL PROTECTED], 
Mike Pettersen [EMAIL PROTECTED]
ltd.com cc:   
   
 Subject: VAJ 4.0 and WTE cant remove 
Attributes from request scope 
24/08/2001 
   
08:14 AM   
   
Please 
   
respond to 
   
struts-user
   
   
   
   
   




Hi,

I found one suggestion from Johan about VAJ3.5.3 problem to cant remove
attributes from request scope. I had a same problem when
tried to setup VAJ 4.0 to run struts and I got the same problem as attached
below.

Anybody knows IBM has fixed this problem.

Thanks!

Mark

Message: Server caught unhandled exception from servlet [jsp]: cant remove
Attributes from request scope

Target Servlet: jsp
StackTrace: Root Error-1: cant remove Attributes from request scope
java.lang.IllegalArgumentException: cant remove Attributes from request
scope
   java.lang.Throwable(java.lang.String)
   java.lang.Exception(java.lang.String)
   java.lang.RuntimeException(java.lang.String)
   java.lang.IllegalArgumentException(java.lang.String)
   void
org.apache.jasper.runtime.PageContextImpl.removeAttribute(java.lang.String,
int)
   int org.apache.struts.taglib.html.FormTag.doEndTag()







WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from request scope

2001-08-07 Thread mikael . lharant-unilog

Hello,

I write an application using struts.
I have a first JSP page with a link to a second JSP page which contains a
form.
The link looks like:
html:link href=epologin.do?cmd=Createbean:message key
=index.login//html:link

I get the first page with the link. But, when I click on it, I get the
following message:

...cant remove Attributes from request scope...

I've seen a lot of mails in the struts-user list about the doEndTag
method; so I tried to change the code of the FormTag class (in
/taglib/html).
It changes nothing.

So, if anyone has a solution...

A few questions:
Where does the problem come from (Struts, Websphere)?
Is there any improvement with Websphere 4.0?

Thanks for your help.
 MIKAEL





RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from request scope

2001-08-07 Thread Mark Wilson

WAS 4.0 so far is no different, you will get the same error.

The problem was fixed, by changing the code in
org.apache.struts.taglib.html.FormTag per this solution posted a while ago:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html

There is another FormTag class, org.apache.struts.taglib.FormTag.  Make sure
you got the right one, and rebuilt correctly?  This solution has worked
successfully repeatedly.

The problem lies with the IBM implementation of the org.apache.jasper
package. It behaves differently than the tomcat reference implementation, in
that it will always throw an exception when specifically removing attributes
from request scope.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from
request scope


Hello,

I write an application using struts.
I have a first JSP page with a link to a second JSP page which contains a
form.
The link looks like:
html:link href=epologin.do?cmd=Createbean:message key
=index.login//html:link

I get the first page with the link. But, when I click on it, I get the
following message:

...cant remove Attributes from request scope...

I've seen a lot of mails in the struts-user list about the doEndTag
method; so I tried to change the code of the FormTag class (in
/taglib/html).
It changes nothing.

So, if anyone has a solution...

A few questions:
Where does the problem come from (Struts, Websphere)?
Is there any improvement with Websphere 4.0?

Thanks for your help.
 MIKAEL




RE: WEBSPHERE 3.5.4 and STRUTS 1.0: cant remove attributes from request scope

2001-08-07 Thread Craig R. McClanahan



On Tue, 7 Aug 2001, Mark Wilson wrote:

 WAS 4.0 so far is no different, you will get the same error.
 
 The problem was fixed, by changing the code in
 org.apache.struts.taglib.html.FormTag per this solution posted a while ago:
 http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html
 
 There is another FormTag class, org.apache.struts.taglib.FormTag.  Make sure
 you got the right one, and rebuilt correctly?  This solution has worked
 successfully repeatedly.
 
 The problem lies with the IBM implementation of the org.apache.jasper
 package. It behaves differently than the tomcat reference implementation, in
 that it will always throw an exception when specifically removing attributes
 from request scope.
 

More specifically, they used the Jasper that was in Tomcat 3.1 (which also
has this same problem).  For Tomcat, it was fixed in 3.2 and all later
versions.

 Mark
 

Craig




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

2001-07-09 Thread Holger Wiechert

We had the same problem using tomcat3.1. When using 3.2, it worked.
HTH


-Ursprüngliche Nachricht-
Von: vj nas [mailto:[EMAIL PROTECTED]]
Gesendet: Sonntag, 8. Juli 2001 00:36
An: [EMAIL PROTECTED]
Betreff: javax.servlet.ServletException: cant remove Attributes from
request scope


I had successfully configured the example  war to run on jbuilder4
But I started getting this  error message on the scope,

I am  three days  old i n  using Struts. I like it very much.

Could you please tell me why it is occuring. Is  the Servlet.jar file too 
old.
or missing some settings in server.xml, etc..,

I tried to figure out myself. But going no where.
Your help is greatly appreciated.

Thanks,
Sincerely,

Vijai.


javax.servlet.ServletException: cant remove Attributes from request scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java:161)
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:395)
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(JspServlet.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(Unknown 
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.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
Root cause:
java.lang.IllegalArgumentException: cant remove Attributes from request 
scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at java.lang.RuntimeException.(RuntimeException.java:49)
at java.lang.IllegalArgumentException.(IllegalArgumentException.java:45)
at 
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.java:236)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:370)
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(JspServlet.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(Unknown 
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.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





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

2001-07-07 Thread vj nas

I had successfully configured the example  war to run on jbuilder4
But I started getting this  error message on the scope,

I am  three days  old i n  using Struts. I like it very much.

Could you please tell me why it is occuring. Is  the Servlet.jar file too 
old.
or missing some settings in server.xml, etc..,

I tried to figure out myself. But going no where.
Your help is greatly appreciated.

Thanks,
Sincerely,

Vijai.


javax.servlet.ServletException: cant remove Attributes from request scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java:161)
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:395)
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(JspServlet.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(Unknown 
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.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
Root cause:
java.lang.IllegalArgumentException: cant remove Attributes from request 
scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at java.lang.RuntimeException.(RuntimeException.java:49)
at java.lang.IllegalArgumentException.(IllegalArgumentException.java:45)
at 
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.java:236)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:370)
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(JspServlet.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(Unknown 
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.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: cant remove Attributes from request scope

2001-06-12 Thread Dan Miser



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: 
  [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  
  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