#69 Documentation Missing For JMX

closed-fixed
nobody
None
5
2013-01-09
2012-08-30
JohnnyBoy
No

Can you update the documentation on how to use JMX with the wrapped application please.
I have spent hours trying to get it to work.
The documentation says:
To activate JMX support for the wrapped application:
add the property wrapper.java.jmx=true to the configuration file
add the property wrapper.java.additional.<n>=-Dcom.sun.management.jmxremote to the configuration file

It makes no mention of how to set the port.
If you add the port to the startup params like this the application will fail to start
wrapper.java.additional.1=-Dcom.sun.management.jmxremote
wrapper.java.additional.2=-Dcom.sun.management.jmxremote.port=9977

However, this thread mentions properties that are not in the documentation
http://sourceforge.net/projects/yajsw/forums/forum/810311/topic/4515913

So what you actually need is:
wrapper.java.jmx=true
wrapper.java.additional.1=-Dcom.sun.management.jmxremote
wrapper.java.additional.jmx.1=-Dcom.sun.management.jmxremote.port=9977
wrapper.java.additional.jmx.2=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.jmx.3=-Dcom.sun.management.jmxremote.ssl=false

Discussion

  • rzo

    rzo - 2012-09-02
    • status: open --> open-accepted
     
  • rzo

    rzo - 2013-01-09
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks