4 Replies Latest reply: Jun 28, 2012 1:02 PM by António Ribeiro RSS

HornetQException[errorCode=105 message=Unable to validate user: null]

mike just Master

Has anyone met this error when trying to get a topic connection by executing this line of code:

 

TopicConnectionFactory cf = (TopicConnectionFactory) context
                    .lookup("ConnectionFactory");
            TopicConnection topicConnection = cf.createTopicConnection();

 

The error throws when coming to cf.createTopicConnection() as below.

 

19:15:08,765 ERROR [org.hornetq.core.protocol.core.impl.HornetQPacketHandler] (Old I/O server worker (parentId: 1133208193, [id: 0x438b6281, /127.0.0.1:5445]))
Failed to create session : HornetQException[errorCode=105 message=Unable to validate user: null]
        at org.hornetq.core.security.impl.SecurityStoreImpl.authenticate(SecurityStoreImpl.java:147) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.server.impl.HornetQServerImpl.createSession(HornetQServerImpl.java:807) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handleCreateSession(HornetQPacketHandler.java:187) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handlePacket(HornetQPacketHandler.java:85) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:508) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:556) [hornetq-core-2.2.13.Final.jar:]
        at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:517) [hornetq-core-2.2.13.Final.jar:]

I checked related docs from JBoss 7 manual and googled this error but it seems not engough expierence is shared from internet. I donot know what user the hornetq is trying to authenticate.  Does anybody have such an expierence about this error?