6 Replies Latest reply on Jun 15, 2015 10:09 AM by Wolfgang Mayer

    message=HQ119032: User: guest doesnt have permission=CONSUME on address {2}]

    Wolfgang Mayer Master

      My application is using a jms queue. It runs fine on wildfly-9.0.0.CR1. But on wildfly-9.0.0.CR2 I get the message:

      2015-06-13 12:24:21,983 ERROR [org.hornetq.ra] (default-threads - 1) HQ154003: Unable to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@1b84ed2f destination=queue/ticket2rock destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=guest password=**** maxSession=15): HornetQSecurityException[errorType=SECURITY_EXCEPTION message=HQ119032: User: guest doesnt have permission=CONSUME on address {2}]

          at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:399)

          at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateConsumer(ClientSessionImpl.java:2064)

          at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:527)

          at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:474)

          at org.hornetq.core.client.impl.DelegatingSession.createConsumer(DelegatingSession.java:206)

          at org.hornetq.ra.inflow.HornetQMessageHandler.setup(HornetQMessageHandler.java:184)

          at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:340)

          at org.hornetq.ra.inflow.HornetQActivation.handleFailure(HornetQActivation.java:768)

          at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:823)

          at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:226)

          at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)

          at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)

          at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)

          at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828)

          at java.lang.Thread.run(Thread.java:745)

          at org.jboss.threads.JBossThread.run(JBossThread.java:320)

       

       

      guest=CONSUME in application-roles.properties does not help.

      Any idea?