Adobe 38043740 User Guide - Page 65

element from cfusion.war to cfusion-war or the name of the directory that contains

Page 65 highlights

ADOBE COLDFUSION 8 61 Installing and Using ColdFusion java_home/bin/jar -xvf ../cfusion.ear This expands the cfusion.ear file into cfusion.war and rds.war (rds.war is not included if you specified a context root of / when you ran the installation wizard). c In cfusion-ear, create a directory named cfusion-war. md cfusion-war (mkdir cfusion-war on UNIX) d Change to the cfusion-war directory and expand the cfusion.war file with the jar command: cd cfusion-war java_root/bin/jar -xvf ../cfusion.war This expands the cfusion.war file. e (If rds.war exists) Go up one level to cfusion-ear, create a directory named rds-war. cd .. md rds-war (mkdir rds-war on UNIX) f (If rds.war exists) Change to the rds-war directory and expand rds.war with the jar command: cd rds-war java_root/bin/jar -xvf ../rds.war This expands rds.war. g Go up one level to the cfusion-ear file, and delete the cfusion.war and rds.war files: cd .. del cfusion.war (rm cfusion.war on UNIX) del rds.war (rm rds.war on UNIX) h Open the cfusion-ear/META-INF/application.xml file in a text editor. i Change the web-uri element from cfusion.war to cfusion-war (or the name of the directory that contains the expanded cfusion.war file). Change the web-uri element for rds.war to rds-war. A directory name in the weburi element cannot contain a dot. j Save the application.xml file. 2 Deploy ColdFusion 8 by copying the cfusion-ear directory structure to the jrun_root/servers/servername directory. If auto deploy is enabled, JRun 4 either deploys the application immediately (if the JRun server is running), or when you start the JRun server. 3 Review the server log (jrun_root/logs/servername-event.log) to ensure that ColdFusion 8 deployed successfully. When sandbox security is enabled in JBOSS. JBOSS startup java environment requires the policy file for it to start, otherwise an AccessControlException error is generated for everything and ColdFusion does not start.

  • 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

61
ADOBE COLDFUSION 8
Installing and Using ColdFusion
java_home/bin/jar -xvf ../cfusion.ear
This expands the cfusion.ear file into cfusion.war and rds.war (rds.war is not included if you specified a
context root of / when you ran the installation wizard).
c
In cfusion-ear, create a directory named cfusion-war.
md cfusion-war (mkdir cfusion-war on UNIX)
d
Change to the cfusion-war directory and expand the cfusion.war file with the
jar
command:
cd cfusion-war
java_root/bin/jar -xvf ../cfusion.war
This expands the cfusion.war file.
e
(If rds.war exists) Go up one level to cfusion-ear, create a directory named rds-war.
cd ..
md rds-war (mkdir rds-war on UNIX)
f
(If rds.war exists) Change to the rds-war directory and expand rds.war with the
jar
command:
cd rds-war
java_root/bin/jar -xvf ../rds.war
This expands rds.war.
g
Go up one level to the cfusion-ear file, and delete the cfusion.war and rds.war files:
cd ..
del cfusion.war (rm cfusion.war on UNIX)
del rds.war (rm rds.war on UNIX)
h
Open the cfusion-ear/META-INF/application.xml file in a text editor.
i
Change the
web-uri
element from cfusion.war to cfusion-war (or the name of the directory that contains the
expanded cfusion.war file). Change the
web-uri
element for rds.war to rds-war. A directory name in the
web-
uri
element cannot contain a dot.
j
Save the application.xml file.
2
Deploy ColdFusion 8 by copying the cfusion-ear directory structure to the
jrun_root
/servers/
servername
directory. If auto deploy is enabled, JRun 4 either deploys the application immediately (if the JRun server is
running), or when you start the JRun server.
3
Review the server log (
jrun_root
/logs/
servername
-event.log) to ensure that ColdFusion 8 deployed successfully.
When sandbox security is enabled in JBOSS. JBOSS startup java environment requires the policy file for it to start,
otherwise an AccessControlException error is generated for everything and ColdFusion does not start.