Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ramesh, peterramesh wrote: On reading Tomcat help doc http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html, it recommends to place the MySQL JDBC driver in both places (CATALINA_HOME/lib and WEB-INF/lib folder of the app). I don't

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-04 Thread peterramesh
Hi Kees, Yes. Since, I'm using the JNDO datasource the JDBC driver need to be in $CATALINA_HOME, becase 'common' class loader looks for the JDBC driver (it may be invoked by tomcat-dbcp.jar). Ramesh Kees de Kooter wrote: Hi Ramesh, Did you configure a JNDI datasource in tomcat? In that

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-04 Thread peterramesh
Hi Gregor, Why should your webapps require different versions of the same JDBC-driver? Do you have different instance of MySQL running? If not, IMHO that doesn't make any sense at all. Thanks for your reply, this make me understood that Tomcat server just need a JDBC driver (single version) for

Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread peterramesh
Hi, On reading Tomcat help doc http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html, it recommends to place the MySQL JDBC driver in both places (CATALINA_HOME/lib and WEB-INF/lib folder of the app). If I haven't placed in CATALINA_HOME/lib folder, my app is failing with driver

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Kees de Kooter
Hi Ramesh, Did you configure a JNDI datasource in tomcat? In that case the datasource exists outside your app. Cheers, Kees de Kooter http://www.boplicity.net On Mon, Feb 2, 2009 at 13:06, peterramesh ramesh.ramas...@gmail.com wrote: Hi, On reading Tomcat help doc

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Gregor Schneider
Within the docs I do not see a recommendation to place the JDBC-driver both in ${CATALIN_HOME}/lib *AND* WEB-INF: == 1. Install Your JDBC Driver Use of the JDBC Data Sources JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat internal