File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Driver conflict

 
Andrei Antonescu
Ranch Hand
Posts: 75
  • 0
  • 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
Pie
Posts: 2496
10
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic