I'm using the port-bindings.xml method to have two jbosses running on the same 
machine. Each jboss talks to a different oracle database and has a different 
database in its XXX-ds.xml. However both use the same datasource names.

If I start jboss instance "A" it talks to database "X". But now if I start 
jboss instance "B" (which is supposed to talk to database "Y", and access jboss 
instance "A", now instance "A" is talking to database "Y".

In other words, starting off the second jboss instance seems to make the first 
jboss instance swap databases.

Now, both jboss instances' datasources are named the same thing, but I wouldn't 
have thought they ought to conflict, but apparently they are. Surely I don't 
have to have different datasource names do I? The datasource names are hard 
coded into the application.


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to