8 Replies Latest reply on Oct 10, 2007 7:03 AM by timfox

    fails to start: IllegalStateException: Router already has lo

    bartvh

      Setup:A two node cluster JBoss 4.2 with JBM 1.3.0 serverMySQL persistenceA distributed topic on both nodesAn MDB with a durable subscription and client ID, installed on both nodes
      During tests, I have been starting and stopping the nodes one after the other and also together, but now I have arrived at a situation where starting either node fails:

      java.lang.IllegalStateException: Router[4da9ec16] already has local queue
       at org.jboss.messaging.core.plugin.postoffice.cluster.RoundRobinRouter.add(RoundRobinRouter.java:171)
       at org.jboss.messaging.core.plugin.postoffice.cluster.RoundRobinRouter.add(RoundRobinRouter.java:114)
       at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.addToConditionMap(DefaultClusteredPostOffice.java:1536)
       at org.jboss.messaging.core.plugin.postoffice.DefaultPostOffice.addBinding(DefaultPostOffice.java:753)
       at org.jboss.messaging.core.plugin.postoffice.DefaultPostOffice.loadBindings(DefaultPostOffice.java:619)
       at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.loadBindings(DefaultClusteredPostOffice.java:1594)
       at org.jboss.messaging.core.plugin.postoffice.DefaultPostOffice.start(DefaultPostOffice.java:141)
       at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.start(DefaultClusteredPostOffice.java:327)
       at org.jboss.messaging.core.plugin.ClusteredPostOfficeService.startService(ClusteredPostOfficeService.java:449)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)


      A trace log of the server shows that the server is trying two times to add a binding for the durable subscription.