JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Troubleshooting Guide
search filter icon
search icon

Document Information

Preface

1.  Overview of Oracle GlassFish Server Troubleshooting

2.  Specific Issues

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

Did the Server Start?

Description

Was the Server Started at the Expected Port?

Description

Is a Personal Firewall Enabled?

Cannot Access Remote Server

Is the Server Available Locally?

Description

Solution

Is the Proxy Setting Causing a Problem?

Description

Solution

Cannot Access the Administration Console

Is the Application Server Running?

Description

Solution

Is the Administration Console Running on the Expected Port?

Description

Solution

Cannot Access a Server Application

Is the Application Server Running?

Description

Solution

Was Application Deployment Successful?

Description

Solution

Administrator User Name or Password Not Known

Experience Issues Related to the JDK

Description

Solution

Server Will Not Start on Windows (Port Conflict)

Is Another Application Running on the Server's Port?

Has an Ungraceful Shutdown Occurred on a Previously Running Server?

Two Server Instances Bind to Same Port on Windows

Description

Solution

Cannot Produce a JVM Thread Dump After Server Crash

Description

Solution

To Obtain a Server Thread Dump

Issues Related to Applications

Cannot Undeploy or Redeploy Application With Open Streams to jar Files (Windows)

Description

Solution

MaxPermGen Exception

Description

Solution

Issues Related to asadmin

asadmin start-domain Command Fails

Description

Solution

Cannot Stop Domain Using asadmin stop-domain

Description

Solution

Issues Related to Installation

Installation Hangs During Update Tool Configuration

Description

Solution

GlassFish Server Components Not Removed During Uninstallation

Description

Solution

Issues Related to Security

java.security.AccessControlException: Access Denied Error

Description

Solution

Mutual Authentication Not Working With the Application Client

Description

Solution

3.  Frequently Asked Questions

Index

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

When this error occurs, check the following:

Did the Server Start?

Description

If the console window is still open, the expected message 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.

For more information about starting a domain, see Starting and Stopping a Domain in Oracle GlassFish Server 3.1 Administration Guide. To easily determine if a domain is running, use the asadmin list-domains command.

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 Using

  1. Examine the server's configuration file:
    as-install/domains/domain1/config/domain.xml
  2. Find the network-listener element.
  3. Inspect 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.


Is a Personal Firewall Enabled?

Issues might result when personal firewalls are enabled. Disable your personal firewall and see if the server access problem still exists.