[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple instances from single EAR/WAR

davesb do-not-reply at jboss.com
Thu Feb 26 07:02:02 EST 2009


I have a requirement to be able to create multiple instances of the same application on a single server under difference context roots. Additionally, each instance of the application will need to be configurable. At this stage, the only difference between the instances would be the datasource used i.e. there will be multiple identical web applications, each accessing data from a different database. There will be upwards of 50 instances, so this is essentially a maintenance issue - I don't want 50 copies of the same application code/pages when the only difference is the database connection.

The application in question is built using Seam and there is likely to be other instance-specific configuration needed - but I figure that I can store any other configuration information in the database and have the Seam application respond accordingly.

I've seen this done before with a web application in Tomcat - JSPWiki - where there is only one WAR file on the server but you can easily add instances pointing to different configurations, so I'm sure it ought to be relatively easy. I just can't find out how in JBoss at the moment.

Any pointers gratefully received!

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213306#4213306

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213306



More information about the jboss-user mailing list