描述:
我用tomcat 7.0.27进行部署的。别的电脑登录都没问题,就是有一台电脑登录不上去。前一天还可以,今天就无法登录了一直在首页,点登录无响应,望大侠帮忙看看。
错误日志:
2013-5-21 6:55:13 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "admin"
2013-5-21 6:55:14 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "admin"
2013-5-21 6:55:15 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "admin"
2013-5-21 6:55:16 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "admin"
2013-5-21 6:55:16 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "admin"
2013-5-21 6:55:20 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "tomcat"
2013-5-21 6:55:20 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "tomcat"
2013-5-21 6:55:21 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "tomcat"
2013-5-21 6:55:21 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "tomcat"
2013-5-21 6:55:22 org.apache.catalina.realm.LockOutRealm authenticate
警告: An attempt was made to authenticate the locked user "tomcat"
Tomcat应用登录authenticate

解决方案 »

  1.   

    打开你的tomcat下的conf下的server.xml文件,找到<Realm className="org.apache.catalina.realm.LockOutRealm">节点,贴出来,或者去掉里面的时间限制。
      

  2.   

    <Realm className="org.apache.catalina.realm.LockOutRealm">
            <!-- This Realm uses the UserDatabase configured in the global JNDI
                 resources under the key "UserDatabase".  Any edits
                 that are performed against this UserDatabase are immediately
                 available for use by the Realm.  -->
            <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                   resourceName="UserDatabase"/>
          </Realm>