Java JMS = HornetQ = javax.jms.JMSSecurityException: Unable to validate user: null ?

Posted by jens on Stack Overflow See other posts from Stack Overflow or by jens
Published on 2010-04-27T12:22:37Z Indexed on 2010/04/27 12:33 UTC
Read the original article Hit count: 538

Filed under:
|

Hello Experts,

I am trying for several hours to get the HornetQ Examples running in Eclipse. Using the Standalone Examples everything works fine, but when I run the examples in Eclipse I get the following error:

javax.jms.JMSSecurityException: Unable to validate user: null

What could this error mean? Where do I have to specify the user? Maybe HornetQ tries to look this user up in "Some Context/Properties" etc , but I do not know where and how to specifiy the user HornetQ is running under.

What i did:

1.)Started Default HornetQ Server with the start.sh Script in the ./bin directory

2.)Copied the QueueExample over to eclpise

3.)Did some minor changes in the config files (to have the same Queue Names...)

(I also tried to disable security completely by setting:

 <security-enabled>false</security-enabled> 

but with no success, always getting the same error. Also when trying to programmatically instance HornetQ only via classes I get this error too).

Thank you very much!! Jens

© Stack Overflow or respective owner

Related posts about java

Related posts about hornetq