tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat JMX remote
Date Thu, 06 Dec 2012 15:31:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Daniel,

On 12/6/12 10:21 AM, Daniel Mikusa wrote:
> On Dec 6, 2012, at 10:03 AM, Adrien RUFFIE wrote:
> 
>> But I cannot access with my JVisualVM: Cannot connect to
>> tomcat@192.168.101.160:9999 using 
>> service:jmx:rmi///jndi/rmi://192.168.101.160:9999/jmxrmi
> 
> Seems like you are accessing from a remote machine. Is there a 
> firewall in the way?
> 
> If so, you might also want to look at
> 
> https://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#JMX_Remote_Lifecycle_Listener_-_org.apache.catalina.mbeans.JmxRemoteLifecycleListener

+1

If
> 
disabling your firewall temporarily works, then using the
JMXRemoteLifecycleListener will work: it explicitly sets the alternate
port JMX requires to operate to a known value. Then, you can poke a
small hole in your firewall instead of opening everything up.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEAREIAAYFAlDAukMACgkQ9CaO5/Lv0PCftQCeIGChgjlfvrlHYhqhmqM3keR3
gBUAn3jslYPntnTWaGbgUZETme2bkUGd
=xzwh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message