> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > <Context path="/myapp" docBase="myapp"
Take out the path and docBase attributes - they're not allowed when using META-INF/context.xml. (This is not likely to solve your problem, but let's clean up the obvious things first.) > MyApp AppListener: ENTER > DAOBaseData: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' By intercepting and discarding the original exception, you threw away much useful information, such as the stack trace. Don't do that. > I tried copying it to /opt/tomcat5/common/lib , but I still > get the same error. The same jar must not be present in more than one node in a given classloader branch. So it would be o.k. to /move/ the jar to common/lib, but you must not have it in both common/lib and WEB-INF/lib. > Why does tomcat on Windows find the JDBC > driver, but not find it on Linux? Don't know, but the fix the above stuff first (along with what David S suggested), and let's go from there. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]