Ah, that was it. After adding those lines to the startup script, it works.

Thank you for the quick and effective help!

On 10/31/13 09:40, Dejan Bosanac wrote:
That's strange, admin/admin should do the trick

You can turn on debug logging for hawtio, by adding

log4j.logger.io.hawt=DEBUG

to the conf/log4j.properties

and see what's the exact error.

Also, it's worth checking that appropriate system properties are set by
startup script, like

-Dhawtio.realm=activemq -Dhawtio.role=admins
-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal
-Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config

It'd be good to try removing those as well and see if everything works
without authentication.


Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosa...@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Thu, Oct 31, 2013 at 8:57 AM, Attila Nagy <b...@fsn.hu> wrote:

Hi,

I must be overlooking something really trivial, because I can't log in on
the new (hawtio) console on a fresh installed activemq 5.9.0 with the
default configs.

The old console is working nicely with the default admin/admin l/p, but I
can't login in with whatever I think hawtio could use as user name and
password from the config files.
I always get a "Failed to log in, Forbidden" message.

I access the web server through an ssh forward of port 8161, if that
counts.

What's needed to log in?

Thanks,


Reply via email to