java.lang.SecurityException: Unable to locate a login configuration. Forwarding to error page. java.lang.SecurityException: Unable to locate a login configuration

Oracle Community | 807573 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Directory Editor and Tomcat

    Oracle Community | 10 years ago | 807573
    java.lang.SecurityException: Unable to locate a login configuration. Forwarding to error page. java.lang.SecurityException: Unable to locate a login configuration
  2. 0

    Exception

    Oracle Community | 1 decade ago | 843829
    java.lang.SecurityException: Unable to locate a login configuration
  3. 0

    Tomcat fails to authenticate using spnego, "Cannot locate default realm"

    Stack Overflow | 4 years ago | Hikari
    java.lang.SecurityException: login.conf (tal arquivo ou diretório não existe)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.io.IOException

      Unable to locate a login configuration

      at com.sun.security.auth.login.ConfigFile.init()
    2. Java RT
      Configuration.getConfiguration
      1. com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
      2. com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
      3. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      4. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      5. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      6. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      7. java.lang.Class.newInstance0(Class.java:350)
      8. java.lang.Class.newInstance(Class.java:303)
      9. javax.security.auth.login.Configuration$3.run(Configuration.java:216)
      10. java.security.AccessController.doPrivileged(Native Method)
      11. javax.security.auth.login.Configuration.getConfiguration(Configuration.java:210)
      11 frames
    3. com.sun.dml
      LoginAction.execute
      1. com.sun.dml.web.LoginAction.execute(LoginAction.java:113)
      1 frame
    4. struts
      RequestProcessor.processActionPerform
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      1 frame
    5. com.sun.dml
      DmlRequestProcessor.processActionPerform
      1. com.sun.dml.web.DmlRequestProcessor.processActionPerform(DmlRequestProcessor.java:180)
      1 frame
    6. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      2. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      3. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    9. Embedded GlassFish Web
      ChannelSocket$SocketConnection.runIt
      1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
      2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
      3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
      4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
      5. org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
      5 frames
    10. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame