ERROR HQ224018: Failed to create session: HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: null]
当 Jboss EAP 6.3 服务器即将接收 JMS 消息时。我已通过
remoting
成功验证用户子系统那么为什么用户是空的?如何克服这个错误?
最佳答案
EAP 文档鼓励您:
(...) set allowClientLogin to true (...) If you would like HornetQ to authenticate using the propagated security then set the authoriseOnClientLogin to true also.
但是由于 HORNETQ-883 bug您必须关闭消息的安全性:
<hornetq-server>
<!-- … -->
<security-enabled>false</security-enabled>
<!-- … -->
</hornetq-server>
关于Jboss EAP 6.3 : HQ119031: Unable to validate user: null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26420490/