I am trying to enable remote JMX on a Jetty 6.1.26 instance running on Windows. I tried several approaches, but the result is always the same:
When I try to connect from jconsole to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi , I got a "connection refused".
I found several manuals on the Internet, but no one seems to help. Note that I run Jetty separately from the Jetty-Service.exe shell.
It would be great if anyone could suggest a way to enable remote JMX on the jetty.
java jetty jmx
Luciano fiandesio
source share