Sun GlassFish Enterprise Server v2.1.1 Troubleshooting Guide

Invalid User or Password When Using Don’t Prompt Option

You are getting the error, Invalid user or password, but you installed the system with the Don't Prompt option, so the password should be supplied automatically.


The correct password may not have been specified during installation, or it may not be passed when the domain is started.


Check the password in the .asadminprefs file. On UNIX/Linux systems, it is in the home directory for the user under which the server was installed. On Windows, it is in C:\\Documents and Settings\\username. The contents look something like this: