Tomcat Class Loader

From Dogtag
Jump to: navigation, search

Configuration

The class loader can be configured in $CATALINA_BASE/conf/catalina.properties:

common.loader="${catalina.base}/common/lib/*.jar","${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"

server.loader=

shared.loader=

Bootstrap

  • Java default libraries
  • Java extension libraries: $JAVA_HOME/jre/lib/ext

System

  • $CATALINA_HOME/bin/bootstrap.jar
  • $CATALINA_BASE/bin/tomcat-juli.jar or $CATALINA_HOME/bin/tomcat-juli.jar
  • $CATALINA_HOME/bin/commons-daemon.jar

Common

  • $CATALINA_BASE/lib
  • $CATALINA_HOME/lib

Web Application

  • /WEB-INF/classes
  • /WEB-INF/lib

References