0 Replies Latest reply on Feb 19, 2003 9:17 AM by xsilly

    MDB Security Exception

    xsilly

      I have JBoss 3.0.4 on Win2000, a local version for developing.

      I wanted to install a MDB, and took the one from the examples, chapter 6, 2.

      I copied the jar file, which was created after the ant build.xml process in the examples dirctory, to the deploy directory and got the following error message (no idea what I should change):


      15:24:09,187 INFO [MainDeployer] Starting deployment of package: file:/K:/Appl/
      jboss-3.0.4_tomcat-4.1.12/server/default/deploy/chap6-ex2.jar
      15:24:09,406 INFO [EjbModule] Creating
      15:24:09,453 INFO [EjbModule] Deploying TextMDB
      15:24:09,515 INFO [JMSContainerInvoker] Creating
      15:24:09,515 INFO [JMSContainerInvoker] Created
      15:24:09,531 INFO [EjbModule] Created
      15:24:09,546 INFO [EjbModule] Starting
      15:24:09,546 INFO [JMSContainerInvoker] Starting
      15:24:09,562 INFO [DLQHandler] Creating
      15:24:09,687 ERROR [DLQHandler] Initialization failed
      javax.jms.JMSSecurityException: User: null is NOT authenticated
      at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.ja
      va:181)
      at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSe
      curityInterceptor.java:40)
      at org.jboss.mq.server.TracingInterceptor.authenticate(TracingIntercepto
      r.java:589)
      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:759)
      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)