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

Add jstatd option to specify RMI connector port

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 15
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: