Sun Microsystems 820682310 manual Was Application Deployment Successful?, Solution, Description

Models: 820682310

1 48
Download 48 pages 55.33 Kb
Page 26
Image 26
Was Application Deployment Successful?

Cannot Access a Server Application

Solution

Review the information in “Did the Server Start?” on page 22 to determine if the server is running. The server must be running before a server application can be accessed.

Was Application Deployment Successful?

Description

An application must be successfully deployed before it can be accessed.

Solution

Check the server's log file:

as-install/domains/domain1/server.log

Administrator User Name or Password Not Known

If you have forgotten the administrator user name, you can find it by inspecting the as-install/domains/domain-name/config/keyfile file, wheredomain-nameis the name of the domain. In the default domain, domain1, the file to inspect is as-install/domains/domain1/config/keyfile. For a different domain, substitute its name in the path.

If you have forgotten the administrator password, you must create a new user name-password pair by removing the user name and password, creating new ones, and restarting the server. (You will not be able to read the password, because it is encrypted in the keyfile.)

To Remove the User Name and Password Completely

1Stop the server, if it is currently running.

2Change to the appropriate WEB-INFdirectory; for example: as-install/lib/install/applications/adminapp/adminapp_war/WEB-INF

3Comment out the entire <security-constraint>element in the web.xml file.

Do not delete the element, as you will be reenabling it later. This action disables security for command-line operations.

26

Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide • November 2008

Page 26
Image 26
Sun Microsystems 820682310 Was Application Deployment Successful?, Administrator User Name or Password Not Known, Solution