User guide

46
INSTALLING COLDFUSION 9
Installing the J2EE Configuration
Last updated 1/20/2012
<!-- <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> -->
<!-- <servlet-mapping id="macromedia_mapping_9">
<servlet-name>RDSServlet</servlet-name>
<url-pattern>/CFIDE/main/ide.cfm</url-pattern>
</servlet-mapping> -->
3 Save the file and start ColdFusion.
Prevent security-based errors
If you notice security-based errors when JBOSS is starting (errors that mention Java and security), edit the run.bat file
as follows:
1 Go to the line that contains the -Xmx512m parameter.
2 Change the text: -Dprogram.name=%PROGNAME% to be -Dcoldfusion.disablejsafe=true %JAVA_OPTS%.
These security errors occur because some versions of JBOSS cannot handle additional encryption software that
ColdFusion uses for higher security standards. Some features, such as EJB3, require JDK 1.5.
Undeploying ColdFusion
To undeploy ColdFusion in the J2EE configuration, you use application-server specific undeploy tools and methods.
Undeploy ColdFusion in the J2EE configuration
1 Remove all ColdFusion specifications from the java.args and java.library.path JVM arguments used by your
application server.
2 (Windows only) If you installed ODBC support, remove the ODBC Windows services by navigating to the
cf_webapp_root\WEB_INF\cfusion\db\SequeLink Setup directory and executing the RemoveSequeLink.bat file.
3 If necessary, copy and save CFM pages from the ColdFusion web application root.
4 Undeploy the ColdFusion web application using application-server-specific undeploy functionality.
a In JRun 4, you undeploy by deleting the jrun_root/server/servername/cfusion-ear directory.
b On Oracle 10g, using Enterprise Manager, go to oc4j_instance /Applications, select Adobe ColdFusion 9
application, and then select Undeploy. Return to the Enterprise Manager home page, go to oc4j_instance
/Administration/Server Properties, select the PATH variable containing the following, and select Remove:
$ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app\cfusion\WEB-INF\cfusion\lib;
$ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app\cfusion\WEB-
INF\cfusion\jintegra\bin;
$ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app\cfusion\WEB-
INF\cfusion\jintegra\bin\international