-
2. Re: Connection not autorized to addMessages to destination
charleswong8 Nov 12, 2004 2:45 AM (in response to charleswong8)Dear Scott,
Thanks for your prompt reply.
However, I have configured (my JBoss version is v3.2.3.) my state manager as:
myusername
mypassword
guest
guest
guest
myusername
and in login-config.xml as:
<!-- Security domain for JBossMQ -->
<application-policy name = "jbossmq">
<login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
</login-module>
</application-policy>
I still encounter the following error:
"javax.jms.JMSSecurityException: Connection not autorized to addMessages to destination: MY_QUEUE"
It seems that the queue cannot get my username and password packed in JMS message sent to the queue.
Do you have any idea? I barely need help to solve the problem. Thanks!!