Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zigarn/tomcat-extra-properties
https://github.com/zigarn/tomcat-extra-properties
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zigarn/tomcat-extra-properties
- Owner: zigarn
- Created: 2014-02-16T19:33:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-16T19:45:53.000Z (over 10 years ago)
- Last Synced: 2023-08-14T04:33:18.242Z (about 1 year ago)
- Size: 141 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
***********************
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:
.. code-block:: bash
export CLASSPATH=$CATALINA_HOME/lib/tomcat-extra-properties.jar
.. code-block:: dosbatch
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... code-block:: properties
catalina.extra.properties.urls=\
file://${catalina.home}/catalina.extra.properties,\
file:///etc/tomcat/catalina.extra.properties,\
http://example.org/tomcat/catalina.extra.properties