Hi Jean-Baptiste,

Thanks a lot for the info. When I change the properties to 0.0.0.0, I can 
connect with JConsole again. 

However I am wondering why this is necessary at all. The server and the 
jconsole are running on the same system, so why does the connection not work 
with service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root if I use the 
default properties?

Best regards
Stephan

-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]] 
Sent: Dienstag, 21. Februar 2017 09:57
To: [email protected]
Subject: Re: JMX Console with Karaf 4.1.x

Hi Stephan,

if you take a look in etc/org.apache.karaf.management.cfg, you can see we 
change the host address from 0.0.0.0 to 127.0.0.1.

Can you change with:

rmiRegistryHost=0.0.0.0
rmiServerHost=0.0.0.0

in etc/org.apache.karaf.management.cfg and restart.

I'm pretty sure it will work as in 4.0.8.

Regards
JB

On 02/21/2017 08:46 AM, Siano, Stephan wrote:
> Hi,
>
>
>
> I was trying out karaf 4.1.x and noticed that connection with the JMX 
> console does not work with that (at least not in the way it works with 
> karaf 4.0.8). I tried both 4.1.0 and the current 4.1.1-SNAPSHOT.
>
>
>
> Has the JMX MBean server changed on purpose in some way between this 
> versions or is this just a bug (in that case I could open a JIRA item 
> for that).
>
>
>
> Best regards
>
> Stephan
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to