HornetQ doesn't pick up hornetq-users.xml

Solution Verified - Updated -

Issue

I've created a hornetq-users.xml according to the "Security" section in Chapter 31 for the Hornetq User manual, but I get

[main] 14:43:35,947 SEVERE [ProducerApp]  null javax.jms.JMSSecurityException: Unable to validate user: testuser at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:286)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1.1
  • HornetQ
    • 2.2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.