catalina.properties 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. # List of comma-separated packages that start with or equal this string
  17. # will cause a security exception to be thrown when
  18. # passed to checkPackageAccess unless the
  19. # corresponding RuntimePermission ("accessClassInPackage."+package) has
  20. # been granted.
  21. package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat.
  22. #
  23. # List of comma-separated packages that start with or equal this string
  24. # will cause a security exception to be thrown when
  25. # passed to checkPackageDefinition unless the
  26. # corresponding RuntimePermission ("defineClassInPackage."+package) has
  27. # been granted.
  28. #
  29. # by default, no packages are restricted for definition, and none of
  30. # the class loaders supplied with the JDK call checkPackageDefinition.
  31. #
  32. package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,\
  33. org.apache.jasper.,org.apache.naming.,org.apache.tomcat.
  34. #
  35. #
  36. # List of comma-separated paths defining the contents of the "common"
  37. # classloader. Prefixes should be used to define what is the repository type.
  38. # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  39. # If left as blank,the JVM system loader will be used as Catalina's "common"
  40. # loader.
  41. # Examples:
  42. # "foo": Add this folder as a class repository
  43. # "foo/*.jar": Add all the JARs of the specified folder as class
  44. # repositories
  45. # "foo/bar.jar": Add bar.jar as a class repository
  46. #
  47. # Note: Values are enclosed in double quotes ("...") in case either the
  48. # ${catalina.base} path or the ${catalina.home} path contains a comma.
  49. # Because double quotes are used for quoting, the double quote character
  50. # may not appear in a path.
  51. common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"
  52. #
  53. # List of comma-separated paths defining the contents of the "server"
  54. # classloader. Prefixes should be used to define what is the repository type.
  55. # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  56. # If left as blank, the "common" loader will be used as Catalina's "server"
  57. # loader.
  58. # Examples:
  59. # "foo": Add this folder as a class repository
  60. # "foo/*.jar": Add all the JARs of the specified folder as class
  61. # repositories
  62. # "foo/bar.jar": Add bar.jar as a class repository
  63. #
  64. # Note: Values may be enclosed in double quotes ("...") in case either the
  65. # ${catalina.base} path or the ${catalina.home} path contains a comma.
  66. # Because double quotes are used for quoting, the double quote character
  67. # may not appear in a path.
  68. server.loader=
  69. #
  70. # List of comma-separated paths defining the contents of the "shared"
  71. # classloader. Prefixes should be used to define what is the repository type.
  72. # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
  73. # the "common" loader will be used as Catalina's "shared" loader.
  74. # Examples:
  75. # "foo": Add this folder as a class repository
  76. # "foo/*.jar": Add all the JARs of the specified folder as class
  77. # repositories
  78. # "foo/bar.jar": Add bar.jar as a class repository
  79. # Please note that for single jars, e.g. bar.jar, you need the URL form
  80. # starting with file:.
  81. #
  82. # Note: Values may be enclosed in double quotes ("...") in case either the
  83. # ${catalina.base} path or the ${catalina.home} path contains a comma.
  84. # Because double quotes are used for quoting, the double quote character
  85. # may not appear in a path.
  86. shared.loader=
  87. # Default list of JAR files that should not be scanned using the JarScanner
  88. # functionality. This is typically used to scan JARs for configuration
  89. # information. JARs that do not contain such information may be excluded from
  90. # the scan to speed up the scanning process. This is the default list. JARs on
  91. # this list are excluded from all scans. The list must be a comma separated list
  92. # of JAR file names.
  93. # The list of JARs to skip may be over-ridden at a Context level for individual
  94. # scan types by configuring a JarScanner with a nested JarScanFilter.
  95. # The JARs listed below include:
  96. # - Tomcat Bootstrap JARs
  97. # - Tomcat API JARs
  98. # - Catalina JARs
  99. # - Jasper JARs
  100. # - Tomcat JARs
  101. # - Common non-Tomcat JARs
  102. # - Test JARs (JUnit, Cobertura and dependencies)
  103. tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\
  104. annotations-api.jar,\
  105. ant-junit*.jar,\
  106. ant-launcher.jar,\
  107. ant.jar,\
  108. asm-*.jar,\
  109. aspectj*.jar,\
  110. bootstrap.jar,\
  111. catalina-ant.jar,\
  112. catalina-ha.jar,\
  113. catalina-ssi.jar,\
  114. catalina-storeconfig.jar,\
  115. catalina-tribes.jar,\
  116. catalina.jar,\
  117. cglib-*.jar,\
  118. cobertura-*.jar,\
  119. commons-beanutils*.jar,\
  120. commons-codec*.jar,\
  121. commons-collections*.jar,\
  122. commons-daemon.jar,\
  123. commons-dbcp*.jar,\
  124. commons-digester*.jar,\
  125. commons-fileupload*.jar,\
  126. commons-httpclient*.jar,\
  127. commons-io*.jar,\
  128. commons-lang*.jar,\
  129. commons-logging*.jar,\
  130. commons-math*.jar,\
  131. commons-pool*.jar,\
  132. derby-*.jar,\
  133. dom4j-*.jar,\
  134. easymock-*.jar,\
  135. ecj-*.jar,\
  136. el-api.jar,\
  137. geronimo-spec-jaxrpc*.jar,\
  138. h2*.jar,\
  139. ha-api-*.jar,\
  140. hamcrest-*.jar,\
  141. hibernate*.jar,\
  142. httpclient*.jar,\
  143. icu4j-*.jar,\
  144. jakartaee-migration-*.jar,\
  145. jasper-el.jar,\
  146. jasper.jar,\
  147. jaspic-api.jar,\
  148. jaxb-*.jar,\
  149. jaxen-*.jar,\
  150. jaxws-rt-*.jar,\
  151. jdom-*.jar,\
  152. jetty-*.jar,\
  153. jmx-tools.jar,\
  154. jmx.jar,\
  155. jsp-api.jar,\
  156. jstl.jar,\
  157. jta*.jar,\
  158. junit-*.jar,\
  159. junit.jar,\
  160. log4j*.jar,\
  161. mail*.jar,\
  162. objenesis-*.jar,\
  163. oraclepki.jar,\
  164. oro-*.jar,\
  165. servlet-api-*.jar,\
  166. servlet-api.jar,\
  167. slf4j*.jar,\
  168. taglibs-standard-spec-*.jar,\
  169. tagsoup-*.jar,\
  170. tomcat-api.jar,\
  171. tomcat-coyote.jar,\
  172. tomcat-dbcp.jar,\
  173. tomcat-i18n-*.jar,\
  174. tomcat-jdbc.jar,\
  175. tomcat-jni.jar,\
  176. tomcat-juli-adapters.jar,\
  177. tomcat-juli.jar,\
  178. tomcat-util-scan.jar,\
  179. tomcat-util.jar,\
  180. tomcat-websocket.jar,\
  181. tools.jar,\
  182. websocket-api.jar,\
  183. websocket-client-api.jar,\
  184. wsdl4j*.jar,\
  185. xercesImpl.jar,\
  186. xml-apis.jar,\
  187. xmlParserAPIs-*.jar,\
  188. xmlParserAPIs.jar,\
  189. xom-*.jar
  190. # Default list of JAR files that should be scanned that overrides the default
  191. # jarsToSkip list above. This is typically used to include a specific JAR that
  192. # has been excluded by a broad file name pattern in the jarsToSkip list.
  193. # The list of JARs to scan may be over-ridden at a Context level for individual
  194. # scan types by configuring a JarScanner with a nested JarScanFilter.
  195. tomcat.util.scan.StandardJarScanFilter.jarsToScan=\
  196. log4j-taglib*.jar,\
  197. log4j-jakarta-web*.jar,\
  198. log4javascript*.jar,\
  199. slf4j-taglib*.jar
  200. # String cache configuration.
  201. tomcat.util.buf.StringCache.byte.enabled=true
  202. #tomcat.util.buf.StringCache.char.enabled=true
  203. #tomcat.util.buf.StringCache.trainThreshold=500000
  204. #tomcat.util.buf.StringCache.cacheSize=5000
  205. # Disable use of some privilege blocks Tomcat doesn't need since calls to the
  206. # code in question are always already inside a privilege block
  207. org.apache.el.GET_CLASSLOADER_USE_PRIVILEGED=false