WARN [com.arjuna.ats.arjuna] ARJUNA-12140 Adding multiple last resources is disallowed. Current resource is com.arjuna.ats.internal.arjuna.abstractrecords.LastResourceRecord@bc64ad WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null ERROR [org.hibernate.util.JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 0:ffffc0a80065:126a:4ed8ff2b:2b status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 0:ffffc0a80065:126a:4ed8ff2b:2b status: ActionStatus.ABORT_ONLY >)) ERROR [STDERR] javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
Hebert_Coelho
O que ele disse foi Cannot open connection.
Pq vc não faz um teste? Testa apenas com o DB e depois com o outro separadamente para ver se funciona.
brccosta
Pus o StackTrace para melhor verificar. Separadamente funciona normal.
Tenho vasculhado na internet e nenhum fórum trás alguma resposta válida ao problema… Parece bem recorrente.