带有Apache 2.2的Coldfusion 9无法投放网页

我的环境 Coldfusion 9.0.2(基于jrun4的多实例模式) 阿帕奇2.2 Windows Server 2012

问题:Coldfusion和Apache已启动并正在运行,但是Apache未连接到CF。

到目前为止我做了什么

  1. 已安装和配置CF9和Apache 2.2
  2. 运行Web配置工具,并将Apache添加为CF应用程序的Web服务器。
  3. 验证了我的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>
    
  4. 确保为此实例启用了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时, 该页面只会继续加载,最终会超时。

我在这里缺少任何步骤吗?

jing135985 回答:带有Apache 2.2的Coldfusion 9无法投放网页

此问题已解决。 我们认为DocumentRoot的位置必须在apache2/htpd/..

之内

httpd.conf中的每个虚拟主机复制文件并更新DocumentRoot之后,一切都会按预期开始。

感谢社区投入的时间和精力来查看和回答此查询!

本文链接:https://www.f2er.com/2992415.html

大家都在问