P.S.: I've also noticed that jbossmq will allow more than one subscriber to be connected using the same name. I.E. I can have several copies of my client connected all using the name "sub1". I thought that the JMS spec says that only one client at a time can use a particular subscriber name?
I figured it out. My client was acquiring a new ID each time because of a malformed jbossmq-state.xml file. D'OH!
I config'ed jbossmq to use the UserRolesLoginModule, which results in user/password entries in both the jbossmq-state.xml and the user/roles.properties files. It seems that you can ignore the password and role entries in jbossmq-state.xml if you have them defined properly in the .properties files.
My issue was that I had buggered up the jbossmq-state file inadvertantly.
Can you post the example code that
broke your jbossmq-state.xml?
What is just the old chestnut that you were
using an anonymous connection to make a