MDB and Security Domain
seanx Apr 10, 2003 6:23 PMI am testing 3.0.6 and 3.0.7. Both give the same error.
I am using tempate project download and compiled from JBoss site. The was not problem in 3.0.1.
I defined security-domain, guestaccess, in both login-config.xml and jboss.xml files. I also defined unauthenticatedIndentity to be guest. But it looks like the Secure Domain was added but never initialized.
I tried to attach login-config.xml and jboss.xml but "attach and post" button does not work. I will try to attach the file later.
Please HELP!!!
The exception looks like this:
--------------
17:50:56,919 INFO [EjbModule] Deploying test/TestMessage
17:50:57,019 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
curity.plugins.JaasSecurityManager@4cc81c
17:50:57,022 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
.TimedCachePolicy@65ddd0
17:50:57,022 INFO [JaasSecurityManagerService] Added guestaccess, org.jboss.sec
urity.plugins.SecurityDomainContext@45959c to map
17:50:57,042 INFO [JMSContainerInvoker] Creating
17:50:57,042 INFO [JMSContainerInvoker] Created
17:50:57,203 INFO [EjbModule] Created
17:50:57,204 INFO [EjbModule] Starting
17:50:57,214 INFO [JMSContainerInvoker] Starting
17:50:57,215 INFO [DLQHandler] Creating
17:50:57,222 ERROR [DLQHandler] Initialization failed
javax.jms.JMSSecurityException: User: null is NOT authenticated
at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.ja
va:184)
at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSe
curityInterceptor.java:40)
at org.jboss.mq.server.TracingInterceptor.authenticate(TracingIntercepto
r.java:594)
at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.ja
va:288)
at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:302)
at org.jboss.mq.Connection.authenticate(Connection.java:762)
at org.jboss.mq.Connection.(Connection.java:233)
at org.jboss.mq.Connection.(Connection.java:264)
at org.jboss.mq.SpyConnection.(SpyConnection.java:59)
at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnection
Factory.java:116)
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:12
5)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
136)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContaine
rInvoker.java:608)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContain
erInvoker.java:824)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
65)
at org.jboss.ejb.MessageDrivenContainer.start(MessageDrivenContainer.jav
a:200)
at org.jboss.ejb.Container.invoke(Container.java:756)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:1003)
at $Proxy4.start(Unknown Source)
...
-----------------