Adobe 38043740 User Guide - Page 69

Undeploying ColdFusion

Page 69 highlights

ADOBE COLDFUSION 8 65 Installing and Using ColdFusion 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, by 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 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\WEBINF\cfusion\jintegra\bin; $ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app\cfusion\WEBINF\cfusion\jintegra\bin\international c 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 5 If necessary, restart the application server.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

65
ADOBE COLDFUSION 8
Installing and Using ColdFusion
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, by 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 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
c
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
5
If necessary, restart the application server.