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

jps fails if both IP address and port number are used in the host identifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11
    • core-svc

      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169:1099
      Malformed Host Identifier: 129.213.80.169:1099
      usage: jps [-help]
             jps [-q] [-mlvV] [<hostid>]

      Definitions:
          <hostid>: <hostname>[:<port>]


      Using the host name instead of the IP address works fine.
      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169:1099
      26831 Jstatd

      If the port number is not specified the IP address works fine as well.
      datitov-mac:src datitov$ ~/Java/jdk10/jdk/bin/jps 129.213.80.169
      26831 Jstatd

            kevinw Kevin Walls
            dtitov Daniil Titov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: