I found the root cause is the JMX stub can not be reached
when the service is bound to the IP address assigned by VPN. This IP is
behind the NAT and permission exception is thrown when trying to be
reached. The workaround is to force bind the JMX server to the
public/accessible IP address. When running services locally, adding JVM
option ”-Djava.rmi.server.hostname=127.0.0.1” to the startup scripts
will solve the issue.
|
Showing posts with label any connect. Show all posts
Showing posts with label any connect. Show all posts
Tuesday, May 13, 2014
Q&A for Activemq JMX connection issue (permission exception) using AnyConnect VPN
Labels:
activemq,
any connect,
JMX,
permission exception,
vpn
Subscribe to:
Posts (Atom)