Did the Server Start?

Cannot Access Local Server (http://localhost:8080)

Did the Server Start?

Description

If the console window is still open, the expected message is:

Domain domain Started

where domain is the name of the default domain. This indicates that the default domain was started successfully.

If the console window is already closed, check for messages in the log file:

as-install/domains/domain1/logs/server.log

If startup was successful, the expected message is similar to that on the console, and appears at the end of the log file.

Was the Server Started at the Expected Port?

Description

The server might be running at a different port number than expected, either because it was intentionally installed there, or because another server was already running on the default port when the server was installed.

To Determine Which Port Number the Server Is Actually Using

1Examine the server's configuration file: as-install/domains/domain1/config/domain.xml

2Find the http-listenerelement.

3Inspect the value of the port attribute.

Be sure to enter the correct port number when invoking the server.

Note – The server's default port number is 8080, however, there are a number of ways in which the expected value can change:

A different port number was specified during installation.

A previous installation exists.

22

Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide • November 2008

Page 22
Image 22
Sun Microsystems 820682310 manual Did the Server Start?, Was the Server Started at the Expected Port?, Description