-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 7/20/2010 11:14 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Self-Contained Web Applications >> >> 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). > > But now you're asking commons-dbcp classes (loaded by the common > classloader) to look _downwards_ in the classloader hierarchy to find > the JDBC driver they're using for the connections. I don't think > that's going to happen - ever. Obviously, the classes themselves have no knowledge of the class loading hierarchy. As long as the WebappClassLoader is the context ClassLoader for the thread that creates the DataSource, all should be well. Am I missing something tremendous, here? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxHCkQACgkQ9CaO5/Lv0PALxQCeLCCNOSBJWPaeqoq1aF3RI27N 3GAAnjm3UvsCVUyYee4w6x3CBxMznrWb =e5Sm -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org