Mohammad, Hammad Kasim Bekur wrote: > I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and > db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to > run the tomcat, server started up properly. > > Now I have removed these jar from common/lib and put under shared/lib, > server throws an error saying couldnot load the driver.
Entirely as expected. Database drivers have always had to be located in common/lib so they are visible to both Tomcat internals (for connection pooling) and the web app (so it can use them). Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org