Oracle GlassFish Server 3.0.1 Troubleshooting Guide

Server Will Not Start on Windows (Port Conflict)

If a message similar to the following is displayed when starting GlassFish Server on Microsoft Windows, a server port conflict has occurred:

Address already in use

This error occurs when another application is running on the GlassFish Server port (default 8080), or because a previous instance of GlassFish Server did not shut down cleanly.

You might also check the following:

Is Another Application Running on the Server's Port?

If another application is using the server's port, stop the other application, then restart GlassFish Server.

Has an Ungraceful Shutdown Occurred on a Previously Running Server?

Use the asadmin stop-domain command to stop the server, or explicitly kill the Java process and then restart GlassFish Server.