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

Two Server Instances Bind to Same Port on Windows

Description

This problem occurs on Windows XP systems with GlassFish Server software, and is due to a known Windows security flaw rather than a problem with GlassFish Server itself.

The problem occurs when two or more instances of GlassFish Server are created using the same port number for the instanceport option; for example:

asadmin create-domain -adminport 5001 options -instanceport 6001 domain
asadmin create-domain -adminport 5002 options -instanceport 6001 domain

When the two domains are started on a UNIX or Linux system, a port conflict error is thrown and the second instance fails to start. However, when the two domains are started on Windows XP, no error is thrown, both server instances start, but only the first instance is accessible at the specified port. When that first server instance is subsequently shut down, the second instance then becomes accessible. Moreover, when both instances are running, the Windows netstat command only reports the first instance.

Solution

Be sure to use unique port numbers for all server instances on Windows systems.