JBoss Community

Using multiple DataSources

created by Sergiu Pienar in Datasource Configuration - View the full discussion

I am trying to use multiple Local-Tx DataSources in JBoss 5.1.0.

By default JBoss does not allow this , but by setting the parameter

 

com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow to "true" in conf/jbossts-properties.xml enables the usage of mulitple Local-Tx DS's.

 

However this is not recommended (see http://community.jboss.org/wiki/Multiple1PC ). How can I use multiple DS's in a safe manner?

 

Thank you.

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community