- 
        1. Re: fails to start: IllegalStateException: Router already hatimfox Jun 29, 2007 7:48 AM (in response to bartvh)Have you configured each node to have a unique server id? 
 http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/installation.html#install.automatedclustered
- 
        2. Re: fails to start: IllegalStateException: Router already habartvh Jun 29, 2007 8:21 AM (in response to bartvh)"timfox" wrote: 
 Have you configured each node to have a unique server id?
 yes, I have server peer id 0 and 2.
- 
        3. Re: fails to start: IllegalStateException: Router already hatimfox Jun 29, 2007 8:29 AM (in response to bartvh)Can you post the contents of your JBM_POSTOFFICE table? 
- 
        4. Re: fails to start: IllegalStateException: Router already habartvh Jun 29, 2007 8:41 AM (in response to bartvh)It is rather big. Here's a subselect: mysql> select * from JBM_POSTOFFICE where JBM_POSTOFFICE.QUEUE_NAME = 'TraceListener.TraceListener'; +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+ | POSTOFFICE_NAME | NODE_ID | QUEUE_NAME | COND | SELECTOR | CHANNEL_ID | CLUSTERED | +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+ | Clustered JMS | 2 | TraceListener.TraceListener | topic.Tracking | NULL | 1018 | Y | | Clustered JMS | 0 | TraceListener.TraceListener | topic.Tracking | NULL | 1053 | Y | | Clustered JMS | 0 | TraceListener.TraceListener | topic.Tracking | NULL | 1083 | Y | +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+ 
 In this case, I first started node 0, and then node 2. I even deleted all of JBM_POSTOFFICE before restarting the two servers.
 Additional notes:
 - I am using RoundRobin post office.
 - I am currently using svn trunk version 2779, because of a bug in the .GA version.
- 
        5. Re: fails to start: IllegalStateException: Router already hatimfox Jun 29, 2007 8:50 AM (in response to bartvh)Can you replicate this (from a cleared DB) ? 
 If so, can you give instructions?
 Thx
- 
        6. Re: fails to start: IllegalStateException: Router already habartvh Jun 29, 2007 9:20 AM (in response to bartvh)I did a delete of JBM_POSTOFFICE, JBM_MSG and JBM_MSGREF. And then: 
 Start up the two nodes, wait until both are started.kill -9 the first node and start it up againwait until the first node is started again
 Now I have the the situation like in the select statement above. If I now stop the two servers and try to start one again, it will always fail.
 I hope this is enough to reproduce? I can try to give more information after this weekend.
- 
        7. Re: fails to start: IllegalStateException: Router already habartvh Oct 10, 2007 6:57 AM (in response to bartvh)This problem appeared to have something to do with how the run.sh script works: my kill was killing the run.sh script, but the jboss server kept running. 
 (I was using kill instead of plainly hitting Ctrl-C because the latter shuts down jboss cleanly, so there is no cluster instance failure detected.)
- 
        8. Re: fails to start: IllegalStateException: Router already hatimfox Oct 10, 2007 7:03 AM (in response to bartvh)If you're running Linux, pstree is a nice utility which displays your processes in a tree. It should be pretty clear to see from that the processes corresponding to the script and java itself. 
 
    