Best way to deploy multiple Grails application on one server
This post was updated on .
We are trying to figure out whether there is a better way to deploy multiple Grails application to one JBoss server. We are able to deploy the multiple WAR files and the applications runs fine.
Our challenge is that there are other java applications deployed to the same JBoss server as well. The archive we got from "grails war..." is pretty big - about 27 Meg each war file. Thus, at deployment time, it has a rather big memory foot print.
Since pretty much all these Grails war files contain a lot of the same jars, is there a way to have Grails application deployed in a shared server environment? In other words, can we have only one set of the "common" libraries shared by multiple Grails application, thus reduce the overall size of the war file to be deployed?
I can see the beauty of bundle everything together into one archive and have it to be totally self-contained. It just seemed very inefficient if we have multiple Grails app deployed on the same server.