Description
Attempt to undeploy Sun Java™ Enterprise System 7 fails with message “Invalid user or password” and any command issued after this attempt fails with the same error message. At the same time it is no longer possible to log in via the GUI, which indicates that the authentication issue is not limited to the CLI. Restarting the domain clears the issue, but amserver is not undeployed, and another attempt to undeploy it causes the issue to reappear. If undeployment is attempted via GUI, the same authentication failure appears, but the web application is at least undeployed.
Solution
None. Restart the GlassFish domain to at least get back CLI and GUI functionality.