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

rmiregistry error message obsure; internationalize rmiregistry

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.2
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.2.2
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_2.5

      Description

      I don't know if this is worthy of a bug report, but yesterday I made
      the mistake of trying to start the registry with:

              rmiregistry -Djava.security.policy=/my/file/policy

      (rather than what I should have run:
              rmiregistry -J-Djava.security.policy=/my/file/policy)
                          ^^
      and what I got was:

              Port is not a number.

      Because I didn't know what I did wrong, I ran:

              rmiregistry -help

      and what I got was:

              Port is not a number.

      After several minutes of crying, I figured out what I did wrong, but
      I thought perhaps a more detailed error message like "Setting a property
      on a registry from the command line is not supported unless it is passed
      in conjuntion with the "-J" option".

      my $.02,
      :)
      jen

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ldorninsunw Laird Dornin (Inactive)
                Reporter:
                awollratsunw Ann Wollrath (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: