Hi,
I have a JAR file with two session ejbs and one message driven bean in it. The appropiate Queue and connectionFactory is already set-up, that is, the one the MDB uses.
However, when I try to deploy the Jar file, I get the following exception:
17:23:23,325 WARN [JMSContainerInvoker] JMS provider failure detected:
javax.jms.JMSSecurityException: User: null is NOT authenticated
at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:181)
at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:40)
at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:575)
at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:288)
at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:302)
at org.jboss.mq.Connection.authenticate(Connection.java:759)
etc.............
In the Jbossmq-state.xml file I have setup the relevant username and password that I use to get a context.
In the Jbossmq-destinations-service.xml, I set up the queue as follows:
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
The user is a member of the "subscriber" role above.
Can anybody see where I'm going wrong ??
Please Help !!!
Thanks in advance,
Mick