Server User Manual
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 le:
as-install/domains/domain1/server.log
Administrator User Name or Password Not Known
If you have forgotten the administrator user name, you can nd it by inspecting the
as-install/domains/domain-name/config/keyfile le, where domain-name is the name of
the domain. In the default domain, domain1, the le to inspect is
as-install/domains/domain1/config/keyfile. For a dierent 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 keyle.)
▼
To Remove the User Name and Password Completely
Stop the server, if it is currently running.
Change to the appropriate WEB-INF directory; for example:
as-install/lib/install/applications/adminapp/adminapp_war/WEB-INF
Comment out the entire <security-constraint> element in the web.xml le.
Do not delete the element, as you will be reenabling it later. This action disables security for
command-line operations.
1
2
3
Cannot Access a Server Application
Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide • November 200826










