dev@glassfish.java.net

Re: feedback about Glassfish

From: Marek Potociar <Marek.Potociar_at_Sun.COM>
Date: Tue, 30 Jan 2007 10:59:39 +0100
Snjezana Sevo-Zenzerovic wrote:
Small nit: I believe that the alternative port in this situation is randomly chosen free port from system's dynamic port range and not the next available port in a sense that we would simply increment the default to find the free one.
Just adding my 2 cents:

I am sorry, what you describe here does not sound very user-friendly to me. I would propose one (or both) of the following two:
  1. when server is started, one of the last logging messages should repeat the server's actual port configuration, or
  2. port choosing algorithm should try to find closest free port, not randomly picked one.
Personally, I would prefer 1. It would be really great to see after server startup at the end of the log what ports are in use and what is their purpose.

Marek