Chapter 5: Basic Tomcat Confi guration Attribute Description

Chapter 5: Basic Tomcat Confi guration Attribute Description Required? className The Java class that is used to implement the per- application Context. The default is the Tomcatsupplied class org.apache.catalina.core. StandardContext, and does not need to be changed. No allowLinking On Linux and other operating systems that support symbolic links, this allows files to be linked to resources outside the Web application tree. The default value is false. On Windows systems, which do not support symbolic links, make sure this value is false. No antiJARLocking Uses specialized classloaders code to avoid locking up JAR files as much as possible while accessing class information inside the JAR file. Default is false. This No should be turned on only if you experience a JAR file locking problem, such as failure in autodeployment. antiResourceLocking Uses specialized code to avoid file locking as much as possible. Default is false. This option should be left to default unless you experience file locking problems (typically during uninstall or redeployment of application). No backgroundProcessDelay The delay in seconds before the background processing thread is enabled for this host and other nested components. Any nested component with its own backgroundProcessDelayset to a non-negative value will be ignored, indicating that it will manage its own background processing (if any). The default delay is -1, indicating that the parent s background processing thread should be used. No cacheMaxSize Sets the maximum size for the resource cache, in KB. The default is 10240. No cacheTTL Time between attempts to revalidate items in cache, specified in milliseconds. The default is 5000. No cachingAllowed Determines if static resource (config files, images, Web pages, and so on) cache should be turned on. The default is true. No caseSensitive Determines if case sensitivity checks should be performed. Default is true. Leave this on, especially on an operating system with case-insensitive file systems such as Windows. No cookies Uses cookies to track session information from client No access. Cookies are the most universally accepted means to perform session management. Default is true. If you turn this off, application-level URL rewriting is required to maintain session information. Table continued on following page

For high quality java hosting services please check tomcat web hosting website.

Comments are closed.