0 Replies Latest reply on Jun 27, 2013 9:51 AM by kmd_sqh

    JBoss EAP 6.1 Problem connecting remotely to HornetQ

    kmd_sqh Newbie

      Hi,

       

      I'm trying to use HermesJMS to connect to a JMS queue on JBOSS EAP 6.1. I have created an application user, app, with role=guest.

       

      When HermesJMS tries to connect to one of the JBOSS JMS queues, I get this exception in server.log:

       

      HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: app]

       

      Does someone know what is wrong here?

       

      The problem is very similar to this post: https://community.jboss.org/message/823777#823777

       

      Thanks in advance

       

      Steffen

       

      Update:

       

      Problem solved. It was due to a faulty configuration of HermesJMS.

       

      When adding destinations to Hermes session the username and password properties shold be left blank.

       

      Message was edited by: kmd_sqh