Sun Microsystems 820682310 manual Gathering Information, Search the SunSolve Knowledgebase

Page 15
Search the SunSolve Knowledgebase

Identifying the Problem

Note – Some resources refer to GlassFish v3 Prelude. GlassFish v3 Prelude is the community version of the commercially supported offering, Sun GlassFish Enterprise Server v3 Prelude. The software is the same; the difference is in support.

Search the SunSolve Knowledgebase

SunSolveSM is Sun's informational and patch database service with a browseable directory of all publicly available Sun Microsystems support documents. SunSolve is available at http://sunsolve.sun.com. Additional resources are also available for customers with support contracts.

Gathering Information

Troubleshooting and analysis require information. The more information that you have, the easier it is to classify a problem and search for its solution. Detailed information will also be necessary should you need to contact others for support, either through a community mailing list or through more formal Sun support channels.

For general information about gathering data, also refer to Sun Gathering Debug Data for Sun Java System Application Server. The document pertains to previous versions but much of the information is generic enough that it might be helpful for Enterprise Server v3 Prelude.

As you continue your investigation, consider the following questions.

When Does the Problem Occur?

What do the logs show? What kind of error message are you getting? For more information about logs, see “Examining Log Files” on page 16.

What are you trying to do when the problem occurs, and how are you doing it? What is the sequence of events?

Does the problem occur every time you perform the same type of operation, or does it seem random? Can you reproduce the issue?

Have other events or problems occurred that could possibly be related, such as web sessions closing early, exceptions being thrown in your own application logic, components not being correctly deployed or undeployed?

What Is Your Environment?

What version of Enterprise Server are you using? What operating system and version? What JDK version?

What resources does your system have, such as memory, disk, and swap space? If system memory is an issue, look for ways to optimize your configuration and consider taking other actions such as adding memory or decreasing system load.

Chapter 1 • Overview of Enterprise Server Troubleshooting

15

Image 15
Contents v3 Prelude Troubleshooting Guide Sun GlassFish Enterprise ServerSun Microsystems, Inc 4150 Network Circle Santa Clara, CA U.S.A This distribution may include materials developed by third parties 1 Overview of Enterprise Server Troubleshooting ContentsWas Application Deployment Successful? Administration FAQs Update Tool FAQs How Do I Use Update Tool to Extend My Enterprise Server Installation?Index “Enterprise Server Documentation Set” on page “Symbol Conventions” on page “Default Paths and File Names” on pagePreface Enterprise Server Documentation SetContinued TABLE P-1 Books in the Enterprise Server Documentation SetRelated Documentation Typographic Conventionshttp//developers.sun.com/javadb Symbol Conventions Symbol ConventionsDefault Paths and File Names The following table explains symbols that might be used in this bookDocumentation, Support, and Training Searching Sun Product DocumentationThird-Party Web Site References Sun Welcomes Your Comments First Steps Identifying the Problem“Identifying the Problem” on page “Troubleshooting Tools” on page “Where to Go for More Information” on pageSearch the GlassFish Mailing Lists and Forums Verify System Requirements and ConfigurationReview Known Issues Search the Product DocumentationSearch the SunSolve Knowledgebase When Does the Problem Occur?What Is Your Environment? Gathering InformationWhat Is Your System Configuration? What Is Different?Examining Log Files “Operating System Utilities” on page Troubleshooting ToolsMonitoring the System Operating System UtilitiesTo Obtain a Server Thread Dump Type the following commandStack Traces and Thread Dumps VisualVMWhere to Go for More Information Page “Cannot Access Remote Server” on page Specific IssuesCannot Access Local Server http//localhost8080 “Cannot Access Local Server http//localhost8080” on pageDescription To Determine Which Port Number the Server Is Actually UsingDid the Server Start? Was the Server Started at the Expected Port?“Is the Proxy Setting Causing a Problem?” on page Cannot Access Remote ServerIs the Proxy Setting Causing a Problem? SolutionIs the Application Server Running? Cannot Access the Administration Console“Is the Administration Console Running on the Expected Port?” on page “Is the Security Manager Disabled?” on page“Administrator User Name or Password Not Known” on page Cannot Access a Server ApplicationIs the Administration Console Running on the Expected Port? Is the Security Manager Disabled?1 Stop the server, if it is currently running Administrator User Name or Password Not KnownTo Remove the User Name and Password Completely Was Application Deployment Successful?7 Uncomment the security-constraint element in the web.xml file 8 Restart the server for the new user name-password to take effectServer Will Not Start on Windows Port Conflict 4 Start the serverDescription SolutionTwo Server Instances Bind to Same Port on Windows Has an Ungraceful Shutdown Occurred on a Previously Running Server?Issues Related to Applications Error When Deploying EARCannot Produce a JVM Thread Dump After Server Crash http//blogs.sun.com/quinn/entry/deploymentinglassfishv3prelude Cannot Find SunDeploymentManagerSolution Issues Related to asadminasadmin start-domain Command Fails Error CLI143 There is more than one domainError Could Not Start Domain Cannot Stop Domain Using asadmin stop-domainUsing asadmin set Command Might Produce Unexpected Results Issues Related to EclipseIssues Related to Installation and Upgrade General InstallationCannot Upgrade Cannot Deploy a Mail Session as a JNDI Resource Issues Related to JavaMailIssues Related to JNDI Cannot Configure JavaMail Resourcesjava.security.AccessControlException Access Issues Related to MySQLIssues Related to Security Exception When Creating MySQL Connection PoolMutual Authentication Not Working With the Application Client Page “Administration FAQs” on page “Application FAQs” on page Frequently Asked QuestionsAdministration FAQs Which asadmin Commands are Supported?How Do I Change Application Permissions? Application FAQsEclipse FAQs How Do I Debug Applications?How Do I Add Containers? Extensibility FAQsHow Do I Extend the Administration Console? How Do I Develop Add-On Components?What Java Persistence Support Is Available? Java Persistence FAQsJDBC FAQs Jersey FAQsThat Application? OpenESB FAQsRails and JRuby FAQs If I Deploy an Application Using the glassfishrailsWhat Options Are Available for Running JRuby With Enterprise Server? Gem documentation http//glassfishgem.rubyforge.orgWarbler information http//caldersphere.rubyforge.org/warbler Can I Change the Keystore Password? Security FAQsUpdate Tool FAQs What Happens When No Server Side Realm Is Configured?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