2

I have installed hawtio in the couple of my Apache Karaf 2.2.7 instances by executing commands:

features:addurl mvn:io.hawt/hawtio-karaf/1.0/xml/features
features:install hawtio

The problem is that I have four linux boxes and four Karaf instances, so I have installed it on each of them. Everything is fine except that the hawtio console ports are different. I know that by default it should be started on 8181. On two of my servers it started on: 8182 and on the other twos: 7181. I am not sure, maybe 8181 is used by something, but still, how does hawtio chooses the port? Can I somehow get in control of this and change the port manually to always be the same?

4

1 回答 1

2

Hawtio 只是一个运行在 Karaf 和 Pax-Web 之上的 Web 应用程序,因此您应该检查 org.ops4j.pax.web.cfg 以了解端口的配置方式。

于 2013-04-09T12:57:37.920 回答