我的环境 Coldfusion 9.0.2(基于jrun4的多实例模式) 阿帕奇2.2 Windows Server 2012
问题:Coldfusion和Apache已启动并正在运行,但是Apache未连接到CF。
到目前为止我做了什么
- 已安装和配置CF9和Apache 2.2
- 运行Web配置工具,并将Apache添加为CF应用程序的Web服务器。
-
验证了我的httpd.conf文件的内容。他们是:
# JRun Settings Loadmodule jrun_module "C:/JRun4/lib/wsconfig/1/mod_jrun22.so" <IfModule mod_jrun22.c> JRunconfig Verbose false JRunconfig Apialloc false JRunconfig Ignoresuffixmap false #JRunconfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store" #JRunconfig Bootstrap 127.0.0.1:51000 JRunconfig Ignoresuffixmap false #JRunconfig Errorurl url <optionally redirect to this URL on errors> #JRunconfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server> #JRunconfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server> #JRunconfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server> #JRunconfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf </IfModule> <VirtualHost *:80> DocumentRoot "C:/JRun4/servers/development/cfusion.ear/cfusion.war" ServerName DEVELOPMENT ErrorLog logs/error-development.log <IfModule mod_jrun22.c> JRunconfig Verbose true JRunconfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store" JRunconfig Bootstrap 127.0.0.1:51000 </IfModule> </VirtualHost>
-
确保为此实例启用了JRunProxyService:
... <attribute name="activeHandlerThreads">500</attribute> <attribute name="backlog">500</attribute> <attribute name="deactivated">false</attribute> <attribute name="interface">*</attribute> <attribute name="maxHandlerThreads">1000</attribute> <attribute name="minHandlerThreads">1</attribute> <attribute name="port">51000</attribute> <attribute name="threadWaitTimeout">300</attribute> <attribute name="timeout">300</attribute> ...
完成所有这些步骤后,当我转到http://localhost:51000/cfide/administrator/index.cfm时, 该页面只会继续加载,最终会超时。
我在这里缺少任何步骤吗?