How to fix Tomcat WARNING: An attempt was made to authenticate the locked user?
I am using Tomcat 7 with for Spring and JPA Application, database MySQL. Everything is working fine.but sometime realm.LockOutRealm authenticate problem will arise. I also used connection pooling in my application like: persistence.xml: <properties> <property name="hibernate.connection.username" value="---"/> <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/> <property name="hibernate.connection.password" value="----------"/> <property name="hibernate.connection.url" value="jdbc:mysql://----------?autoReconnect=true"/> <!--Connection Pooling c3p0 configuration--