Yes, that's probably due to the remote port number of the RMI server.

Did you try to force one (and publish on the docker image) ?

Regards
JB

On 01/12/2017 03:47 PM, rsteppac2 wrote:
Hi JB,


jbonofre wrote
you should not use your own MBean server but prefer the Karaf provided
one.

It should work smoothly.

Whyt not using the default Karaf one ?

You mean the server running on port 1099 by default? If yes, then that
worked for remote access as long as Karaf was running in plain VM but not
for a Docker container. With the docker container the way I got jconsole to
connect was to specify the remote server. ( SO thread
<http://stackoverflow.com/questions/31257968/how-to-access-jmx-interface-in-docker-from-outside>
.)


Thanks!
Ralf



--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-authorize-remote-JMX-access-tp4049177p4049179.html
Sent from the Karaf - User mailing list archive at Nabble.com.


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

Reply via email to