You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by adam kramer <ad...@monkey.org> on 2002/08/25 20:21:46 UTC
jndi jdbc driver location
At
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
"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 classes and
to your web application. This is most easily accomplished by installing
the driver's JAR file(s) into the $CATALINA_HOME/common/lib directory,
which makes the driver available both to the resource factory and to your
application."
can the jdbc .jar driver file be in $CATALINA_HOME/lib or does it have to
be in common/lib to be available to the resource factory in Tomcat 4.0.4?
thanks,
Adam K
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: jndi jdbc driver location
Posted by Andrew Conrad <an...@attbi.com>.
Relating to tomcat 4.0.x:
%CATALINA%/lib is for webapps only. The Tomcat Server does not see it.
In Tomcat 4.1.x, the %CATALINA%/lib folder has been renamed to
%CATALINA%/shared/lib, which should help prevent this confusion.
- Andrew
> -----Original Message-----
> From: adam kramer [mailto:adam@monkey.org]
> Sent: Sunday, August 25, 2002 2:22 PM
> To: Tomcat Users List
> Subject: jndi jdbc driver location
>
>
>
> At
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources
> -howto.html
> "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 classes and to your web application. This is
> most easily accomplished by installing the driver's JAR
> file(s) into the $CATALINA_HOME/common/lib directory, which
> makes the driver available both to the resource factory and
> to your application."
>
> can the jdbc .jar driver file be in $CATALINA_HOME/lib or
> does it have to be in common/lib to be available to the
> resource factory in Tomcat 4.0.4?
>
> thanks,
> Adam K
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>