Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367035 - Wrong wiki about jconsole usage
Summary: Wrong wiki about jconsole usage
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 7.5.x   Edit
Assignee: Jan Bartel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 15:26 EST by Missing name CLA
Modified: 2011-12-22 23:10 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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