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

entering "rmiregistry" fails with "Port is not a number"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.2.0
    • core-libs
    • 1.2beta
    • sparc
    • solaris_2.5
    • Verified

      On solaris, with the current JDK1.2 beta build and since the promoted build
      JDK1.2J, if he user enters the following simple command:

      % rmiregistry

      it will fail with this message:

      Port is not a number.

      This is happening because the "rmiregistry" wrapper script for Solaris is
      causing the JVM to be invoked with one argument that is an empty string,
      rather than no arguments; i.e., it is equivalent to this command:

      % rmiregistry ""

      This behavior came about because of the fix for bugid 4053337 (spaces in
      arguments to Solaris wrappers were the causing the arguments to become
      separated). The fix to the way the helper script ".extract_args", which
      uses ksh arrays, works now causes always at least one argument to be
      passed to the JVM that is started up by the script.

      See the "Comments" section for an e-mail exchange that occurred regarding
      this bug and potential fixes.

            peterjones Peter Jones (Inactive)
            peterjones Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: