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

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Multiple Tomcat Lib Directories in Tomcat 5.5.x – Purpose and differences - Presentation 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 ?
    SlideShare Zeitgeist 2009

    + Vijay GuptaVijay Gupta Nominate

    custom

    411 views, 0 favs, 1 embeds more stats

    Why do we have multiple lib directories under tomca more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 411
      • 406 on SlideShare
      • 5 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 5
    Most viewed embeds
    • 5 views on http://ecmwebandmore.blogspot.com

    more

    All embeds
    • 5 views on http://ecmwebandmore.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories