kc7b...@gmail.com
unread,Apr 22, 2015, 12:04:25 PM4/22/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to camunda-...@googlegroups.com, kc7b...@gmail.com
Thanks, that seems to have gotten the CDI to work. Now I am getting another error:
2015-04-22 12:04:15,805 WARN [com.arjuna.ats.arjuna] (pool-12-thread-1) ARJUNA012140: Adding multiple last resources is disallowed. Trying to add LastResourceRecord(XAOnePhaseResource(LocalXAResourceImpl@58bc357e[connectionListener=616891d4 connectionManager=1aa3e8b warned=false currentXid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac0d1e1d:-7448eb38:5537c661:de, node_name=1, branch_uid=0:ffffac0d1e1d:-7448eb38:5537c661:fb, subordinatenodename=null, eis_name=java:jboss/datasources/mir-DS > productName=PostgreSQL productVersion=9.4.1 jndiName=java:jboss/datasources/mir-DS])), but already have LastResourceRecord(XAOnePhaseResource(LocalXAResourceImpl@36b10276[connectionListener=6cb924c1 connectionManager=5986c223 warned=false currentXid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac0d1e1d:-7448eb38:5537c661:de, node_name=1, branch_uid=0:ffffac0d1e1d:-7448eb38:5537c661:e0, subordinatenodename=null, eis_name=java:jboss/datasources/ProcessEngine > productName=PostgreSQL productVersion=9.4.1 jndiName=java:jboss/datasources/ProcessEngine]))
2015-04-22 12:04:15,810 WARN [com.arjuna.ats.jta] (pool-12-thread-1) ARJUNA016087: TransactionImple.delistResource - unknown resource
2015-04-22 12:04:15,812 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (pool-12-thread-1) SQL Error: 0, SQLState: null
2015-04-22 12:04:15,812 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (pool-12-thread-1) javax.resource.ResourceException: IJ000457: Unchecked throwable in managedConnectionReconnected() cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@616891d4[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@3fa760ec connection handles=0 lastUse=1429718655811 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@16474d98 mcp=SemaphoreArrayListManagedConnectionPool@5e77e9ad[pool=mir] xaResource=LocalXAResourceImpl@58bc357e[connectionListener=616891d4 connectionManager=1aa3e8b warned=false currentXid=null productName=PostgreSQL productVersion=9.4.1 jndiName=java:jboss/datasources/mir-DS] txSync=null]
2015-04-22 12:04:15,817 ERROR [stderr] (pool-12-thread-1) javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
My guess is there is something wrong with Camunda and my code not properly sharing the EntityManager or the transaction manager. Any ideas?
David