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.
Do you have the user defined in the
Make sure he is defined in the User section and added as a user to a Role.