Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Where to put oracle driver file

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I am deploying my WAR file and it have refrence to OracleConnectionpool which has its implementation in classes12.zip file. It always goes in WEB-INF/lib file. When I am trying to rum app this file never reached by application. Do I need to put this file at some specific place.
Any clue...
Thanks
-Viku
 
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your usage seems to be ok, and a webapp will have access to *ITS OWN* WEB-INF/lib jars. (note the .jar extension)
For more detail, read up the Class Loader documentation for tomcat 4. Its easy to understand and very vital to anyone using tomcat.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to drive home a point Chu Tan made obliquely, you MUST rename classes12.zip to classes12.jar. Tomcat will NOT load anything that isn't in a jar file. (It ignores zip files in WEB-INF/lib or common/lib)
 
reply
    Bookmark Topic Watch Topic
  • New Topic