-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason,

Heping Ling wrote:
> Libraries (*.jar files) specific to an application should be in the
> application's WEB-INF/lib directory, and those shared by all applications
> should be in $CATALINA_HOME/common/lib.  I put the database driver file in
> both directories just in case, but it did not work.

This will certainly not work. Pick one location and put the driver
there. You should put your JDBC driver only in common/lib.

> I follow the Tomcat documentation, and have found one error on my part,
> i.e., the context.xml file to configure is not the
> $CATALINE_HOME/config/context.xml file, but the META-INF/context.xml file
> under the application, which is what the Tomcat documentation says.

Yes. All you need is:

1. Driver in common/lib
2. DataSource configuration in webapp.war[/META-INF/context.xml]

It's very simple.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBQk79CaO5/Lv0PARAjtHAJ9326LxMK1zqRmB+NsVqBv/9/BrJQCgm6kl
6NDDLjROnAFEon7z2r2HdP0=
=XGgE
-----END PGP SIGNATURE-----

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