1 2 3 Previous Next 31 Replies Latest reply on Feb 9, 2009 6:12 AM by Yong Hao Gao

    Upgrading AS5 to use messaging 1.4.2.GA

    Ross Nicholson Apprentice

      What is the correct procedure for upgrading messaging on AS5?

      I've copied both jboss-messaging.jar and jboss-messaging-client.jar to there correct locations and copied the xml files to the deploy/messaging folder.

      I can produce and consume messages on the same instance but my bridge is not working. I repeatedly get the log message:

      2009-02-05 13:39:47,617 INFO [org.jboss.jms.server.bridge.Bridge] (Thread-314) null Succeeded in reconnecting to servers
      2009-02-05 13:39:47,618 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-44) Thread pool class supplied is not an object name.
      2009-02-05 13:39:47,619 DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] (Thread-42) No SecurityMetadadata was available for speQueueEnd, using default security config
      2009-02-05 13:39:47,619 ERROR [org.jboss.messaging.util.ExceptionUtil] (Thread-42) ConnectionEndpoint[0d5-kep6htqf-1-9qtjgtqf-o95xms-e6u1gs4] sendTransaction [fd5-rep6htqf-1-9qtjgtqf-o95xms-e6u1gs4]
      javax.jms.JMSException: Failed to route Reference[20215254017949969]:RELIABLE to speQueueEnd
       at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:757)
       at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:815)
       at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:489)
       at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101)
       at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:195)
       at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
       at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
       at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java)
       at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82)
       at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
       at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
       at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
       at org.jboss.remoting.Client.invoke(Client.java:1708)
       at org.jboss.remoting.Client.invoke(Client.java:612)
       at org.jboss.remoting.Client.invoke(Client.java:600)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnectionDelegate.java:221)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
       at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:662)
       at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:367)
       at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:254)
       at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:800)
       at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2639)
       at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1784)
       at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88)
       at com.arjuna.ats.arjuna.AtomicAction.end(AtomicAction.java:216)
       at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:240)
       at org.jboss.jms.server.bridge.Bridge.sendBatchXA(Bridge.java:1294)
       at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1354)
       at org.jboss.jms.server.bridge.Bridge.access$1900(Bridge.java:68)
       at org.jboss.jms.server.bridge.Bridge$SourceListener.onMessage(Bridge.java:1677)
       at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
       at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
       at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
      2009-02-05 13:39:47,622 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-42) null Failed to send + acknowledge batch, closing JMS objects
      javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Could not commit transaction.
       at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:255)
       at org.jboss.jms.server.bridge.Bridge.sendBatchXA(Bridge.java:1294)
       at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1354)
       at org.jboss.jms.server.bridge.Bridge.access$1900(Bridge.java:68)
       at org.jboss.jms.server.bridge.Bridge$SourceListener.onMessage(Bridge.java:1677)
       at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
       at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
       at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
      2009-02-05 13:39:47,624 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] (Thread-317) unregistered connection ConnectionEndpoint[0d5-kep6htqf-1-9qtjgtqf-o95xms-e6u1gs4] with remoting session ID ...-fqth6pef-5cu
      2009-02-05 13:39:47,624 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (Thread-317) removing callback handler ServerInvokerCallbackHandler[4sg1u6e-smx59o-fqtgjtq9-1-fqth6pef-5cu+4sg1u6e-smx59o-fqtgjtq9-1-fqth6pej-5cx]
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@10f6d29 from registry
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-317) ServerInvoker (SocketServerInvoker[172.16.66.230:293827807]) removing client callback handler with session id of 4sg1u6e-smx59o-fqtgjtq9-1-fqth6pef-5cu+4sg1u6e-smx59o-fqtgjtq9-1-fqth6pej-5cx.
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (Thread-317) unrecognized listener ID: 4sg1u6e-smx59o-fqtgjtq9-1-fqth6pej-5cx
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@1c7d5a8 from registry
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:293827807] stopped threads in clientpool
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:293827807] stopped threads in threadpool
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:293827807] exiting
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:293827807] stopped
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) decremented org.jboss.remoting.transport.local.LocalClientInvoker@9c2a55's count, current count 1
      2009-02-05 13:39:47,624 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) decremented org.jboss.remoting.transport.local.LocalClientInvoker@9f4640's count, current count 1
      2009-02-05 13:39:47,624 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] (Thread-317) unregistered connection ConnectionEndpoint[7d5-oep6htqf-1-9qtjgtqf-o95xms-e6u1gs4] with remoting session ID ...-fqth6pek-5d1
      2009-02-05 13:39:47,625 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (Thread-317) removing callback handler ServerInvokerCallbackHandler[4sg1u6e-smx59o-fqtgjtq9-1-fqth6pek-5d1+4sg1u6e-smx59o-fqtgjtq9-1-fqth6pen-5d4]
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@c08534 from registry
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-317) ServerInvoker (SocketServerInvoker[172.16.66.230:289210239]) removing client callback handler with session id of 4sg1u6e-smx59o-fqtgjtq9-1-fqth6pek-5d1+4sg1u6e-smx59o-fqtgjtq9-1-fqth6pen-5d4.
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (Thread-317) unrecognized listener ID: 4sg1u6e-smx59o-fqtgjtq9-1-fqth6pen-5d4
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@1694d9f from registry
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:289210239] stopped threads in clientpool
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:289210239] stopped threads in threadpool
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:289210239] exiting
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-317) SocketServerInvoker[172.16.66.230:289210239] stopped
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@9c2a55 from registry
      2009-02-05 13:39:47,625 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-317) removed org.jboss.remoting.transport.local.LocalClientInvoker@9f4640 from registry
      2009-02-05 13:39:47,625 ERROR [org.jboss.jms.client.container.ClosedInterceptor] (Thread-317) ClosedInterceptor.ClientSessionDelegate[8d5-oep6htqf-1-9qtjgtqf-o95xms-e6u1gs4]: method getXAResource() did not go through, the interceptor is CLOSED
      2009-02-05 13:39:47,625 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-317) null Will retry after a pause of 5000 ms
      


      There's a null reference referred to quite a lot. Any ideas?

        1 2 3 Previous Next