Adobe 38043740 User Guide - Page 66

Deploy ColdFusion on JBoss

Page 66 highlights

62 CHAPTER 5 Installing the J2EE Configuration To avoid this issue, edit run.sh and add the following parameters in the JVA_OPTS arguments -Djava.security.manager -Djava.security.policy="cf_root/WEB-INF/cfusion/lib/coldfusion.policy" -Djava.security.auth.policy="cf_root/WEB-INF/cfusion/lib/neo_jaas.policy" This document uses the following conventions: JBOSS_HOME Directory where JBoss is installed, for example, C:\jboss-4.0.5SP1 in Windows or /usr/local/jboss4.0.5.SP1 on UNIX JBOSS_DEPLOY_DIR Application deployment directory in JBoss, for example, C:\jboss4.0.5SP1\server\default\deploy CF_WEBAPP_ROOT Directory where ColdFusion is deployed, for example: C:\jboss4.0.5SP1\server\default\deploy\cfusion.ear\cfusion.war TEMP_LOCATION Temporary location where you extract the cfusion.ear file. Deploy ColdFusion on JBoss 1 To ensure that ColdFusion can deploy on JBoss 4.0.5, perform the following steps instead of following the standard instructions in the cfmx-j2ee-readme.txt file: a Keep periods in the directory names, instead of renaming them with dashes, for example, \deploy\cfusion.ear\cfusion.war. b Do not make the updates to application.xml. 2 Set JAVA_HOME to the appropriate JRE or JDK. 3 Install ColdFusion by using the J2EE deployment option. The installation program creates the cfusion.ear file in the install directory. 4 Extract the cfusion.ear file to a temporary location. The extraction operation generates cfusion.war rds.war and the META-INF directory files and puts them in the extracted folder. 5 Extract the cfusion.war file to the TEMP_LOCATION\cfusion.ear\cfusion.war folder. 6 Extract the rds.war file to the TEMP_LOCATION\cfusion.ear\rds.war folder. 7 Copy the META-INF directory to the TEMP_LOCATION\cfusion.ear folder. 8 Stop JBOSS if it is running. 9 Copy the TEMP_LOCATION\cfusion.ear folder and its contents to JBOSS_DEPLOY_DIR.

  • 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

CHAPTER 5
62
Installing the J2EE Configuration
To avoid this issue, edit run.sh and add the following parameters in the JVA_OPTS arguments
-Djava.security.manager
-Djava.security.policy="cf_root/WEB-INF/cfusion/lib/coldfusion.policy"
-Djava.security.auth.policy="cf_root/WEB-INF/cfusion/lib/neo_jaas.policy"
This document uses the following conventions:
JBOSS_HOME
Directory where JBoss is installed, for example, C:\jboss-4.0.5SP1 in Windows or /usr/local/jboss-
4.0.5.SP1 on UNIX
JBOSS_DEPLOY_DIR
Application deployment directory in JBoss, for example, C:\jboss-
4.0.5SP1\server\default\deploy
CF_WEBAPP_ROOT
Directory where ColdFusion is deployed, for example: C:\jboss-
4.0.5SP1\server\default\deploy\cfusion.ear\cfusion.war
TEMP_LOCATION
Temporary location where you extract the cfusion.ear file.
Deploy ColdFusion on JBoss
1
To ensure that ColdFusion can deploy on JBoss 4.0.5, perform the following steps instead of following the
standard instructions in the cfmx-j2ee-readme.txt file:
a
Keep periods in the directory names, instead of renaming them with dashes, for example,
\deploy\cfusion.ear\cfusion.war
.
b
Do not make the updates to application.xml.
2
Set JAVA_HOME to the appropriate JRE or JDK.
3
Install ColdFusion by using the J2EE deployment option.
The installation program creates the cfusion.ear file in the install directory.
4
Extract the cfusion.ear file to a temporary location.
The extraction operation generates cfusion.war rds.war and the META-INF directory files and puts them in
the extracted folder.
5
Extract the cfusion.war file to the TEMP_LOCATION\cfusion.ear\cfusion.war folder.
6
Extract the rds.war file to the TEMP_LOCATION\cfusion.ear\rds.war folder.
7
Copy the META-INF directory to the TEMP_LOCATION\cfusion.ear folder.
8
Stop JBOSS if it is running.
9
Copy the TEMP_LOCATION\cfusion.ear folder and its contents to JBOSS_DEPLOY_DIR.