///////////////////////为改动的地方
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<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>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<!--<Engine name="Catalina" defaultHost="localhost">-->///////////////////////////改动与apache中worker.properties内容有关
<Engine name="Catalina" defaultHost="192.168.1.67" jvmRoute="ajp13">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
/////////////////////
<Host name="192.168.1.67" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="/opt/tomcat/webapps/b2c" debug="0"
reloadable="true" crossContext="true"/>
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
</Engine>
</Service>
</Server>
分享到:
相关推荐
mok_jk1.2.46windows下Apache2.4+Tomcat+mod_jk负载均衡配置工具
MOK_JK1.2.46 so
3)在conf目录下创建mok_jk.conf 内容: #加载mod_jk Module LoadModule jk_module modules/mod_jk-1.2.26-httpd-2.2.4.so #指定 workers.properties文件路径 JkWorkersFile conf/workers.properties...
需要安装程序的资源,请点本人的资源 有windows ,linux ,mok_jk都有
可以你们懂得驱动模块的构成与制作,可以更加,跟块的了解,
wget -q -O - " $@ " " mok.now.sh/?response={ \" hello \" : \" world \" }&responseType=json " 路径 您可以使用任何喜欢的路径,响应不会受到影响。 例如,您可以执行以下操作: ...
MT7620华硕固件8M72608MOK左lan 右wan.trx
alfred-extension, 由Jaemok制作的alfred应用工作流 alfred扩展Jaemok ( jmjeong ) 生成的Alfred2扩展管理Alfred扩展( 链接插件, 下载 )搜索并管理已经安装的扩展 ( 链接, 下载插件)显示来自 OS X的事件和提醒 ( ...
Mok比mock更聪明 如您所愿,我们构建了一个模拟工具来模拟一些 http(s) 响应数据。 如何安装 Mok 不支持服务器。 但是您可以将其用作库。 现在让我们安装这个~ (sudo) npm install mok (--save) 使用 mo(c)k mok...
MOK项目-多语言屏幕键盘 我们现在正在通过CDN提供服务! 现在,您可以轻松地将此插件直接包含在您的项目中,而无需在本地拥有任何代码。 最新版本 < script src= " ...
Mok-HD
VB2008 英文教程: VB2008 OReilly.Programming.Visual.Basic.2008.May.2008.pdf
一个内存卡修复软件.有需要的下吧,没什么多少可讲的. 有一个人下载就减少一个资源分. 大家快下吧. 第六名下的就不用交钱了.哈哈.
$I2MOK $_NO_DICE_IN_MY_CASE $IWontFlyEither Viron 处理美元符号的花括号和反斜杠转义符,其方式您无疑会从许多文明的句法编程传统中得到期望,例如: $I_BECOME_MY_CONTENT \$WHEREAS_I_REMAIN_UNAFFECTED ${I_...
此类是在Young-Mok Won和Brian G.Thomas(钢在凝固过程中进行微偏析的简单模型)中报告的模型的实现。 冶金和材料交易 A, 2001, 32A, pp 1757-1767。 https://doi.org/10.1007/s11661-001-0152-4 。 如何使用这个类...
mokjs - 前端开发服务框架解决JS/CSS/HTML模块化开发问题,同时作为前端开发时常用到的web服务器、反向代理服务器、...mok4js解决JavaScript模块化,moktext解决CSS和HTML模块化。项目网站(详细文档)版本发布记录请看
首先保证该程序可用。之前找了很多资料,都很坑,...希望对你有帮助http://wenku.baidu.com/link?url=bnToKwhDJa1lnmJi7wJBUZcOZuEnHIjIq8E9Opfq6v-5RIqT9xhVay6h_dnPS_wqvOhjRSly81nxKK7svrY5MOk916fyWIsG7ehomV7DPn3
:deciduous_tree: :deciduous_tree: :deciduous_tree: :deciduous_tree: :deciduous_tree: :deciduous_tree: Woo Mok [我们将实现所有目标] :deciduous_tree: :deciduous_tree: :deciduous_tree: :deciduous_tree: :...
2020年秋季-实验10 姓: 名: ...笔记: 一般说明: ... 使用“注释”部分可向教师添加任何注释。 可以在这里找到主要的实验室描述: : 实验10的特定说明和要求 本实验和以后的实验将从一个几乎为空的存储库开始。...
显示链接 RPM 这是在用于 Fedora 和 CentOS 的 RPM 包中构建的秘诀。 此驱动程序支持以下设备系列: DL-6xxx DL-5xxx DL-41xx DL-3xxx 该软件包包括开源库。 包由 Travis CI 自动构建并上传到。 用法 编辑:...