OK, I was trying to go away from this approach because Tomcat 6 didn't ship with a conf/Catalina/localhost directory, but apparently, this is still the way to do things. So I created this directory, put the xml files that synced with my webapp in there and everything's back to working peachy keen.
Shouldn't have messed with something that worked :(. -----Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 2:26 PM To: Tomcat Users List Subject: Re: JDBC connection issue Right ... tomcat 6's version of common/lib/ is simply lib/ Location of the driver jars is not entirely as simple as either in your webapp or on the container's lib directory. Like the Highlander (good movie if you haven't seen it), there can be only one. If another webapp is using it and it's in either common/lib/ or lib/ depending on your tomcat version, you can't have a copy in your webapp's WEB-INF/lib folder. --David Gregor Schneider wrote: >I'm not sure about Tomcat 6, but in Tomcat 5.x there's no such thing >as $CATALIN_HOME/lib. YOur JDBC-drivers should either be bundled with >your web-app (if that's the only one using them) or, if used both from >Tomcat and your webapp(s) to $CATALINA_HOME/common/lib > >Coming to the context: > >- Create a file called "context.xml" in your META-INF-directory of your web-app >- define your context in there >- pack your war >- deploy >- feel happy and read >http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > >Cheers > >Gregor > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]