Does anyone have documentation about Tomcat 7.0.5 parallel deployment? Particularly with Grails?
Google only seems to find the original Beta announcements.
Does anyone have documentation about Tomcat 7.0.5 parallel deployment? Particularly with Grails?
Google only seems to find the original Beta announcements.
In the documentation for tomcat 7 under "Naming" it is specified that you can specify which context version your application has by naming it warfile##{context-version}.war. The context path will then be /warFile and it will be versioned context-version.
I have tried this and it works perfectly for me so far, and I can be logged in to two different versions of my application in two different browsers if one browser has an old session and the other one a new session.
It might be worth to remember that after a while you might end up with a lot of war-files and folders, so deleting old versions regularly might be a good idea...
Also, cited from the documentation:
Here is some official documentation on it: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment. I'll post more if I find any.