[jboss-user] [JBoss Messaging] - Re: Porting WLS8.1 to JBoss5 - JNDI lookup for XA factory re

lwalter do-not-reply at jboss.com
Thu Apr 30 01:21:20 EDT 2009


Thanks for the quick response. I was under the impression I needed JCA for transactional JMS. I've removed the tx-connection-factory and now the code snippet I posted works. 

However.. I now get an error like this:

  | 2009-04-30 19:15:11,619 ERROR [org.jboss.messaging.util.ExceptionUtil] ConnectionEndpoint[h3-67tn85uf-1-hjjm85uf-wxb1yo-f1rp1a] sendTransaction [w7-rezp85uf-1-hjjm85uf-wxb1yo-f1rp1a]
  | javax.jms.IllegalStateException: Cannot find session with id r7-lczp85uf-1-hjjm85uf-wxb1yo-f1rp1a
  | 	at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:835)
  | 	at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:497)
  | 
  | ..stacktrace snipped...
  | 2009-04-30 19:15:11,619 WARN  [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XA_RETRY
  | 2009-04-30 19:15:11,619 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action a3d1b33:c3e:49f96bb1:6f received heuristic decision: TwoPhaseOutcome.HEURISTIC_HAZARD
  | 2009-04-30 19:15:11,619 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id a3d1b33:c3e:49f96bb1:6f failed.
  | 2009-04-30 19:15:11,619 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD .
  | 

Is this still a JMS problem or should I be asking in the JTA forum?

Thanks heaps,
Len

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227737#4227737

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227737



More information about the jboss-user mailing list