You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Bradley M. Handy" <bh...@jack-of-all-trades.net> on 2001/11/07 14:49:40 UTC

Problems with example applications with struts

I've installed struts and I'm having trouble trying to run the applications
that use the <html:form> and </html:form> tags.  I get the following error
message.

java.lang.IllegalArgumentException: cant remove Attributes from request
scope
	at
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.ja
va:236)
	at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
	at
_0002fupload_0002ejspupload_jsp_1._jspService(_0002fupload_0002ejspupload_js
p_1.java:255)
	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.ja
va:174)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	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.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:484)


I'm currently running Tomcat 3.1 (or 3.2) with Apache 1.3.14 on RedHat Linux
6.2.

At first I tried using the release version of Struts.  When I received the
error the first time, I tried the latest nightly build of Struts, and that
still didn't work.  I'm wondering if it has something to do with the Tomcat
version, but I don't have control over the software on the server.  I want
to absolutely sure it is Tomcat, before I go to the SysAdmin and ask him to
go to Tomcat 4.

Can someone shed some light on this subject for me?

Bradley M. Handy
Programmer/Analyst
Spring Arbor University
mailto:bhandy@arbor.edu
http://www.arbor.edu/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Struts + VAJ 3.5 + Weblogic 5.1 SP8

Posted by Carmen Florea <cf...@aubay.com>.
Hello...

Has somebody configured Struts in Visual Age 3.5 with the Weblogic Server
5.1 + SP8 ?
Also, I would like to be able to debug Struts in VAJ.

I already configured Struts with WL 5.1 + SP8, and it's working but now, I
want to conect it with VAJ.

Can you help me?

Regards,

Carmen Florea
cflorea@aubay.com









--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Problems with example applications with struts

Posted by "Bradley M. Handy" <bh...@jack-of-all-trades.net>.
I was allowed to upgrade the Tomcat 3.1 installation to Tomcat 4.0.1 and
this solved my problem.  However, I'm wondering are any of you running
Tomcat 3.1 and having success with "bean", "html", and "logic" taglibs
in the Struts distribution?  I read the prerequisites for Struts, and
the prereqs page says Tomcat 3.1 or higher is required, but Tomcat 3.2
or higher is recommended.

Bradley M. Handy
Programmer/Analyst
Spring Arbor University
--www.arbor.edu
--mailto:bhandy@arbor.edu
 

-----Original Message-----
From: Bradley M. Handy [mailto:bhandy@jack-of-all-trades.net] 
Sent: Wednesday, November 07, 2001 8:50 AM
To: struts-user@jakarta.apache.org
Subject: Problems with example applications with struts

I've installed struts and I'm having trouble trying to run the
applications
that use the <html:form> and </html:form> tags.  I get the following
error
message.

java.lang.IllegalArgumentException: cant remove Attributes from request
scope
	at
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImp
l.ja
va:236)
	at
org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
	at
_0002fupload_0002ejspupload_jsp_1._jspService(_0002fupload_0002ejspuploa
d_js
p_1.java:255)
	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.ja
va:174)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	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.connector.Ajp12ConnectionHandler.processConnec
tion
(Ajp12ConnectionHandler.java:156)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
:338
)
	at java.lang.Thread.run(Thread.java:484)


I'm currently running Tomcat 3.1 (or 3.2) with Apache 1.3.14 on RedHat
Linux
6.2.

At first I tried using the release version of Struts.  When I received
the
error the first time, I tried the latest nightly build of Struts, and
that
still didn't work.  I'm wondering if it has something to do with the
Tomcat
version, but I don't have control over the software on the server.  I
want
to absolutely sure it is Tomcat, before I go to the SysAdmin and ask him
to
go to Tomcat 4.

Can someone shed some light on this subject for me?

Bradley M. Handy
Programmer/Analyst
Spring Arbor University
mailto:bhandy@arbor.edu
http://www.arbor.edu/


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>