开发者

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

I am trying for several ho开发者_如何学JAVAurs 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


Did you have a look at this thread? It seems you need to the permission 'createTempQueue' to the example role.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜