-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
(I mist have missed these replies... I'm resurrecting this thread). On 6/25/2010 5:44 PM, Caldarale, Charles R wrote: >> From: Jon Brisbin [mailto:jon.bris...@npcinternational.com] >> Subject: Re: Self-Contained Web Applications >> >> Wouldn't it make sense to scope it to the Context, since >> you'd be using the webapp's classloader? > > Correct. Note that the desired effect should be achievable by > including commons-dbcp in its WEB-INF/lib, and coding the application > to use that. Completely self-contained, and not dependent on any > container behavior or capabilities. Well, having to include commons-dbcp is a bit of an implementation detail, here. I should be able to include only my own JDBC driver and have Tomcat figure out that commons-dbcp should be available elsewhere (say, in the lib directory). That should work even if the WebappClassLoader is being used to initialize the DataSource, since it will call up the ClassLoader chain to find classes not available "locally". - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxGRyIACgkQ9CaO5/Lv0PD4bwCgkw/zD0zmMJbjROvneYT0ZCFw whcAoMBZ8RL2iN2SdFoUqy+3q5LtTIPf =p0vo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org