Pid wrote:
On 10/03/2010 16:20, David kerber wrote:
As part of my migration from tc 5.5.x to 6.0.x, I'm reviewing my
deployment scripts, and noticed that in one of them, I'm deleting the
jdbc driver jar, jodbc.jar from the WEB-INF/lib folders, because it's
already on the system in jre/lib/ext.
However, I hadn't put that script into use on my TC 6 test box, so both
of my webapps still have the jodbc.jar in their WEB-INF/lib folder, and
I discovered that I can successfully run both of them at the same time
without running into the "already loaded" error I had been getting in
5.5 (which is what caused me to put that stuff in the deployment script
in the first place).
Is this a behavior change in 6.0, or is this error something that
requires something else to trigger it?
If there's nothing like a Realm configured above the web app classloader
level which would require the driver to be accessible, then you probably
won't see an error because the one in the web app is loaded first.
No, no realms to worry about (at least not right now).
Is it still considered good practice to put the jdbc driver jars into
the common lib location (catalina_home/lib on tc6)?
It sounds like you're saying that I'm probably ok with the way I'm set
up now, but if I change some things, it's possible that something may
come back to bite me in the future. Is that a correct interpretation?
D
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org