Chris,

On Wed, Mar 6, 2013 at 12:56 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Howard,
>
> On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote:
> > anyway/also, i am able to monitor tomee/tomcat (and do thread dumps
> > against tomcat/tomee running as windows service) via JMX and Java
> > Visual VM (jvisualvm, bundled with Java 7 SDK), since I added the
> > following options on the Java tab in tomcat7w.exe:
> >
> > -Dcom.sun.management.jmxremote.port=427
> > -Dcom.sun.management.jmxremote.ssl=false
> > -Dcom.sun.management.jmxremote.authenticate=false
>
> FWIW, if you are on localhost, (JVisualVM, etc.) should be able to use
> the Attach API to connect -- no actual JMX configuration is needed.
>
> - -chris
>

Sorry, I am not familiar with Attach API at the moment, and JVisualVM is
not able to attach to my tomcat/tomee JVM (running as Windows service or
not) unless I provide those java options and I specify port in JavaVisualVM.

Maybe NetBeans is using Attach API, because NetBeans always shows up in
JVisualVM, if I have the two open on the same box (have seen this on
development server and production server) .

I only use JVisualVM on localhost (behind a firewall), and Windows Server
2008 (non-R2 and R2) running on both development and production servers. :)


-----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEAREIAAYFAlE22oIACgkQ9CaO5/Lv0PCADACaAgQ+lr0s39EBesG9I+zDfm7a
> y8kAni5OrgZVqKnGE7nXAkpZoxhacC80
> =HShF
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to