Adobe 38043740 User Guide - Page 27

Configuration

Page 27 highlights

ADOBE COLDFUSION 8 23 Installing and Using ColdFusion If there are problems running this script, review the configuration and bin directory specifications, modify as necessary, and rerun the script. You can also configure your web server using the scripts in jrun_root/bin/connectors, or through java -jar jrun_root/lib/wsconfig.jar, as appropriate. Note: This step is important, because if you specified the use of an external web server when you ran the installation wizard, the CFIDE and cfdocs directories are placed under that web server's root directory, and you must successfully configure the web server before you open the ColdFusion Administrator. 12 Open ColdFusion Administrator to run the configuration wizard. 13 Configure and manage your system, as described in "Configuring Your System" on page 75. 14 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator. 15 Code ColdFusion CFM pages. If you configured an external web server, store CFM pages under your web root directory. If you are using the built-in web server, store CFM pages under the web application root (jrun_root/servers/cfusion/cfusionear/cfusion-war) and access these pages using a URL of the form http://hostname:8300/context-root/filename.cfm, as follows: • hostname The machine name, IP address, or localhost. • contextroot The context root for the ColdFusion web application. For more information, see "Context root" on page 28. • filename The directory path and file to display. The path is relative to the cfusion-war directory. For example, to display a CFM file located at /opt/jrun4/servers/cfusion/cfusion-ear/cfusionwar/eisapp/index.cfm using the built-in JRun web server and a context root of cfmx, you specify the URL as http://localhost:8300/cfmx/eisapp/index.cfm. Configuration In addition to enabling sandbox security in the ColdFusion Administrator, the application server must be running a security manager (java.lang.SecurityManager) and you must define the following JVM arguments: -Djava.security.manager -Djava.security.policy="cf_webapp_root/WEB-INF/cfusion/lib/coldfusion.policy" -Djava.security.auth.policy="cf_webapp_root/WEB-INF/cfusion/lib/neo_jaas.policy"

  • 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

23
ADOBE COLDFUSION 8
Installing and Using ColdFusion
If there are problems running this script, review the configuration and bin directory specifications, modify as
necessary, and rerun the script. You can also configure your web server using the scripts in
jrun_root
/bin/connectors, or through java -jar
jrun_root
/lib/wsconfig.jar, as appropriate.
Note:
This step is important, because if you specified the use of an external web server when you ran the instal-
lation wizard, the CFIDE and cfdocs directories are placed under that web server’s root directory, and you must
successfully configure the web server before you open the ColdFusion Administrator.
12
Open ColdFusion Administrator to run the configuration wizard.
13
Configure and manage your system, as described in “Configuring Your System” on page 75.
14
To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on
the Resources page of the ColdFusion Administrator.
15
Code ColdFusion CFM pages.
If you configured an external web server, store CFM pages under your web root directory. If you are using the
built-in web server, store CFM pages under the web application root (
jrun_root
/servers/cfusion/cfusion-
ear/cfusion-war) and access these pages using a URL of the form http://
hostname
:8300/
context-root
/
filename
.cfm,
as follows:
hostname
The machine name, IP address, or localhost.
contextroot
The context root for the ColdFusion web application. For more information, see “Context root”
on page 28.
filename
The directory path and file to display. The path is relative to the cfusion-war directory.
For example, to display a CFM file located at /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-
war/eisapp/index.cfm using the built-in JRun web server and a context root of cfmx, you specify the URL as
http://localhost:8300/cfmx/eisapp/index.cfm.
Configuration
In addition to enabling sandbox security in the ColdFusion Administrator, the application server must be running
a security manager (
java.lang.SecurityManager
) and you must define the following JVM arguments:
-Djava.security.manager
-Djava.security.policy="cf_webapp_root/WEB-INF/cfusion/lib/coldfusion.policy"
-Djava.security.auth.policy="cf_webapp_root/WEB-INF/cfusion/lib/neo_jaas.policy"