trinidad/trinidad_daemon_extension — Issue #7: I can't turn on JMX when using daemon extension
Author: sauliusgrigaitis
Created: 2012-01-15 18:26:05+00:00
State: open

Hi,

I can't turn on JMX when using daemon extension (JMX works fine without daemon extension):

jruby --server -J-Dcom.sun.management.jmxremote -J-Dcom.sun.management.jmxremote.port=10023 -J-Dcom.sun.management.jmxremote.ssl=false -J-Dcom.sun.management.jmxremote.authenticate=false -J-Djruby.compile.mode=FORCE -S trinidad --threadsafe -e production --config config/trinidad.yml -p 8080 --load daemon --daemonize ./trinidad.pid
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 10023; nested exception is:
java.net.BindException: Address already in use

Thanks,
Saulius