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@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]

Reply via email to