We have separate war files for each instance with property file for Data source with each war file and single EAR file. When we have deployed the application then multiple instances accessing same database as single EJB is used. During first war deployment the DS is set to first file and during the second war file deployment it will removed by next DS and all instances accessing with that DS. So to connect different database is not achived ? Is there any way to do multiple instances of application and each instance should connect to separate database using Jboss and tomcat integrated ?