4 Replies Latest reply on Dec 10, 2010 10:21 AM by Sergiu Pienar

    Using multiple DataSources

    Sergiu Pienar Apprentice

      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.