问题描述
今天部署一套程序,不停的报这个错误,我用tomcat进行部署的是7.0.25,以下是错误日志,望大侠解决警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:56org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:56org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:57org.apache.catalina.realm.LockOutRealmauthenticate警告:Anattemptwasmadetoauthenticatethelockeduser"manager"2012-6-1416:12:58org.apache.catalina.realm.LockOutRealmauthenticate
解决方案
解决方案二:
密码配置错了?
解决方案三:
该回复于2012-06-15 08:59:19被版主删除
解决方案四:
在server.xml中配置这个<!--UsetheLockOutRealmtopreventattemptstoguessuserpasswordsviaabrute-forceattack--><RealmclassName="org.apache.catalina.realm.LockOutRealm"><!--ThisRealmusestheUserDatabaseconfiguredintheglobalJNDIresourcesunderthekey"UserDatabase".AnyeditsthatareperformedagainstthisUserDatabaseareimmediatelyavailableforusebytheRealm.--><RealmclassName="org.apache.catalina.realm.UserDatabaseRealm"resourceName="UserDatabase"/></Realm><GlobalNamingResources><!--EditableuserdatabasethatcanalsobeusedbyUserDatabaseRealmtoauthenticateusers--><Resourcename="UserDatabase"auth="Container"type="org.apache.catalina.UserDatabase"description="Userdatabasethatcanbeupdatedandsaved"factory="org.apache.catalina.users.MemoryUserDatabaseFactory"pathname="conf/tomcat-users.xml"/></GlobalNamingResources>
解决方案五:
同样遇到这个问题,找答案中
解决方案六:
说说想法:查看server.xml和tomcat-user.xml
解决方案七:
我也遇到这种情况,但是目前不影响应用的使用.