Unable to make a remote JMX connection to tc server
Hi,
I am trying to connect to my tc server developer edition 2.0.3 installation via jconsole/visualvm(i.e. via remote jmx), but I am unable to do so. In my server.xml of spring-instance-insight, I have the following setting :-
Code:
<Listener className="com.springsource.tcserver.serviceability.rmi.JmxSocketListener"
port="${jmx.port}"
bind="10.120.0.152"
useSSL="false"
passwordFile="${catalina.base}/conf/jmxremote.password"
accessFile="${catalina.base}/conf/jmxremote.access"
authenticate="false"/>
So, I cannot connect to this server with visualvm/jconsole remotely using the connection string 10.120.0.152:6969. However, I am able to connect to the tc server if it is on my local machine. So, with the following server.xml setting:-
Code:
<Listener className="com.springsource.tcserver.serviceability.rmi.JmxSocketListener"
port="${jmx.port}"
bind="127.0.0.1"
useSSL="false"
passwordFile="${catalina.base}/conf/jmxremote.password"
accessFile="${catalina.base}/conf/jmxremote.access"
authenticate="false"/>
I can connect to the tc server if the visualvm instance is on the same machine as the server and using the connection string localhost:6969.
Since no one else has raised has raised this issue, I must be doing something silly here. Can someone please help me out with this?
Thanks,
Vineeth.