zoukankan      html  css  js  c++  java
  • 同时启动多个tomcat

    (1) 修改http访问端口(默认为8080端口)
              <Connector   className="org.apache.coyote.tomcat4.CoyoteConnector"    port="8080" 
                                    minProcessors="5"    maxProcessors="75"  
                                     enableLookups="true"    redirectPort="8443"  
                                     acceptCount="100"    debug="0"    connectionTimeout="20000"  
                                     useURIValidationHack="false"    disableUploadTimeout="true"   />
    (大概在86行左右)将8080修改为第一个tomcat不在使用的端口号。此处所设的端口号即是以后访问web时所用的端口号。

    (2) 修改Shutdown端口(默认为8005端口)
        <Server port="8005" shutdown="SHUTDOWN" debug="0">
    (大概在13行左右)将8005修改为没有在使用的端口号,例如8095   

    (3) 修改JVM启动端口(默认为8009端口)
               < Connector    className ="org.apache.coyote.tomcat4.CoyoteConnector"   
                                     port ="8009"     minProcessors ="5"     maxProcessors ="75"   
                                     enableLookups ="true"     redirectPort ="8443"   
                                     acceptCount ="10"     debug ="0"     connectionTimeout ="20000"  
                                     useURIValidationHack ="false"   
                                    protocolHandlerClassName ="org.apache.jk.server.JkCoyoteHandler" />
    (大概在107行左右)将8009修改为没有在使用的端口号,例如8099  

  • 相关阅读:
    解决SharePoint 2010拒绝访问爬网内容源错误
    Sharepoint 2010 工作流状态值
    修改任务显示WrkTaskIp.aspx页面
    Infopath 2013 通过UserProfileService读取AD用户信息
    js验证
    .net中下载文件的方法(转)
    IIS限制ASP.Net 文件上传大小解决方案,修改IIS7/7.5配置
    SharePoint2013 SharePoint-Hosted 模式 分页方法
    技术QQ群
    react学习
  • 原文地址:https://www.cnblogs.com/sunormoon/p/2331599.html
Copyright © 2011-2022 走看看