2 Replies Latest reply on Jan 23, 2007 1:00 PM by Benjamin Cuthbert

    Txconnectionmanager error occured

    Benjamin Cuthbert Newbie

      All when i try and send an abject messages from my MDB to my EJB and then the EJB trys to publish that to a topic, i get this errror

      17:26:03,212 INFO [AutobahnMonitorMDB] Message sent
      17:26:03,243 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmana
      ger.TxConnectionManager$TxConnectionEventListener@8a137c[state=NORMAL mc=org.apache.activemq.ra.Acti
      veMQManagedConnection@1dae27f handles=0 lastUse=1169573159743 permit=true trackByTx=true mcp=org.jbo
      ss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@9830bc context=org.jboss.resource.c
      onnectionmanager.InternalManagedConnectionPool@1a79447 xaResource=org.apache.activemq.ra.ActiveMQMan
      agedConnection$1@14c4066 txSync=null]
      javax.jms.JMSException: java.lang.NullPointerException
       at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:46)
       at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1447)
       at org.apache.activemq.ActiveMQConnection$2.run(ActiveMQConnection.java:1420)
       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPo
      olExecutor.java:650)
       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx
      ecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.apache.activemq.broker.AbstractConnection.processBeginTransaction(AbstractConnection.
      java:313)
       at org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:93)
       at org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:237)
       at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:61)
       at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:92)
       at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:67)
       at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:12
      4)
       at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:123)
       at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:88)
       at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
       ... 1 more
      17:26:03,306 ERROR [TxConnectionManager] There is something wrong with the pooling?
      java.lang.IllegalStateException: afterCompletion called with wrong tx! Expected: TxSync18350021{tx=T
      ransactionImpl:XidImpl[FormatId=257, GlobalId=dblonws19800/34, BranchQual=, localId=34] wasTrackByTx
      =true enlisted=true}, actual: null