By Date: <-- -->
By Thread: <-- -->

cannot load jdbc driver??



You can, but you'll have to handle database pooling on your own. It's easy enough to do with a number of pooling projects out there -- c3p0 and commons-dbcp to name a couple.

Just write the code in a ServletContextListener and store the resulting DataSource in the ServletContext. It won't be available via JNDI look up either.

--David

Darren Hall wrote:

They will be accessible by your war file code. You do not need the jar
in both places. Only common/lib



No no. I understand that it will be available to my code (since the app server will put the jar in my classpath), but it means I can't deploy ojdbc14.jar with my war any longer. Correct?

-D


--------------------------------------------------------------------- To start a new topic, e-mail: users (at) tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org For additional commands, e-mail: users-help (at) tomcat.apache.org





---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org