Disabling JSP functionality (server configuration only)

ColdFusion MX 7 Enterprise Edition provides support for JavaServer Pages (JSP) technology through the underlying J2EE application server on which it runs. Because JSP code runs outside of the realm of the ColdFusion MX 7 security framework and, therefore, is not subject to ColdFusion MX 7 sandbox security, you do not typically deploy JSPs in a shared, hosted environment where more than one customer shares a single server.

To disable JSP functionality:

  1. Open cf_root/runtime/servers/default/SERVER-INF/default-web.xml in a text editor.
  2. Find the servlet-mapping entry for JspLicenseServlet.
  3. Comment out this entry, as the following example shows:
    ...
    <!--
    	<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>
    -->
    ...
    
  4. Save and close the file.
  5. Restart ColdFusion MX 7.

View comments in LiveDocs