The Glassfish Admin Console Doesn't Allow the User to Login even with a Valid User Name and Password

(Doc ID 1148852.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Aug-2013***


The user may get the following error when the user tries to log on to the Admin Console
or try to use the Administration command line (asadmin) even though the user name  and password is correctly entered.

Admin Console:

Using asadmin:

# asadmin list --passwordfile pass.txt--user admin --terse=false
Invalid user or password
CLI137 Command list failed.

In addition, the following will be seen in the server.log

[#|2010-06-14T14:55:30.912-0500|INFO|sun-appserver2.1||_ThreadID=191;_ThreadName=httpSSLWorkerThread-4849-46;admin;|SEC5046: Audit: Authentication refused for [admin].|#]

[#|2010-06-14T14:55:30.913-0500|WARNING|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=191;_ThreadName=httpSSLWorkerThread-4849-46;_RequestID=c324f0d0-bd4f-48ee-b643-473231391ad1;|Web login failed: Login failed: No LoginModules configured for fileRealm|#]


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms