« 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 Andrew Hahn :: Rate this Message:

Reply to Author | View in Thread

Thanks Felipe,
Looks like we are solving slightly different issues.

I added a JIRA with the patch I created:

http://jira.codehaus.org/browse/GRAILS-2771

as both solutions are useful in different cases.

Andy

On Mar 30, 2008, at 8:15 PM, Felipe Nascimento wrote:
I have already created a Jira for this.
Lets hope the patch comes soon.

http://jira.codehaus.org/browse/GRAILS-2724

Cheers
Felipe

On Sat, Mar 29, 2008 at 1:59 PM, Marcos Silva Pereira <marcos.silva@...> wrote:
+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