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 disabled by default ?
Date Tue, 09 Apr 2013 14:15:44 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Neven,

On 4/7/13 3:15 PM, Neven Cvetkovic wrote:
> Mark,
> 
> When connecting to local jmx, connection is not over the network
> interface but through local Java process that you need to have
> access to. So I doubt that is Jakub's problem here.
> 
> I've had issues when jdks didn't match and when different users
> were used to start JVM process.

This might be the issue: if the JVM versions of the target process
(e.g. Tomcat) and the connecting process (e.g. jvisualvm) are not the
same, then the Attach API (local only) probably will fail.

On the other hand, using "remote JMX" access, two different JVMs ought
to be able to communicate because they are just using RMI to trade
objects that are fairly well-defined and stable.

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

iQIcBAEBCAAGBQJRZCKQAAoJEBzwKT+lPKRYbI8QAMXH4is5ICJFgIHxmlBs2vtH
0uwXXONU4PywQ72buaSMQoXD+G12iRtaD/iExIiIBL8aRPCbjg0oj3IvO4FddIja
8hYc3pvwrT+fUk17dfPviDDgI+AO1ZALcBxnEQ28J5xXXGDlZuINGAX1/fpyw/3K
ZLQQAvLXaKnzNHWYO2a+V/kC/GPrZg+QZHXG6m3aoDlfQCI8ncVe/dLnDSgGp0J1
ixsR7f0vB6MKP8UTkAEDdQzzY9Ogpr1sCu4MOZWyx5uUFJ2OM+dC2gNYVAIt2JQA
sjteVzVs2hRQ9koNvVq9XXsKbtr39x1SX5ir6NMBEXpoBiPTqm2Pq4aNV0VmZpHH
pT+z84GmMZAEDpsniDV88JZAO8i9Y20LIxJUiFqmIW8qicd4OEhmzZYcWK7jk+k9
zkpZsGYIXHW6iFsjZ3viOAuZqa/9Gq9xQlWPic6HpWtLpzqzGi2iHSzrW8mpoJsd
hq+zaEldQ48F32CjmhgBZJdBfvI0LcxFBppHMmVEit33Ma0VdQWPlDCsEgZLiQSh
rbLLraUwh36cHFoWiLRMw1Zla1M1xiAhV2Zil6wqbF4DS/sQHFRVlEqUsip6DleL
b4jtCa2MgEFdyzwBoi1rWquVghZdSkfMhFiRSRn+z0zmZM24Av09tx7StKCzjrVf
K/Vdm/ctCANg46lh05uY
=jLkx
-----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