1 Reply Latest reply on Mar 29, 2010 2:42 PM by frontline2

    Weird login errors in log

    frontline2

      I get the error below in my logs, and it loops there for a while. While this is going on I still can log in to the portal normally, and I don't think that it causes any errors for the users.
      After a while it then stops (the errors in the log).
      What causes this?
      Using portal 2.6.6-GA

      2009-09-07 12:31:28,399 ERROR [com.opensymphony.oscache.base.Cache] internal error: expected to get a state from key []
      2009-09-07 12:31:28,400 ERROR [org.jboss.portal.identity.auth.IdentityLoginModule] Error when validating password
      org.jboss.portal.common.transaction.NestedException: javax.security.auth.login.LoginException: java.lang.RuntimeException: Error getting cache entry
      at org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:253)
      at org.jboss.portal.common.transaction.Transactions.required(Transactions.java:289)
      at org.jboss.portal.identity.auth.IdentityLoginModule.getUserStatus(IdentityLoginModule.java:218)
      at org.jboss.portal.identity.auth.IdentityLoginModule.validatePassword(IdentityLoginModule.java:185)
      at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210)
      at sun.reflect.GeneratedMethodAccessor429.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
      at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
      at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.security.auth.login.LoginException: java.lang.RuntimeException: Error getting cache entry
      at org.jboss.portal.identity.auth.IdentityLoginModule$1.run(IdentityLoginModule.java:282)
      at org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:219)
      ... 31 more

        • 1. Re: Weird login errors in log
          frontline2

          I still get this error in the logs now and then.

          It repeats thousands of times for a couple of hours.

           

          What causes this loop? I'm sure nobody is logging in this many times (FormAuthenticator is present in the stack trace. Does the SingleSignOn class have something to do with this?). And even if they were why the error?

          Anybody seen this error or any other ideas?