activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmicky <michal.gu...@gmail.com>
Subject Re: Endless Failed to log in, Forbidden with hawt.io
Date Mon, 04 Nov 2013 16:45:34 GMT
Hello Francesco,

I was struggling with this issue as well on my side it was due to using
custom startup script which sets custom ACTIVEMQ_OPTS. 

 in apache-activemq-5.9.0/bin/activemq some variables are setup which are
needed for hawkio to authenticate and those are only loaded if ACTIVEMQ_OPTS
variable is not previously declared.

When you run activemq use ps ax and check that JVM used for activemq is not
missing following parameters from apache-activemq-5.9.0/bin/activemq file:

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

Without those authentication for hawio console will not work.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Endless-Failed-to-log-in-Forbidden-with-hawt-io-tp4673183p4673838.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message