ColdFusionMX7(JRun4)のApache 2.2系に対応
- # cd /opt/coldfusionmx7/runtime/lib/
- # mv wsconfig.jar wsconfig.jar.org
Apache2.2系対応のwsconfig.jarの取得
- # wget http://kb.adobe.com/support/coldfusion/ts/documents/8001e97/wsconfig.zip
- # unzip wsconfig.zip
- # chmod 775 wsconfig.jar
- # cd /opt/coldfusionmx7/bin/connectors
- # cp -p apache_connector.sh apache_connector.sh.org
-
# vi apache_connector.sh
※ Apacheのインストールディレクトに合わせて編集(/usr/local/apache) - # ./apache_connector.sh
httpd not running, trying to start
httpd not running, trying to start
Restarted Apache server
The Apache connector was installed to /usr/local/apache/conf
※ /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun22.so にインストール
また、httpd.conf に以下の内容が追記される
DirectoryIndex index.html index.cfm
# JRun Settings
LoadModule jrun_module /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun22.so
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /opt/coldfusionmx7/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>

