You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ozonshak <oz...@yahoo.com> on 2007/12/24 17:27:01 UTC
Struts help with Tomcat
Hello. I'm having a Struts issue I'm hoping someone
can help me with. I have a Java, JSP, and Struts 1.1
(with Tiles) web application running in an Eclipse
based environment. I deploy it to a locally installed
Tomcat 4.1 running against Java 1.4.2_06. In this
configuration, it runs just fine. My index.jsp page
uses a <logic:forward> tag to hit a global forward in
my struts-config.xml file. Now, when I deploy this to
a Tomcat 5.0.27 installation running against Java
1.5.0_11, it no longer works. The code has not
changed at all. I am getting the following error:
"javax.servlet.ServletException: Cannot find global
ActionForward for name begin". The "begin" forward is
inside my index.jsp page and is
the only line in that file (other than the include for
the tag library). I also see in the logs:
"javax.servlet.UnavailableException: Parsing error
processing resource path". I don't think the version
of Java has anything to do with this. Could this have
something to do with the classloader in Tomcat 5? Or
perhaps something that comes bundled with Tomcat that
is interfering? Everything this application needs is
inside the WAR file, including Struts. Can anyone
help me? Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts help with Tomcat
Posted by Gary Affonso <gl...@greywether.com>.
You might take a look at your XML-parsing libs. It's been awhile since
i made the switch but some dim memory makes me think that either the
transition from Tomcat 4 to 5 or java 4 to 5 either added, removed or
changed some of the built-in xml parsers.
Sorry to be so vague, it's been awhile since I dealt with this. But
that's the first place I'd look.
- Gary
ozonshak wrote:
> Hello. I'm having a Struts issue I'm hoping someone
> can help me with. I have a Java, JSP, and Struts 1.1
> (with Tiles) web application running in an Eclipse
> based environment. I deploy it to a locally installed
> Tomcat 4.1 running against Java 1.4.2_06. In this
> configuration, it runs just fine. My index.jsp page
> uses a <logic:forward> tag to hit a global forward in
> my struts-config.xml file. Now, when I deploy this to
> a Tomcat 5.0.27 installation running against Java
> 1.5.0_11, it no longer works. The code has not
> changed at all. I am getting the following error:
> "javax.servlet.ServletException: Cannot find global
> ActionForward for name begin". The "begin" forward is
> inside my index.jsp page and is
> the only line in that file (other than the include for
> the tag library). I also see in the logs:
> "javax.servlet.UnavailableException: Parsing error
> processing resource path". I don't think the version
> of Java has anything to do with this. Could this have
> something to do with the classloader in Tomcat 5? Or
> perhaps something that comes bundled with Tomcat that
> is interfering? Everything this application needs is
> inside the WAR file, including Struts. Can anyone
> help me? Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org