We are running a two node cluster on Windows servers.
JBoss is running as a service - using JavaService.
We have now noticed, that when the the server is shutdown from the service interface (effectively calling System.exit(0) via org.jboss.Main systemExit), the serverpeerid/nodeid is still visible in NodeIDView in jboss.messaging PostOffice in the jmx-console.
The effect of this is that we get an error (saying that there is already a post office in the cluster with the same node id), when restarting the node.
When we call shutdown from the command line, everything seems to work fine.
Is this a known problem, and is there a known solution?