MySQL加强对PHP的支持--mysqlnd_php6

本文介绍了解决ColdFusion中RDS功能无法正常使用的问题方法。通过启用或禁用RDS并配置web.xml文件中的RDSServlet映射来解决浏览服务器时出现的错误。

項目用到ColdFusion 8,使用到了自定義標簽,需要在ColdFusion Administrator 中設置自定義標簽的路徑(Custom Tag Paths).在Browse Server時,類表刷新錯誤,並彈出錯誤對話框

Server Error
IO error on server communication

 

To enable the RDSServlet mapping:

  1. Back up the web.xml file.
    This file is in the cf_root/wwwroot/WEB-INF directory on Windows
    and in the cf_root/wwwroot/WEB-INF directory on UNIX. In the J2EE configuration, this file is undercf_root/WEB-INF.
  2. Open the original web.xml file for editing.
  3. Uncomment the RDSServlet mapping, as shown in the following example:
    <servlet-mapping>
    <servlet-name>RDSServlet</servlet-name>
    <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
    </servlet-mapping>
  4. Make sure the RDSServlet definition is also uncommented as follows:
    <servlet id="macromedia_servlet_8789">
    <servlet-name>RDSServlet</servlet-name>
    <display-name>RDS Servlet</display-name>
    <servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class>
    <init-param id="InitParam_103401311065856789">
    <param-name>servlet.class</param-name>
    <param-value>coldfusion.rds.RdsFrontEndServlet</param-value>
    </init-param>
    </servlet>
  5. Save the file.
  6. Restart ColdFusion MX.
經查找原因是RDS沒有開啓,開啓后Browse Server 功能顯示正常。

開啓/關閉RDS方法如下,此處只摘錄MX以上版本:
開啓RDS:
===============================================================================
To enable ColdFusion Remote Development Services on ColdFusion MX and higher:

================================================================================

關閉RDS:
================================================================================
To disable ColdFusion Remote Development Services on ColdFusion MX and higher:

In earlier versions of ColdFusion, RDS ran as a separate service or process. In ColdFusion MX, RDS is seamlessly integrated into the main service or process. To disable it, you must disable the RDSServlet mapping, as described in the following procedure.

To disable the RDSServlet mapping:

  1. Back up the web.xml file.
    This file is in the cf_root/wwwroot/WEB-INF directory on Windows
    and in the cf_root/wwwroot/WEB-INF directory on UNIX. In the J2EE configuration, this file is undercf_root/WEB-INF.
  2. Open the original web.xml file for editing.
  3. Comment out the RDSServlet mapping, as shown in the following example:
    <!--<servlet-mapping>
    <servlet-name>RDSServlet</servlet-name>
    <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
    </servlet-mapping> -->
  4. Save the file.
  5. Restart ColdFusion MX.

================================================================================

重啓ColdFusion,在ColdFusion安裝目錄下的bin目錄中執行對應的bat即可。

更詳細内容參考:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18046

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值