« Return to Thread: More than one instance of a grails app in tomcat

Re: More than one instance of a grails app in tomcat

by Marcos Silva Pereira :: Rate this Message:

Reply to Author | View in Thread

+1 for the patch.

Kind Regards

On Sat, Mar 29, 2008 at 1:06 PM, Andrew Hahn <andrew.p.hahn@...> wrote:
Hello all,
When I tried to deploy two versions (changing app.version in
application.properties)
of my app at the same time in tomcat, I found that the web.xml is not
unique for each version.

A quick change to Package.groovy makes this possible by using the same
naming convention for webAppRootKey and display-name as is used for
the war file. I'm not sure this would be useful for anyone else (or
even if this is the best way), but I thought I would share it just in
case.

The details are one my blog:
http://axixmiqui.wordpress.com/2008/03/29/adventures-in-grails-running-more-than-one-version-of-your-app/

I can post a patch if this would be a desirable feature.

Andy

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
Marcos Silva Pereira
http://marcospereira.wordpress.com
"You only live once.", James Brown

 « Return to Thread: More than one instance of a grails app in tomcat