How to add hawt.io to ActiveMQ 5.11.1

I tried to enable the hawtio interface in Apache ActiveMQ as described in How to configure the HawtIO ActiveMQ 5.10.0 interface? which is obviously based on http://sensatic.net/activemq/activemq-and-hawtio.html .

I can see the hawt.io login screen when I access http: // localhost: 12345 / hawtio , but I get " Failed to login. Forbidden

" when I use the login credentials that work fine with the standard web console that comes with ActiveMQ ...

The required changes have been made to the env file:

if [ -z "$ACTIVEMQ_OPTS" ] ; then
    ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal "

      

I see no reason for this. Two notes (I don't know if this might be relevant): as you can see, I changed the default port from 8161 to a different value. And I configured Jetty to only listen on localhost and use ssh tunnel.

Is the Forbidden message a hint for me what I need to look at ./webapps/hawtio/WEB-INF/classes/jolokia-access.xml

?

+3


source to share





All Articles