tomcat端口配置方法

少于 1 分钟阅读

Contact me

或者用邮件交流 jacky.wucheng@foxmail.com

基础概念

tomcat重要概念: server, connector, container

  • Connector
  • Container
    • Engine (handles all requests for a Service)
    • Host (handles all requests for a particular virtual host)
    • Context (handles all requests for a specific web application)

AJP

AJP:Apache JServ Protocol, AJP is a binary protocol that can proxy inbound requests from a web server through to an application server that sits behind the web server.

用来将Apache作为前端负载均衡时,apache跟tomcat通信的协议,类似于wsgi。

参考:https://en.wikipedia.org/wiki/

Tomcat里的端口

catalina-jmx-remote.jar下载地址: http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.65/bin/extras/

参考资料