CodeCraft tips
[
ホーム
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
mod_jk
をテンプレートにして作成
開始行:
* mod_jk [#ra840173]
** 複数のtomcatと連携をとる設定 [#o60ca366]
*** workers.properties [#y216ebe6]
worker.list=jkstatus,tomcat41,tomcat55
worker.tomcat41.type=ajp13
worker.tomcat41.host=localhost
worker.tomcat41.port=8009
worker.tomcat55.type=ajp13
worker.tomcat55.host=localhost
worker.tomcat55.port=18009
worker.jkstatus.type=status
*** jk.conf [#x7b15caa]
<IfModule mod_jk.c>
# Where to find workers.properties
JkWorkersFile /etc/apache2/workers.properties
# Where to put jk logs
JkLogFile /var/log/apache2/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel warn
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat +For...
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send JSPs for context / to worker named ajp13
# JkMount /*/*Servlet ajp13
# JkMount /*.jsp ajp13
# mod_jk
JkMount /jkstatus jkstatus
# tomcat41 webapps
JkMount /tomcat41app/* tomcat41
# tomcat55 webapps
JkMount /tomcat55app/* tomcat55
</IfModule>
*** server.xml [#o2eca2b8]
-この記述が有効になっているか確認。
<Connector className="org.apache.ajp.tomcat4.Ajp13Con...
port="8009" minProcessors="5" maxProcessor...
acceptCount="10" debug="0"/>
~
-tomcat4系の場合こちらが有効になっているかも。こちらはコ...
<Connector className="org.apache.coyote.tomcat4.Coyot...
port="8009" minProcessors="5" maxProcessor...
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeo...
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.se...
<Listener className="org.apache.catalina.mbeans.Serve...
debug="0"/>
<Listener className="org.apache.catalina.mbeans.Globa...
debug="0"/>
終了行:
* mod_jk [#ra840173]
** 複数のtomcatと連携をとる設定 [#o60ca366]
*** workers.properties [#y216ebe6]
worker.list=jkstatus,tomcat41,tomcat55
worker.tomcat41.type=ajp13
worker.tomcat41.host=localhost
worker.tomcat41.port=8009
worker.tomcat55.type=ajp13
worker.tomcat55.host=localhost
worker.tomcat55.port=18009
worker.jkstatus.type=status
*** jk.conf [#x7b15caa]
<IfModule mod_jk.c>
# Where to find workers.properties
JkWorkersFile /etc/apache2/workers.properties
# Where to put jk logs
JkLogFile /var/log/apache2/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel warn
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat +For...
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send JSPs for context / to worker named ajp13
# JkMount /*/*Servlet ajp13
# JkMount /*.jsp ajp13
# mod_jk
JkMount /jkstatus jkstatus
# tomcat41 webapps
JkMount /tomcat41app/* tomcat41
# tomcat55 webapps
JkMount /tomcat55app/* tomcat55
</IfModule>
*** server.xml [#o2eca2b8]
-この記述が有効になっているか確認。
<Connector className="org.apache.ajp.tomcat4.Ajp13Con...
port="8009" minProcessors="5" maxProcessor...
acceptCount="10" debug="0"/>
~
-tomcat4系の場合こちらが有効になっているかも。こちらはコ...
<Connector className="org.apache.coyote.tomcat4.Coyot...
port="8009" minProcessors="5" maxProcessor...
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeo...
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.se...
<Listener className="org.apache.catalina.mbeans.Serve...
debug="0"/>
<Listener className="org.apache.catalina.mbeans.Globa...
debug="0"/>
ページ名:
TrackBack(0)
|
外部リンク元
検索
サイト内
Web
最新の20件
2010-03-09
Software/Eclipse/3.4.x
2009-08-04
Ubuntu
Ubuntu/7.04 feisty
Ubuntu/8.04 hardy/システム環境設定
Ubuntu/8.04 hardy
2009-07-06
Linux/misc
2009-05-16
Debian GNU Linux/5.0 lenny/amd64/iceweasel
2009-05-03
Debian GNU Linux/5.0 lenny/システム環境設定
2009-03-22
Debian GNU Linux
Software/Eclipse/3.1.x
Software/Eclipse/3.2.x
Software/Eclipse
Debian GNU Linux/5.0 lenny
2008-08-12
UNIX/sendmail
UNIX/Subversion
2008-08-05
UNIX/proftpd
2008-08-01
UNIX
2008-05-13
UNIX/samba
2008-05-12
Debian GNU Linux/5.0 lenny/ユーザー環境設定
2008-04-15
Windows