this isn't related to jolokia, jolokia is just a servlet, so you actually
are having two servers with two embedded web-containers running.
Therefore make sure one of your servers uses another port.
You'll find that in the org.ops4j.pax.web.cfg in the etc folder. There make
sure to set the following to a port available:
org.osgi.service.http.port

regards, Achim


2015-09-02 9:40 GMT+02:00 dario.pezzi <[email protected]>:

> I have on the same windowsXP computer different instances of servicemix.
>
> I installed jolokia on two instances following Gert Vanthienen's info
> (
> http://servicemix.396122.n5.nabble.com/programmatically-get-server-load-information-from-Apache-ServiceMix-using-JMX-td5716769.html
> )
> to activate a bridge to jmx.
>
> On the two instances the osgi is active but I can connect only to 1
> instances from my browser () to have jmx metrics.
> This address http://192.168.100.4:8181/jolokia/ connect only to the first
> instances.
> Result:
>
> {"timestamp":1441179598,"status":200,"request":{"type":"version"},"value":{"protocol":"7.0","agent":"1.1.1","info":{"product":"felix","vendor":"Apache","version":"3.0.9.fuse-03-11"}}}
>
> How can I browse metric of the second instances? Do I need to change
> default
> port?
> Keep in mind that I didn't change anythink on the default jolokia conf.
>
> If I need to change default port can you write some info.
>
> Thanks, Dario
>
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/jolokia-osgi-multiple-instances-tp5722924.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