• 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: 3831
80
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!