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 id="coldfusion_mapping_9"> <servlet-name>RDSServlet</servlet-name> <url-pattern>/CFIDE/main/ide.cfm</url-pattern> </servlet-mapping> -->
Save the File and restart Coldfusion.
If you want to enable RDS, you simply do the reverse.
- 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 id="coldfusion_mapping_9"> <servlet-name>RDSServlet</servlet-name> <url-pattern>/CFIDE/main/ide.cfm</url-pattern> </servlet-mapping> -->
Save the File and restart ColdFusion.
For both, make sure the RDSServlet definittion is enabled as well;
<servlet id="coldfusion_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>