Sun Microsystems 820682310 manual Was Application Deployment Successful?

Page 4
Was Application Deployment Successful?

Contents

Was Application Deployment Successful?

26

Administrator User Name or Password Not Known

26

Server Will Not Start on Windows (Port Conflict)

27

Is Another Application Running on the Server's Port?

28

Has an Ungraceful Shutdown Occurred on a Previously Running Server?

28

Two Server Instances Bind to Same Port on Windows

28

Description

28

Solution

28

Cannot Produce a JVM Thread Dump After Server Crash

29

Description

29

Solution

29

Issues Related to Applications

29

Error When Deploying EAR

29

Cannot Find SunDeploymentManager

30

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

 

Only)

30

Issues Related to asadmin

31

asadmin start-domain Command Fails

31

Cannot Stop Domain Using asadmin stop-domain

32

Using asadmin set Command Might Produce Unexpected Results

33

Issues Related to Eclipse

33

Eclipse GlassFish Server Adapter – Port Conflict When Starting GlassFish

33

Issues Related to Installation and Upgrade

34

General Installation

34

Cannot Upgrade

34

Issues Related to JavaMail

35

Cannot Configure JavaMail Resources

35

Issues Related to JNDI

35

Cannot Deploy a Mail Session as a JNDI Resource

35

Issues Related to MySQL

36

Exception When Creating MySQL Connection Pool

36

Issues Related to Security

36

java.security.AccessControlException: Access Denied Error

36

Mutual Authentication Not Working With the Application Client

37

4

Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide • November 2008

Image 4
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 “Symbol Conventions” on page “Default Paths and File Names” on page PrefaceEnterprise Server Documentation Set “Enterprise Server Documentation Set” on pageTABLE P-1 Books in the Enterprise Server Documentation Set ContinuedTypographic Conventions Related Documentationhttp//developers.sun.com/javadb Symbol Conventions Default Paths and File NamesThe following table explains symbols that might be used in this book Symbol ConventionsSearching Sun Product Documentation Documentation, Support, and TrainingThird-Party Web Site References Sun Welcomes Your Comments Identifying the Problem “Identifying the Problem” on page “Troubleshooting Tools” on page“Where to Go for More Information” on page First StepsVerify System Requirements and Configuration Review Known IssuesSearch the Product Documentation Search the GlassFish Mailing Lists and ForumsWhen Does the Problem Occur? What Is Your Environment?Gathering Information Search the SunSolve KnowledgebaseWhat Is Different? What Is Your System Configuration?Examining Log Files Troubleshooting Tools Monitoring the SystemOperating System Utilities “Operating System Utilities” on pageType the following command Stack Traces and Thread DumpsVisualVM To Obtain a Server Thread DumpWhere to Go for More Information Page Specific Issues Cannot Access Local Server http//localhost8080“Cannot Access Local Server http//localhost8080” on page “Cannot Access Remote Server” on pageTo Determine Which Port Number the Server Is Actually Using Did the Server Start?Was the Server Started at the Expected Port? DescriptionCannot Access Remote Server Is the Proxy Setting Causing a Problem?Solution “Is the Proxy Setting Causing a Problem?” on pageCannot Access the Administration Console “Is the Administration Console Running on the Expected Port?” on page“Is the Security Manager Disabled?” on page Is the Application Server Running?Cannot Access a Server Application Is the Administration Console Running on the Expected Port?Is the Security Manager Disabled? “Administrator User Name or Password Not Known” on pageAdministrator User Name or Password Not Known To Remove the User Name and Password CompletelyWas Application Deployment Successful? 1 Stop the server, if it is currently running8 Restart the server for the new user name-password to take effect Server Will Not Start on Windows Port Conflict4 Start the server 7 Uncomment the security-constraint element in the web.xml fileSolution Two Server Instances Bind to Same Port on WindowsHas an Ungraceful Shutdown Occurred on a Previously Running Server? 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/deploymentinglassfishv3preludeIssues Related to asadmin asadmin start-domain Command FailsError CLI143 There is more than one domain 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 Issues Related to JavaMail Issues Related to JNDICannot Configure JavaMail Resources Cannot Deploy a Mail Session as a JNDI ResourceIssues Related to MySQL Issues Related to SecurityException When Creating MySQL Connection Pool java.security.AccessControlException AccessMutual Authentication Not Working With the Application Client Page Frequently Asked Questions Administration FAQsWhich asadmin Commands are Supported? “Administration FAQs” on page “Application FAQs” on pageApplication FAQs Eclipse FAQsHow Do I Debug Applications? How Do I Change Application Permissions?Extensibility FAQs How Do I Extend the Administration Console?How Do I Develop Add-On Components? How Do I Add Containers?Java Persistence FAQs JDBC FAQsJersey FAQs What Java Persistence Support Is Available?OpenESB FAQs Rails and JRuby FAQsIf I Deploy an Application Using the glassfishrails 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 Security FAQs Update Tool FAQsWhat Happens When No Server Side Realm Is Configured? 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