zoukankan      html  css  js  c++  java
  • Advanced Configuration Multiple Tomcat Instances 规格严格

    ==================================================
    Advanced Configuration - Multiple Tomcat Instances
    ==================================================

    In many circumstances, it is desirable to have a single copy of a Tomcat
    binary distribution shared among multiple users on the same server.  To make
    this possible, you can set the $CATALINA_BASE environment variable to the
    directory that contains the files for your 'personal' Tomcat instance.

    When you use $CATALINA_BASE, Tomcat will calculate all relative references for
    files in the following directories based on the value of $CATALINA_BASE instead
    of $CATALINA_HOME:

    * bin  - Only setenv.sh (*nix), setenv.bat (windows) and tomcat-juli.jar

    * conf - Server configuration files (including server.xml)

    * logs - Log and output files

    * webapps - Automatically loaded web applications

    * work - Temporary working directories for web applications

    * temp - Directory used by the JVM for temporary files (java.io.tmpdir)

    Note that by default Tomcat will first try to load classes and JARs from
    $CATALINA_BASE/lib and then $CATALINA_HOME/lib. You can place instance specific
    JARs and classes (eg JDBC drivers) in $CATALINA_BASE/lib whilst keeping the
    standard Tomcat JARs in $CATALINA_HOME/lib.

    If you do not set $CATALINA_BASE, $CATALINA_BASE will default to the same value
    as $CATALINA_HOME, which means that the same directory is used for all relative
    path resolutions.

  • 相关阅读:
    深入理解加密、解密、数字签名和数字证书
    支付网关的设计
    spring boot Rabbitmq集成,延时消息队列实现
    五一之起一台服务器玩玩-u盘安装centos
    shell初识
    用户身份切换之初窥企业远程用户没root还有root权限
    man帮助文档打印
    开源镜像软件下载网址{转载}
    bash shell第一课
    jQuery常用ajax操作
  • 原文地址:https://www.cnblogs.com/diyunpeng/p/2073550.html
Copyright © 2011-2022 走看看