I want to deploy two Grails WAR under same JBoss server.
One I use Grails 1.2.1 and another one with Grails 2.0.
Is this possible? if yes, please let me how to do this.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure about JBoss, but with tomcat, we have several older grails apps in 1.3.4 and now use 2.0. I can deploy both, the only difference is when I create the WAR files, I have to make sure I am using the correct grails version. You can use a script to automatically do this.
Ex: In unix
Source this when creating the WAR file for a 1.3.4 version. Do a similar method when creating the other version.
Basically the grails version is independent from its deployment.