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

More than one instance of a grails app in tomcat

by Andrew Hahn :: Rate this Message:

Reply to Author | View in Thread

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


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