com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by vincentphuah, 1 year ago
Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
via Oracle Community by 843833, 1 year ago
Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
via Oracle Community by 843844, 1 year ago
Login failed: javax.security.auth.login.LoginException: Security Exception
com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:311)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:170)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:215)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:182)
at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.config.serverbeans.ServerHelper.getJMXConnector(ServerHelper.java:1000)
at com.sun.enterprise.ee.admin.cascading.CascadingLifecycleImpl.stopDASCascading(CascadingLifecycleImpl.java:650)
at com.sun.enterprise.ee.admin.cascading.CascadingLifecycleImpl.onTermination(CascadingLifecycleImpl.java:189)
at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:587)
at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:76)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1501)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.