| Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 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 | #
 | 
 | 17 | # List of comma-separated packages that start with or equal this string
 | 
 | 18 | # will cause a security exception to be thrown when
 | 
 | 19 | # passed to checkPackageAccess unless the
 | 
 | 20 | # corresponding RuntimePermission ("accessClassInPackage."+package) has
 | 
 | 21 | # been granted.
 | 
| Hongqing Liu | 7189829 | 2014-10-15 13:31:32 +0800 | [diff] [blame] | 22 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,\
 | 
 | 23 | org.apache.naming.resources.,org.apache.tomcat.,sun.beans.
 | 
| Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 24 | #
 | 
 | 25 | # List of comma-separated packages that start with or equal this string
 | 
 | 26 | # will cause a security exception to be thrown when
 | 
 | 27 | # passed to checkPackageDefinition unless the
 | 
 | 28 | # corresponding RuntimePermission ("defineClassInPackage."+package) has
 | 
 | 29 | # been granted.
 | 
 | 30 | #
 | 
 | 31 | # by default, no packages are restricted for definition, and none of
 | 
 | 32 | # the class loaders supplied with the JDK call checkPackageDefinition.
 | 
 | 33 | #
 | 
| Hongqing Liu | 7189829 | 2014-10-15 13:31:32 +0800 | [diff] [blame] | 34 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,\
 | 
 | 35 | org.apache.jasper.,org.apache.naming.,org.apache.tomcat.
 | 
| Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 36 | 
 | 
 | 37 | #
 | 
 | 38 | #
 | 
 | 39 | # List of comma-separated paths defining the contents of the "common" 
 | 
 | 40 | # classloader. Prefixes should be used to define what is the repository type.
 | 
 | 41 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
 | 
 | 42 | # If left as blank,the JVM system loader will be used as Catalina's "common" 
 | 
 | 43 | # loader.
 | 
 | 44 | # Examples:
 | 
 | 45 | #     "foo": Add this folder as a class repository
 | 
 | 46 | #     "foo/*.jar": Add all the JARs of the specified folder as class 
 | 
 | 47 | #                  repositories
 | 
 | 48 | #     "foo/bar.jar": Add bar.jar as a class repository
 | 
 | 49 | common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
 | 
 | 50 | 
 | 
 | 51 | #
 | 
 | 52 | # List of comma-separated paths defining the contents of the "server" 
 | 
 | 53 | # classloader. Prefixes should be used to define what is the repository type.
 | 
 | 54 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
 | 
 | 55 | # If left as blank, the "common" loader will be used as Catalina's "server" 
 | 
 | 56 | # loader.
 | 
 | 57 | # Examples:
 | 
 | 58 | #     "foo": Add this folder as a class repository
 | 
 | 59 | #     "foo/*.jar": Add all the JARs of the specified folder as class 
 | 
 | 60 | #                  repositories
 | 
 | 61 | #     "foo/bar.jar": Add bar.jar as a class repository
 | 
 | 62 | server.loader=
 | 
 | 63 | 
 | 
 | 64 | #
 | 
 | 65 | # List of comma-separated paths defining the contents of the "shared" 
 | 
 | 66 | # classloader. Prefixes should be used to define what is the repository type.
 | 
 | 67 | # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
 | 
 | 68 | # the "common" loader will be used as Catalina's "shared" loader.
 | 
 | 69 | # Examples:
 | 
 | 70 | #     "foo": Add this folder as a class repository
 | 
 | 71 | #     "foo/*.jar": Add all the JARs of the specified folder as class 
 | 
 | 72 | #                  repositories
 | 
 | 73 | #     "foo/bar.jar": Add bar.jar as a class repository 
 | 
 | 74 | # Please note that for single jars, e.g. bar.jar, you need the URL form
 | 
 | 75 | # starting with file:.
 | 
 | 76 | shared.loader=
 | 
 | 77 | 
 | 
 | 78 | #
 | 
 | 79 | # String cache configuration.
 | 
 | 80 | tomcat.util.buf.StringCache.byte.enabled=true
 | 
 | 81 | #tomcat.util.buf.StringCache.char.enabled=true
 | 
 | 82 | #tomcat.util.buf.StringCache.trainThreshold=500000
 | 
 | 83 | #tomcat.util.buf.StringCache.cacheSize=5000
 |