The following reply was made to PR ports/116082; it has been noted by GNATS.
From: Jochen Keil < XXXX@XXXXX.COM >
To: XXXX@XXXXX.COM , XXXX@XXXXX.COM
Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect
to a local process
Date: Thu, 22 Jul 2010 21:24:24 +0200
-----BEGIN PGP SIGNED MESSAGE-----
even though the original report is some 3 years old now i'd like to
remark that i had the same problem. I figured that the problem is that
the "management agent" was not started (so said the error message). So
after some googling i found out that i need to specify
as VM argument.
This means that you need to start your java app like this:
java -Dcom.sun.management.jmxremote foo.MyBarClass
Using this jconsole works like a charm. Hope this helps!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://www.yqcomputer.com/
-----END PGP SIGNATURE-----
XXXX@XXXXX.COM mailing list
To unsubscribe, send any mail to " XXXX@XXXXX.COM "