Coldfusion 9 with Apache 2.2不提供网页服务

问题描述 投票:1回答:1

我的环境Coldfusion 9.0.2(基于jrun4的多实例模式)阿帕奇2.2Windows 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时,该页面只会继续加载,最终会超时。

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

windows apache coldfusion windows-server-2012 coldfusion-9
1个回答
1
投票

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

之内

一旦复制了文件并为httpd.conf中的每个虚拟主机更新了DocumentRoot,一切就会按预期开始工作。

感谢社区花费时间和精力来查看和回答此查询!

© www.soinside.com 2019 - 2024. All rights reserved.