tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: WebappClassLoader clearReferencesThreads
Date Wed, 07 Jul 2010 11:25:24 GMT
2010/7/6 Leo Donahue - PLANDEVX <LeoDonahue@mail.maricopa.gov>:
> Part 2:
> What is the correct way to make connections to things that are not data sources in Tomcat?
 Can Tomcat manage the connection information (machine name, domain, user, password)?  How?
>

There is JNDI support available, so that you can declare <Resource> if
you provide an appropriate factory="" for it.

http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html

The factories are provided for some standard resource types (like
java.sql.DataSource).

Actually, Tomcat does not implement that factory by itself, but uses
Apache Commons DBCP library from http://commons.apache.org/ which
itself is based on Apache Commons Pool library.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message