Hallo, 

I'm using a single TomEE instance to deploy 2 Webapplications. Both
applications use a different database and different Entities. 

I have both DataSources configured in the tomee.xml like this: 

In Application 1 I use this persistence.xml 

In Application 2 I use this persistence.xml 


This is correct or? Now both Application should use a different databases
or?


However it is not the case. Both Applications use the same database
connection (jdbc/DB1). Why is that the case? Have I found a very serious bug
or did I do something wrong with the configuration? 





--
View this message in context: 
http://openejb.979440.n4.nabble.com/TomEE-uses-wrong-DataSource-for-JPA-tp4666124.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to