Again,

as already stated, neither hawtio nor jolokia are taking care of the
webcontainer port.
That's what Pax Web is for, it's a http-Service and therfore make sure you
configure this
service appropriately. In your case make sure to set the

org.osgi.service.http.port to another port than 8181, cause that one is
already used by your first instance running.

by the way you should see execptions in your log for servers 2 to 4 because
of "Port already in use".

regards, Achim


2015-09-02 17:44 GMT+02:00 dario.pezzi <dario.pe...@gmail.com>:

> Thanks for your responses.
>
> All instances (4 instances) have hawtio 1.4.4 installed in servicemix.
> I thought that installing hawtio in Karaf would automatically installed
> Jolokia too, but I did not see the package.
>
> Now I found that jolokia actually is installed and I can query
> via:http://192.168.100.4:8181/hawtio/jolokia
>
> So I change my original question.
> http://192.168.100.4:8181/hawtio/jolokia is working fr instances 1.
> How can I find the port is using hawtio for the other 3 instances?
>
> In this way I don't need to install jolokia agent again.
>
>
> Regards, Dario
>
>
>
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/jolokia-osgi-multiple-instances-tp5722924p5722926.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to