Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

web-inf/lib VS common/lib in tomcat

843836Mar 19 2004 — edited Mar 25 2004
Hai,

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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2004
Added on Mar 19 2004
23 comments
1,684 views