7 Replies Latest reply on Mar 5, 2012 10:14 AM by ~= ziggy =~

    JBoss AS 6.0 Final - Unable to validate user: null for check type

    Roger Lee Apprentice

      I am moving a live JBoss SEAM Application from Jboss 4.2.3 to JBoss AS 6.0 on Windows 7. I used plain vanilla JMS in JBoss 4.2.3.

       

      I have created a queue in the hornet-jms.xml

       

      <queue name="NOTiFYPiNPOiNTMessagesQueue">

      <entry name="/queue/NOTiFYPiNPOiNTMessagesQueue"/>

      </queue>

       

      When I start Jboss AS 6.0 I get an error: "Unable to validate user: null for check type CONSUME";

       

      20:35:57,813 INFO [HornetQActivation] Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQ

      ResourceAdapter@114ea11 destination=queue/NOTiFYPiNPOiNTMessagesQueue destinationType=javax.jms.Queue ack=Auto-acknowledge durable=f

      alse clientID=null user=null maxSession=15)

      20:35:57,819 ERROR [HornetQActivation] Unable to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQReso

      urceAdapter@114ea11 destination=queue/NOTiFYPiNPOiNTMessagesQueue 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.NOTiFYPiNPOiNTMessagesQueue]

      at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:287) [:6.0.0.Final]

      at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateConsumer(ClientSessionImpl.java:1556) [:6.0.0.Final]

      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:447) [:6.0.0.Final]

      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:392) [:6.0.0.Final]

      at org.hornetq.core.client.impl.DelegatingSession.createConsumer(DelegatingSession.java:201) [:6.0.0.Final]

      at org.hornetq.ra.inflow.HornetQMessageHandler.setup(HornetQMessageHandler.java:165) [:6.0.0.Final]

      at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:291) [:6.0.0.Final]

      at org.hornetq.ra.inflow.HornetQActivation.handleFailure(HornetQActivation.java:539) [:6.0.0.Final]

      at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:577) [:6.0.0.Final]

      at org.jboss.resource.work.WorkWrapper.run(WorkWrapper.java:172) [:6.0.0.Final]

      at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [:2.0.0.CR7]

      at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:801) [:2.0.0.CR7]

      at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) [:2.0.0.CR7]

      at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:821) [:2.0.0.CR7]

      at java.lang.Thread.run(Unknown Source) [:1.6.0_20]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [:2.0.0.CR7]

       

      I have Googled this error but no definite answer. Any futher suggestions?