Your SlideShare is downloading. ×
0
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences

2,125

Published on

Why do we have multiple lib directories under tomcat 5.5.x? This presentation tries to answer the same.

Why do we have multiple lib directories under tomcat 5.5.x? This presentation tries to answer the same.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,125
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences Vijay Prasad Gupta ECM & Web Architect http://www.linkedin.com/in/vpgupta/ http://ecmwebandmore.blogspot.com/
  • 2. Multiple lib directories under Tomcat…why? • <Catalina_Home>/server/lib • <Catalina_Home>/common/lib • <Catalina_Home>/shared/lib
  • 3. <Catalina_Home>/server/lib • Contains jar files to be used by tomcat container. Includes all classes and resources required to implement Tomcat 5.5.x itself • These classes and resources are totally invisible to web applications • The Catalina class loader makes these classes and resources visible to tomcat containers
  • 4. <Catalina_Home>/common/lib • Contains jar files to be used by both the tomcat container as well as all deployed web applications • These classes and resources are visible to both container and all web applications • The Common class loader makes these classes and resources visible to both container as well as web- applications
  • 5. <Catalina_Home>/shared/lib • Contains jar files to be used by all deployed web applications only • These classes and resources are totally invisible to tomcat container • The Shared class loader makes these classes and resources visible to all deployed web applications
  • 6. Summary Folder Path Visible to tomcat Visible to web Class Loader Name container applications <Catalina_Home>/server/lib Yes No Catalina <Catalina_Home>/common/lib Yes Yes Common <Catalina_Home>/shared/lib No Yes Shared
  • 7. References • http://tomcat.apache.org/tomcat-5.5- doc/class-loader-howto.html • http://javahowto.blogspot.com/2007/01 /tomcat-commonlib-vs-sharedlib.html
  • 8. Thank You !! • Any Questions ?

×