1 Reply Latest reply on Aug 21, 2007 5:54 PM by Dave

    Exception launching second node in cluster (Cannot find obje

    Dave Newbie

      I'm running JBOSSAS 4.2.1GA

      I installed JBoss Messating 1.4.0 using the instructions here:

      http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.CR1/html/installation.html

      (Sections 4.1.1 followed by 4.1.3)

      I have two machines that are sharing the same MySQL database ... I have configured one with ServerPeerID = 0 and the other with ServerPeerID = 1

      When I launch the first node, it starts cleanly.

      When I launch the second node, it seems to be starting cleanly and the first node shows that it has joined the cluster. But shortly before the second node finishes initialization, I receive the following stack trace (snipped)

      18:06:32,715 ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
      org.jboss.jms.exception.MessagingJMSException: Failed to invoke
       at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
       at
      <SNIP>
      Caused by: java.lang.IllegalStateException: Cannot find object with ID 8-q1poil5f-1-ozvnil5f-xpin8f-1n12a in dispatcher
       at org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStackRequest.serverInvoke(ConnectionFactoryGetClientAOPStackRequest.java:75)
       at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:165)
       at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
       at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
       at org.jboss.remoting.Client.invoke(Client.java:1550)
       at org.jboss.remoting.Client.invoke(Client.java:530)
       at org.jboss.remoting.Client.invoke(Client.java:518)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
       ... 132 more
      


      I receive a similar exception on the first node:

      18:06:34,816 ERROR [ClusterConnectionManager] Failed to start connection info
      org.jboss.jms.exception.MessagingJMSException: Failed to invoke
       at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:179)
      <SNIP>
      Caused by: java.lang.IllegalStateException: Cannot find object in dispatcher with id 8-kgnpil5f-1-wvwoil5f-p1sux9-1q12a
       at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:100)
       at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:165)
       at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
       at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
       at org.jboss.remoting.Client.invoke(Client.java:1550)
       at org.jboss.remoting.Client.invoke(Client.java:530)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:159)
       ... 21 more
      


      What is my next step for troubleshooting this problem?

      Thanks in advance,
      Dave