How do you remove the JBM service? which JBM service did you remove, the 'standalone' one or the others?
I'm a bit confused so please give more detail, thanks.
The "standalone" JBM service is always deployed and that server is untouched.
Removing the JBM service consists of deleting the messaging directory from the servers' deploy directory (restarting the servers after that).
Removing the JBM service from all of the other servers causes the NPE. Playing with the different deployments, the difference was whether the connection factories were deployed or not.
Thanks. So the condition is:
1. starting a standalone JBM server node.
2. starting second node with messaging directory removed.
3. try connecting to the JBM server from the second node will cause NPE.
If my understand is correct, I think there is some thing you forget to remove in the second node. Do you have a test client for it?
Thanks for your reply.
This is exactly what happens. A standalone client connects OK both to the messaging server and to the second JBoss server accessing EJBs and MBeans.
Reading a previous JIRA issue (https://jira.jboss.org/jira/browse/JBMESSAGING-990) I think that some of the JBM aspects don't get deployed on the second server but I'm not sure how to test or force their deployment.