Sun Microsystems 820682310 Did the Server Start?, Was the Server Started at the Expected Port?

Page 22
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

Image 22
Contents Sun GlassFish Enterprise Server v3 Prelude Troubleshooting GuideSun Microsystems, Inc 4150 Network Circle Santa Clara, CA U.S.A This distribution may include materials developed by third parties Contents 1 Overview of Enterprise Server TroubleshootingWas Application Deployment Successful? Administration FAQs How Do I Use Update Tool to Extend My Enterprise Server Installation? Update Tool FAQsIndex Enterprise Server Documentation Set “Symbol Conventions” on page “Default Paths and File Names” on pagePreface “Enterprise Server Documentation Set” on pageTABLE P-1 Books in the Enterprise Server Documentation Set ContinuedTypographic Conventions Related Documentationhttp//developers.sun.com/javadb The following table explains symbols that might be used in this book Symbol ConventionsDefault Paths and File Names Symbol ConventionsSearching Sun Product Documentation Documentation, Support, and TrainingThird-Party Web Site References Sun Welcomes Your Comments “Where to Go for More Information” on page Identifying the Problem“Identifying the Problem” on page “Troubleshooting Tools” on page First StepsSearch the Product Documentation Verify System Requirements and ConfigurationReview Known Issues Search the GlassFish Mailing Lists and ForumsGathering Information When Does the Problem Occur?What Is Your Environment? Search the SunSolve KnowledgebaseWhat Is Different? What Is Your System Configuration?Examining Log Files Operating System Utilities Troubleshooting ToolsMonitoring the System “Operating System Utilities” on pageVisualVM Type the following commandStack Traces and Thread Dumps To Obtain a Server Thread DumpWhere to Go for More Information Page “Cannot Access Local Server http//localhost8080” on page Specific IssuesCannot Access Local Server http//localhost8080 “Cannot Access Remote Server” on pageWas the Server Started at the Expected Port? To Determine Which Port Number the Server Is Actually UsingDid the Server Start? DescriptionSolution Cannot Access Remote ServerIs the Proxy Setting Causing a Problem? “Is the Proxy Setting Causing a Problem?” on page“Is the Security Manager Disabled?” on page Cannot Access the Administration Console“Is the Administration Console Running on the Expected Port?” on page Is the Application Server Running?Is the Security Manager Disabled? Cannot Access a Server ApplicationIs the Administration Console Running on the Expected Port? “Administrator User Name or Password Not Known” on pageWas Application Deployment Successful? Administrator User Name or Password Not KnownTo Remove the User Name and Password Completely 1 Stop the server, if it is currently running4 Start the server 8 Restart the server for the new user name-password to take effectServer Will Not Start on Windows Port Conflict 7 Uncomment the security-constraint element in the web.xml fileHas an Ungraceful Shutdown Occurred on a Previously Running Server? SolutionTwo Server Instances Bind to Same Port on Windows DescriptionError When Deploying EAR Issues Related to ApplicationsCannot Produce a JVM Thread Dump After Server Crash Cannot Find SunDeploymentManager http//blogs.sun.com/quinn/entry/deploymentinglassfishv3preludeError CLI143 There is more than one domain Issues Related to asadminasadmin start-domain Command Fails SolutionCannot Stop Domain Using asadmin stop-domain Error Could Not Start DomainIssues Related to Eclipse Using asadmin set Command Might Produce Unexpected ResultsGeneral Installation Issues Related to Installation and UpgradeCannot Upgrade Cannot Configure JavaMail Resources Issues Related to JavaMailIssues Related to JNDI Cannot Deploy a Mail Session as a JNDI ResourceException When Creating MySQL Connection Pool Issues Related to MySQLIssues Related to Security java.security.AccessControlException AccessMutual Authentication Not Working With the Application Client Page Which asadmin Commands are Supported? Frequently Asked QuestionsAdministration FAQs “Administration FAQs” on page “Application FAQs” on pageHow Do I Debug Applications? Application FAQsEclipse FAQs How Do I Change Application Permissions?How Do I Develop Add-On Components? Extensibility FAQsHow Do I Extend the Administration Console? How Do I Add Containers?Jersey FAQs Java Persistence FAQsJDBC FAQs What Java Persistence Support Is Available?If I Deploy an Application Using the glassfishrails OpenESB FAQsRails and JRuby FAQs That Application?Gem documentation http//glassfishgem.rubyforge.org What Options Are Available for Running JRuby With Enterprise Server?Warbler information http//caldersphere.rubyforge.org/warbler What Happens When No Server Side Realm Is Configured? Security FAQsUpdate Tool FAQs Can I Change the Keystore Password?After you start your Enterprise Server instance, the default location for the Administration Console is http//localhost4848/ at least one Enterprise Server domain must be started before you can launch the Administration Console. Unless you declined to check for updates during installation, you will be notified of available updates in the message area. Update Tool can also be accessed on the command line by running the updatetool command in the as-install/bin directory. Extensive online help is provided for both versions Index