Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367035

Summary: Wrong wiki about jconsole usage
Product: [RT] Jetty Reporter: Missing name <nikolay.rychkov>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: janb, jetty-inbox, nikolay.rychkov
Version: unspecified   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Missing name CLA 2011-12-18 15:26:42 EST
Build Identifier: 8.0.4

I follow instructions on this page. 
http://wiki.eclipse.org/Jetty/Howto/Run_Jetty_with_JConsole#Connecting_to_your_server_process

jconsole can not connect to start.jar

Reproducible: Always

Steps to Reproduce:
1. java -Dcom.sun.management.jmxremote -jar start.jar OPTIONS=default,jmx .\etc\jetty-jmx.xml .\etc\jetty
2. Run jconsole
3. Try to connect
Comment 1 Jan Bartel CLA 2011-12-18 23:49:05 EST
Resolved. Changed runline to:

java -Dcom.sun.management.jmxremote -jar start.jar  etc/jetty-jmx.xml

as jmx is an OPTION that is defined by default in start.ini, and therefore you only need to specify the jetty-jmx.xml file on the command line. Note that you can also remove the -Dcom.sun.management.jmxremote and uncomment the appropriate lines in start.ini instead.

thanks
Jan
Comment 2 Missing name CLA 2011-12-19 14:25:27 EST
Thank you. The problem was in ESET NOD32. It blocks jconsole connection. Wiki should consider this trouble.
Comment 3 Jan Bartel CLA 2011-12-22 17:15:29 EST
Updated wiki.
Comment 4 Missing name CLA 2011-12-22 21:52:17 EST
To tell the truth I don't see any firewall consideration in wiki.

http://wiki.eclipse.org/Jetty/Howto/Run_Jetty_with_JConsole#Connecting_to_your_server_process
Comment 5 Jan Bartel CLA 2011-12-22 23:10:30 EST
The intro says:

"When following the instructions given below, please also ensure that you make any necessary changes to any anti-virus software you may be using which may prevent jconsole from running."


Jan