catalina.properties 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.tomcat.,org.apache.jasper.
  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.,org.apache.tomcat.,org.apache.jasper.
  33. #
  34. #
  35. # List of comma-separated paths defining the contents of the "common"
  36. # classloader. Prefixes should be used to define what is the repository type.
  37. # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  38. # If left as blank,the JVM system loader will be used as Catalina's "common"
  39. # loader.
  40. # Examples:
  41. # "foo": Add this folder as a class repository
  42. # "foo/*.jar": Add all the JARs of the specified folder as class
  43. # repositories
  44. # "foo/bar.jar": Add bar.jar as a class repository
  45. common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
  46. #
  47. # List of comma-separated paths defining the contents of the "server"
  48. # classloader. Prefixes should be used to define what is the repository type.
  49. # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  50. # If left as blank, the "common" loader will be used as Catalina's "server"
  51. # loader.
  52. # Examples:
  53. # "foo": Add this folder as a class repository
  54. # "foo/*.jar": Add all the JARs of the specified folder as class
  55. # repositories
  56. # "foo/bar.jar": Add bar.jar as a class repository
  57. server.loader=
  58. #
  59. # List of comma-separated paths defining the contents of the "shared"
  60. # classloader. Prefixes should be used to define what is the repository type.
  61. # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
  62. # the "common" loader will be used as Catalina's "shared" loader.
  63. # Examples:
  64. # "foo": Add this folder as a class repository
  65. # "foo/*.jar": Add all the JARs of the specified folder as class
  66. # repositories
  67. # "foo/bar.jar": Add bar.jar as a class repository
  68. # Please note that for single jars, e.g. bar.jar, you need the URL form
  69. # starting with file:.
  70. shared.loader=
  71. # List of JAR files that should not be scanned for configuration information
  72. # such as web fragments, TLD files etc. It must be a comma separated list of
  73. # JAR file names.
  74. # The JARs listed below include:
  75. # - Tomcat Bootstrap JARs
  76. # - Tomcat API JARs
  77. # - Catalina JARs
  78. # - Jasper JARs
  79. # - Tomcat JARs
  80. # - Common non-Tomcat JARs
  81. # - Sun JDK JARs
  82. # - Apple JDK JARs
  83. tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
  84. bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
  85. annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
  86. catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
  87. jasper.jar,jasper-el.jar,ecj-*.jar,\
  88. tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
  89. tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
  90. tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
  91. tomcat-jdbc.jar,\
  92. commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
  93. commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
  94. commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
  95. commons-math*.jar,commons-pool*.jar,\
  96. jstl.jar,\
  97. geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
  98. ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
  99. jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
  100. xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
  101. dnsns.jar,ldapsec.jar,localedata.jar,sunjce_provider.jar,sunmscapi.jar,\
  102. sunpkcs11.jar,jhall.jar,tools.jar,\
  103. sunec.jar,zipfs.jar,\
  104. apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
  105. j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
  106. mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
  107. junit.jar,junit-*.jar,ant-launcher.jar
  108. #
  109. # String cache configuration.
  110. tomcat.util.buf.StringCache.byte.enabled=true
  111. #tomcat.util.buf.StringCache.char.enabled=true
  112. #tomcat.util.buf.StringCache.trainThreshold=500000
  113. #tomcat.util.buf.StringCache.cacheSize=5000