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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content