Better output for port conflicts during startup
-----------------------------------------------

                 Key: GERONIMO-2242
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2242
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 1.1
            Reporter: Aaron Mulder
             Fix For: 1.1.x


Currently Geronimo produces about 230 lines worth of error messages if there's 
a conflict on the web ports during startup (e.g. as a result of Tomcat already 
running on the same machine).  Annoyingly, the "Address in use" message is kind 
of concealed by the massive stack traces, and worse, it never actually says 
which ports are the problem.

This will likely be the most common startup error.  It would be great to detect 
it and suppress the stack trace and instead emit a message along the lines of:


ERROR: Geronimo cannot start.  Port 8080 is already in use.  Please either shut 
down the product listening on port 8080 or search for 8080 in 
var/config/config.xml and replace it with another available port number.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to