Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Driver conflict

 
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
Bartender
Posts: 2798
38
  • 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