Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8238357

Add jstatd option to specify RMI connector port

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 15
    • core-svc
    • None
    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

      Summary

      Add new jstatd tool option to specify a RMI connector port.

      Problem

      When running jstatd on a remote host behind a firewall or inside a container it should be possible to specify what exact ports need to be used. Currently jstatd tool provides command line option -p to specify RMI registry port but remote objects still communicate over random ports. An option to specify RMI connector port needs to be added.

      Solution

      Introduce -r option to jstatd to specify RMI connector port number.

      Specification

      jstatd can accept -r option to specify RMI connector port.

      $ jstatd -help  
      
        usage: jstatd [-nr] [-p port] [-r rmiport] [-n rminame]
             jstatd -?|-h|--help
      

            dtitov Daniil Titov (Inactive)
            dtitov Daniil Titov (Inactive)
            Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: