好学IT学院:IT信息技术分享交流平台
标签:环境  来源:互联网  作者:cnbeta  发布时间:2009-05-23  ★★★加入收藏〗〖手机版
摘要:Tomcat是Apache软件基金会(ApacheSoftwareFoundation)的Jakarta项目中的一个核心项目,由Apache、Sun和其他一些公司及个人共同开发而成。由于有了Sun的参与和支持,最新的Servlet和JSP规范总是能在Tomca…

================
  Tomcat on Linux:
  ================

GLIBC 2.2 / Linux 2.4 users should define an environment variable:
  export LD_ASSUME_KERNEL=2.2.5
  Redhat Linux 9.0 users should use the following setting to avoid
  stability problems:
  export LD_ASSUME_KERNEL=2.4.1
  There are some Linux bugs reported against the NIO sendfile behavior, make sure you
  have a JDK that is up to date, or disable sendfile behavior in the Connector.
  6427312: (fc) FileChannel.transferTo() throws IOException "system call interrupted"
  5103988: (fc) FileChannel.transferTo should return -1 for EAGAIN instead throws IOException
  6253145: (fc) FileChannel.transferTo on Linux fails when going beyond 2GB boundary
  6470086: (fc) FileChannel.transferTo(2147483647, 1, channel) cause "Value too large" exception
  Enabling SSI and CGI Support:

=============================
  Because of the security risks associated with CGI and SSI available
  to web applications, these features are disabled by default.
  To enable and configure CGI support, please see the cgi-howto.html page.
  To enable and configue SSI support, please see the ssi-howto.html page.

======================
  Security manager URLs:
  ======================

In order to grant security permissions to JARs located inside the
  web application repository, use URLs of of the following format
  in your policy file:
  file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar

============================
  Symlinking static resources:
  ============================

By default, Unix symlinks will not work when used in a web application to link
  resources located outside the web application root directory.
  This behavior is optional, and the "allowLinking" flag may be used to disable
  the check.

=========================
  Enabling invoker servlet:
  =========================

Starting with Tomcat 4.1.12, the invoker servlet is no longer available by
  default in all webapps. Enabling it for all webapps is possible by editing
  $CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping
  definition.
  Using the invoker servlet in a production environment is not recommended and
  is unsupported. More details are available on the Tomcat FAQ at
  http://tomcat.apache.org/faq/misc.html#invoker.

==============================
  Viewing the Tomcat Change Log:
   ==============================

See changelog.html in this directory.

====================
  When all else fails:
  ====================

See the FAQ
  http://tomcat.apache.org/faq/

  • 好学考试H5触屏版开放内测
  • 好学触屏公众号虎力全开、杨帆起航!