Tim Holloway wrote:One of the things that I loathe about WTP is that it mucks around with the Tomcat server configuration. Your original server.xml doesn't count; WTP cloned it and the clone copy probably still has the LockOutRealm in it, since that's not a Realm that's active by default. Your problem will probably magically go away if you run Tomcat stand-alone or under a less obnoxious Eclipse J2EE module like the sysdeo one.
Tim Holloway wrote:Take another look at your server.xml file. It appears that there's more than one Realm defined, and the JDBCRealm you specified isn't the one being used - it's using a LockOutRealm.
If you don't find the LockOutRealm definition in server.xml, look for an overriding deployment descriptor (context xml) file in TOMCAT_HOME/conf/Catalina/localhost. Also check the WAR for a META-INF/context.xml file.