日期:2014-05-17 浏览次数:21163 次
setenv CATALINA_HOME "d:\ptc\Windchill_9.1\Tomcat"wttomcat_start.bat
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
<Proxy balancer://ajpWorker> BalancerMember ajp://pdmtest.com:8010 min=16 max=80 smax=40 ttl=900 keepalive=Off timeout=90000 retry=1 flushpackets=on </Proxy>
<Proxy balancer://ajpWorker> BalancerMember ajp://pdmtest.com:8010 min=16 max=80 smax=40 ttl=900 keepalive=Off timeout=90000 retry=1 flushpackets=on route=jvm1 BalancerMember ajp://pdmtest.com:8011 min=16 max=80 smax=40 ttl=900 keepalive=Off timeout=90000 retry=1 flushpackets=on route=jvm2 BalancerMember ajp://pdmtest.com:8012 min=16 max=80 smax=40 ttl=900 keepalive=Off timeout=90000 retry=1 flushpackets=on route=jvm3 </Proxy>
<VirtualHost *:80> ServerAdmin webmaster@${mail_host} ServerName ${host} ServerAlias ${host} ProxyPass / balancer://ajpWorker/ stickysession=jsessionid nofailover=On ProxyPassReverse / balancer://ajpWorker/ </VirtualHost>
<IfModule mod_proxy_ajp.c> ProxyPassMatch ^(/Windchill/((?i).*\.jsp(.*)|servlet/.*|.*\.jar))$ balancer://ajpWorker$1 nocanon </IfModule>
<Server port="8006" shutdown="SHUTDOWN">
<Connector port="8012" channelSocket.maxPort="-1" redirectPort="8443" protocol="AJP/1.3" tomcatAuthentication="false" enableLookups="false" maxPostSize="-1" useBodyEncodingForURI="true" URIEncoding="UTF-8" backlog="0"