Joakim, my use case is to get Intellij to start Jetty and deploy WARs to it, on
my local laptop. Intellij apparently requires a fixed port number, but I
actually don't know if that is the jmxremote port; I suspected it was just the
jmxrmiport.
I tried uncommenting the config in etc/jetty-jmx.xml, but it didn't work for me
-- the server just hung on startup -- no output to the console, and not serving
any requests at all.
I tried starting it with the options suggested by Carey. I was then able to
telnet to the jmxremote port, but JConsole couldn't connect, eclipse's jmx
plugin just hanged and timed out when trying to connect to the port, and
Intellij barfed with a message about port 1099 already being "in use". I
verified that I don't have any firewalls running.
--josh
On Tuesday, October 22, 2013 12:35 PM, Carey Evans <[email protected]> wrote:
On Wed, Oct 23, 2013, at 6:30, Joakim Erdfelt wrote:
There are 3 possible configurations in etc/jetty-jmx.xml for you.
>
>
> 1) Default (just starts the MBeanServer and MBeanContainer)
>
> 2) Default + Create Registry approach
>
> 3) Default + ConnectorServer approach
>
For reasons which I have now forgotten, we're using system properties on the
Jetty command line instead:
-Djava.security.auth.login.config=etc/login.config
-Dcom.sun.management.jmxremote.port=49001
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.login.config=JmxConfig
but these might not work on Mac OS X.
--
Carey Evans
[email protected]
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users