-
1. Re: java.lang.NullPointerException at org.jboss.jms.client.c
gaohoward Jun 5, 2009 1:11 AM (in response to dejanb)Hi,
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. -
2. Re: java.lang.NullPointerException at org.jboss.jms.client.c
dejanb Jun 5, 2009 10:47 AM (in response to dejanb)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. -
3. Re: java.lang.NullPointerException at org.jboss.jms.client.c
gaohoward Jun 7, 2009 11:29 PM (in response to dejanb)Hi,
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? -
4. Re: java.lang.NullPointerException at org.jboss.jms.client.c
dejanb Jun 7, 2009 11:53 PM (in response to dejanb)Thanks for your reply.
Yes,
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.
Regards,
Deyan