ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

RUN JVA how to enable jconsole with -D options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RUN JVA how to enable jconsole with -D options

    Hello all, on iseries v6 jvm 1.5, I'm trying to enable the jconsole.

    I've successfully enable the remote debuging like this:
    RUNJVA CLASS(com.XXX) PARM(' ' 'XX'
    'XXX') PROP((os400.xrun.option
    'jdwp:transport=dt_socket,address=7879,server=y,su spend=y'))

    how to fill this in this command line:
    -Dcom.sun.management.jmxremote.port=7878 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

    is it like this:
    PROP((os400.vm.inputargs '-Dcom.sun.management.jmxremote.port=7878 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
    '))


    many thanks

  • #2
    Re: RUN JVA how to enable jconsole with -D options

    Hello,

    try
    Code:
    PROP((com.sun.management.jmxremote.port 7878)
         (com.sun.management.jmxremote.authenticate false)
         (com.sun.management.jmxremote.ssl false))
    Nicolas

    Comment


    • #3
      Re: RUN JVA how to enable jconsole with -D options

      Indeed it works.

      many Thanks

      Alexis

      Comment

      Working...
      X