Can you not call the older application under a different context. i.e. if
your main application is called from http://www.domain.com/application then
maybe you could set the older application to deploy under
http://www.domain.com/old_application.  Wouldn't that ensure that the two
applications are deployed in completely different "sandboxes".  I think this
would be done in web.xml file.

Also, you could deploy them all and then look at the applications, including
the older ones at the same time.  You wouldn't have to keep undeploying and
then redeploying.

-----Original Message-----
From: Jeff Bischoff [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 2:43 PM
To: user@struts.apache.org
Subject: Problem deploying older versions of my WAR in struts project

Hello. Let me apologize in advance if this is really a jboss or tomcat
problem, but as I am only getting Struts error messages, this seemed the
place to ask.

I have a fairly simple struts application which I generally deploy to JBoss
in a .war file. I have archived these files over the course of weeks and
months. Now I am trying to deploy these older versions, in order to see what
the website looked like several weeks ago.

My problem is that some of the newer JSP files seem to be surviving the
redeployments, and cause the older site to crash. Specifically, I have a
main menu JSP which is included in most of my other pages via <jsp:include>.
The latest version of this menu JSP has links to several ActionForwards that
did not previously exist.

When I deploy an older version of the website, it dies on the first page
accessed that includes the main menu, throwing an exception like:

javax.servlet.ServletException: Cannot create rewrite URL: 
java.net.MalformedURLException: Cannot retrieve ActionForward named
Preferences

Where 'Preferences' is the name of the left-most (top-most) linked
ActionForward that did not exist at the time that the particular .war file
was made.

Is there some problem in JBoss/Tomcat not clearing all temporary files when
an application is undeployed? Has anyone else had trouble reverting to an
older version of a struts project?

Any help or suggestions of where to look would be appreciated.




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


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

Reply via email to