Search code examples
apache-karafhawtio

Connecting from one Hawtio to another


I'm struggling to get Hawtio remote connections working. I've two servers, both running Hawtio inside Karaf. One server is running an app server for a website and the other is running Camel and ActiveMQ to provide integration and messaging. I've an Apache reverse proxy in front of the messaging box, through which I can access Hawtio. I want to use this as the route in for administration tools.

My understanding is that I should be able to connect through the middleware box's Hawtio onto the app server's Hawtio. However, I can't get the connection screen to let me through. I've tried numerous combinations of IP addresses, hostnames, paths and clicked the "proxy" box on and off but to no avail. Sometimes a log-in screen appears but it appears if I put in nonsense as the hostname, so I think it is a red herring.

If I open up the firewall, I can access Hawtio directly on both boxes.

screenshot from 2014-03-17 17 58 53

What am I missing?

Thanks for any guidance.

J.


Solution

  • I eventually worked around this. Instead of installing Hawtio in every container, I only installed Jolokia. I then reverse-proxied this out of the web server layer and used the Chrome plug-in to connect to each container.