项目部署,一个tomcat容器2个项目2个端口server.xml配置文件
来源:互联网 发布:网络出版 微信 编辑:程序博客网 时间:2024/06/10 19:03
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!--first web application -->
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding= "UTF-8" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="D:\Tomcat 7.0\webapps\ROOT" debug="0" reloadble="true"/>
</Host>
</Engine>
</Service>
<!--first web application -->
<Service name="Catalina2">
<Connector port="2012" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8553" />
<Connector port="8059" protocol="AJP/1.3" redirectPort="8553" />
<Engine name="Catalina2" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="D:\Tomcat 7.0\webapps\ExamWeb" debug="0" reloadble="true"/>
</Host>
</Engine>
</Service>
</Server>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!--first web application -->
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding= "UTF-8" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="D:\Tomcat 7.0\webapps\ROOT" debug="0" reloadble="true"/>
</Host>
</Engine>
</Service>
<!--first web application -->
<Service name="Catalina2">
<Connector port="2012" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8553" />
<Connector port="8059" protocol="AJP/1.3" redirectPort="8553" />
<Engine name="Catalina2" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="D:\Tomcat 7.0\webapps\ExamWeb" debug="0" reloadble="true"/>
</Host>
</Engine>
</Service>
</Server>
0 0
- 项目部署,一个tomcat容器2个项目2个端口server.xml配置文件
- linux下同一个tomcat部署多个项目 同一个端口
- Tomcat 利用server.xml配置多个项目部署
- tomcat 部署web项目,2个项目端口号要区分
- 一个tomcat上部署多个项目,并通过不同端口号访问不同的项目
- tomcat一个服务器部署多个项目
- 一个tomcat部署多个struts2项目
- 一个tomcat部署多个项目
- 一个tomcat部署多个项目
- tomcat xml配置文件部署项目
- 在一个服务部署2个tomcat运行2个项目
- 一个tomcat部署多个项目并通过不同的端口访问
- 一个tomcat部署多个项目并通过不同的端口访问
- 一个tomcat部署多个项目(同端口,多项目,不同访问路径)
- 同一Tomcat 多个端口部署不同的项目
- 同一Tomcat 多个端口部署不同的项目
- 同一Tomcat 多个端口部署不同的项目
- 同一Tomcat 多个端口部署不同的项目
- linux开发入门
- C#代码,查询
- CentOS7下安装MySQL5.7安装与配置(YUM)
- 使用gitbook写一本电子书,试用至少5个插件,并写成一篇技术博客
- 平时工作几条sql语句记录
- 项目部署,一个tomcat容器2个项目2个端口server.xml配置文件
- OpenCV中CvSVM部分函数解读
- tomcat和tomcat7w可能需要的配置
- Velocity之vm页面注释
- 客户端svn出现authorization failed异常
- SpringMVC源码剖析(三)- DispatcherServlet的初始化流程
- 启动项目报java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader错误
- 一个tomcat7容器部署两个不同的项目,一个用域名,另一个用域名加端口,server.xml的配置记录
- Flex布局教程 概念+实战