I tried to make a topic durable by setting <subscription-durability>Durable</subscription-durability> in my MyBean-ejb-jar.xml.
I got: Connection not authorized to do durable subscription on topic.
So, I put <mdb-user>, <mdb-passwd> and <mdb-client-id> in my MyBean.jboss.xml and put matching
, , entries in my jbossmq-state.xml file.
Now I get: JMSSecurityException: User: myUser is NOT authorized.
Can anyone tell me what I'm missing here? Thanks.
Brian Tarbox
Hi,
Do you have the user defined in the
<jboss_dist>server<all/default/minimal>/conf/jbossmq-state.xml ?
Make sure he is defined in the User section and added as a user to a Role.