To undeploy ColdFusion in the J2EE configuration, you use application-server specific undeploy tools and methods.
Undeploy ColdFusion in the J2EE configuration
- Remove all ColdFusion specifications from the java.args and java.library.path JVM arguments used by your application server.
- (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.
- If necessary, copy and save CFM pages from the ColdFusion web application root.
- Undeploy the ColdFusion web application, by using application-server-specific undeploy functionality.
- In JRun 4, you undeploy by deleting the jrun_root/server/servername/cfusion-ear directory.
- On Oracle 10g, using Enterprise Manager, go to oc4j_instance /Applications, select Adobe ColdFusion 8 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
- On WebLogic, open the WebLogic Administrator., open the WebLogic Administration Console (http://hostname:portnumber/console) and go to domainname > Deployments > Applications. Click the trash can to the right of the ColdFusion MX application, and then click Yes. Open the startup script for the WebLogic domain and remove ColdFusion-specific entries, as follows:
CF_WEB_INF
CF_SHARED_LIB_DIR (also remove CF_SHARED_LIB_DIR from PRE_PATH)
LD_LIBRARY_PATH (UNIX only, remove ${CF_SHARED_LIBS})
(Windows only) JINTEGRA_PATH (also remove JINTEGRA_PATH from PRE_PATH)
(Windows only) Remove jintegra.jar from PRE_CLASSPATH
CF_SECURITY_JVM_OPTIONS
CF_GRAPHING_JVM_OPTIONS
Remove ColdFusion arguments from MEM_ARGS
Remove CF_SECURITY_JVM_OPTIONS and CF_GRAPHING_JVM_OPTIONS from JAVA_OPTIONS
- If necessary, restart the application server.