項目用到ColdFusion 8,使用到了自定義標簽,需要在ColdFusion Administrator 中設置自定義標簽的路徑(Custom Tag Paths).在Browse Server時,類表刷新錯誤,並彈出錯誤對話框
IO error on server communication
To enable the RDSServlet mapping:
- 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. - Open the original web.xml file for editing.
- 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> - 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> - Save the file.
- Restart ColdFusion MX.
開啓/關閉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:
- 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. - Open the original web.xml file for editing.
- 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> --> - Save the file.
- Restart ColdFusion MX.
================================================================================
重啓ColdFusion,在ColdFusion安裝目錄下的bin目錄中執行對應的bat即可。
更詳細内容參考:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18046