2014-04-24

Enable JMX on tomcat7 running as Windows service

  1. Start 'Tomcat Configure' --> 'Java' tab --> 'Java Options' text box --> Append the followings -Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.ssl=false

  2. Save, Exit and then restart the service
  3. Connect to the JMX console
  4. Start jconsole from your JDK installation location
    example: C:\java\jdk1.6.0_37\bin\jconsole.exe
  5. Click 'New Connection'
  6. Checked 'Remote Process'
  7. Enter hostname:8090

沒有留言:

發佈留言

Review Who is Connected to Windows Shared Folder

  1. Open Computer Management Console     Windows Key + R -> compmgmt.msc      2. Expand System Tools -> Shared Folder -> Sessions ...