"Unable to validate user" during MDB deployment in JBoss EAP 5.1

Solution Unverified - Updated -

Issue

  • When using HornetQ as the JMS provider this WARN is printed in the log when an MDB is deployed:
    WARN  [HornetQActivation] Failure in HornetQ activation org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@135954c destination=queue/A destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)
    HornetQException[errorCode=105 message=Unable to validate user: null for check type CONSUME for address jms.queue.A]
      at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:287)
      at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateConsumer(ClientSessionImpl.java:1556)
      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:447)
      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:392)
      at org.hornetq.core.client.impl.DelegatingSession.createConsumer(DelegatingSession.java:201)
      at org.hornetq.ra.inflow.HornetQMessageHandler.setup(HornetQMessageHandler.java:165)
      at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:295)
      at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:574)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
  • This ERROR comes soon after the WARN:
    ERROR [HornetQActivation] Unable to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@7e6024 destination=topic/testTopic destinationType=javax.jms.Topic ack=Auto-acknowledge durable=true clientID=TopicMDB subscription=TopicMDB user=null maxSession=15)
    HornetQException[errorCode=105 message=Unable to validate user: null for check type CONSUME for address jms.queue.A]
       at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:287)
       at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateConsumer(ClientSessionImpl.java:1556)
       at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:447)
       at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:413)
       at org.hornetq.core.client.impl.DelegatingSession.createConsumer(DelegatingSession.java:187)
       at org.hornetq.ra.inflow.HornetQMessageHandler.setup(HornetQMessageHandler.java:143)
       at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:295)
       at org.hornetq.ra.inflow.HornetQActivation.handleFailure(HornetQActivation.java:540)
       at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:578)
       at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
       at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content