tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: Setting web app to use mysql driver...
Date Fri, 13 Sep 2002 19:05:59 GMT
If your are using Realms, then modify
$CATALINA_HOME/conf/server.xml to include the context
for the web app and a realm for mysql (there is a
sample realm for mysql in the server.xml file already)
under the appropriate service/engine and optionally
host.  Place the actual JDBC driver in either
$CATALINA_HOME/common/lib (used by server and web
apps) or $CATALINA_HOME/server/lib (used by catalina
only).  Try also reading the REALM-HOWTO located at
Apache Jakarta-Tomcat

There are also other ways including using .war files
that this same functionality can be made available
with the deployment descriptor .../WEB-INF/web.xml for
your web app.

Hope this helps.


--- Keith Pemberton <> wrote:
> Hi all,
>     I have a webapp that depends on a mysql database
> in order for the person to login to the app.  How do
> I get the app to recognize the jar file that
> contains the drivers for connecting to the database?
>  Thanks in advance!
> Keith

Do you Yahoo!?
Yahoo! News - Today's headlines

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message