Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Tomcat Extra properties

Tomcat Extra properties allow you to load properties from other files than catalina.properties.

Installation

  1. Put tomcat-extra-properties.jar in $CATALINA_HOME/lib
  2. Create or edit $CATALINA_HOME/bin/setenv.(sh|bat) to add this line:
export CLASSPATH=$CATALINA_HOME/lib/tomcat-extra-properties.jar
set CLASSPATH=%CATALINA_HOME%/lib/tomcat-extra-properties.jar

Usage

Simply reference all the extra properties files with the property catalina.extra.properties.urls as a comma separated list of URLs.

catalina.extra.properties.urls=\
  file://${catalina.home}/catalina.extra.properties,\
  file:///etc/tomcat/catalina.extra.properties,\
  http://example.org/tomcat/catalina.extra.properties

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors