To all: System information: JBoss-4.0.0, Windows XP Pro, Database: Oracle 9i I apologize in advance if I posted this in the wrong forum. I?m trying to solve a problem where I have a web application that needs to access two different instances of a database (ex. we call the instances dwm1 and dwm2) that reside on the same machine. These two databases have the same exact database schema but the data might be different. The reason why there are two different instances is because a company was acquired and the database is kept on the same machine but the data is kept separate. The data that I would get from my web application has to be kept separate. Since the database schema is the same, I have one application EAR file which I would like to reuse for the two instances. To make a distinction between the two, I was thinking of having two different contextroot so it would access the two different instances. http://localhost:8080/dwm1 http://localhost:8080/dwm2
Is there a way to do this? If I were to make different EAR files and deploy it, it will probably cause conflict due to duplicate beans. Thanks you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871909#3871909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871909 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
