Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Driver conflict  RSS feed

 
Andrei Antonescu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I use Tomcat. If I put a JDBC driver into Tomcat's lib folder, and another in the lib folder of my webapp will there be a conflict ? Is there a rule by which one of the drivers always gets loaded first ?

Thanks in advance,
 
Tim Moores
Saloon Keeper
Posts: 3511
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The one in WEB-INF/lib takes precedence, unless you're using a container-managed DataSource.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!