glassfish
  1. glassfish
  2. GLASSFISH-15900

Improve error message if listen port is in use

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1_b37
    • Fix Version/s: future release
    • Component/s: admin
    • Labels:
      None

      Description

      When the listen port is already in use Glassfish outputs this error message:

      SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.
      monitor.MonitorableSelectorHandler@1ec58a

      Please replace this with something along the lines of: "SEVERE: Shutting down v3 due to startup exception : The listen port (8080) is in use"

        Activity

        Hide
        Bhavanishankar added a comment -

        This is not an embedded issue.

        When 8080 port is not free, even if you do 'asadmin start-domain', you will see the same error in server.log

        Show
        Bhavanishankar added a comment - This is not an embedded issue. When 8080 port is not free, even if you do 'asadmin start-domain', you will see the same error in server.log
        Hide
        Tom Mueller added a comment -

        Marking the fix version field as "future-release". This is based on an evaluation by John, Michael, and Tom WRT to the PRD for the Java EE 7 RI/SDK. This issues was deemed to not be a P1 for that release. If this is in error or there are other reasons why this RFE should be targeted for the Java EE 7 RI/SDK release, then change the fix version field back to an appropriate build.

        Show
        Tom Mueller added a comment - Marking the fix version field as "future-release". This is based on an evaluation by John, Michael, and Tom WRT to the PRD for the Java EE 7 RI/SDK. This issues was deemed to not be a P1 for that release. If this is in error or there are other reasons why this RFE should be targeted for the Java EE 7 RI/SDK release, then change the fix version field back to an appropriate build.

          People

          • Assignee:
            kumara
            Reporter:
            cowwoc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: