web-inf/lib VS common/lib in tomcat
843836Mar 19 2004 — edited Mar 25 2004Hai,
I have one web application, say appA, have deploy the security-constraint and use the org.apache.catalina.realm.JDBCRealm for authentication. Currently, i put the database driver jar (mysql) in common/lib. Every thing is work fine.
But when i changed the driver to WEB-INF/lib directory, the database connection fail, and login keep on fail.
What can i do to make it work if driver jar is in WEB-INF/lib?