No, I am not currently using a war file. The ant deploy task is copying the updated files directly to the webapps directory.
Joshua -----Original Message----- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:52 AM To: Tomcat Users List Subject: Re: context.xml - what's the secret? Are you using a war file? ----- Original Message ----- From: "White, Joshua A (HTSC, CASD)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 7:45 AM Subject: context.xml - what's the secret? > Hello all, > > Let me first say that I am using Tomcat 4.1.30 and have an existing > application that is working properly. I decided that I would like to > explore putting the context element for my web application in a > myWebapp/META-INF/context.xml file instead of in my server.xml file. The > existing configuration currently works and defines both a dbcp connection > pool and a mail session. > > After removing this context element from my server.xml file and placing it > into the context.xml file, my application no longer works. What did I miss? > I am using the ant install and deploy tasks to deploy/install this simple > application. > > I receive the following exception (keep in mind that my previous > configuration works and that my JDBC driver is in the common/lib dir): > > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of > class '' for connect URL 'null', cause: > java.sql.SQLException: No suitable driver > at java.sql.DriverManager.getDriver(DriverManager.java:243) > at > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav > a:743) > at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5 > 18) > at hibernateapp.DBTest.init(DBTest.java:24) > . > . > . > > Regards, > > Joshua > > > > > This communication, including attachments, is for the exclusive use of > addressee and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, any use, copying, > disclosure, dissemination or distribution is strictly prohibited. If > you are not the intended recipient, please notify the sender > immediately by return email and delete this communication and destroy all copies. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]