Adobe 38043740 User Guide - Page 46

Deploying ColdFusion 8 on IBM WebSphere

Page 46 highlights

42 CHAPTER 5 Installing the J2EE Configuration com.gp.java2d.ExHeadlessGraphicsEnvironment instead of com.gp.java2d.ExGraphicsEnvironment. 10 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" 11 To use cfregistry in Windows, to use the cfreport tag for Crystal Reports, and to use any C++ CFX custom tags, you must add cfusion/lib to the Java library path. Add the following directory to the JVM's native library path (java.library.path): WEB-INF/cfusion/lib 12 If you are running Solaris without X Windows, to use the cfdocument tag, you must set the headless switch to true in the jvm.config file, as follows: java.awt.headless=true 13 Start the JRun server the way you stopped it in step 3, either by using the JRun Launcher or by typing jrun_root/bin/jrun start server_name in a command window. If autodeploy is enabled, JRun 4 deploys the application automatically when you start the JRun server. 14 Review the server log (jrun_root/logs/servername-event.log) to ensure that ColdFusion deployed successfully. 15 Start the ColdFusion Administrator to run the Configuration Wizard. Deploying ColdFusion 8 on IBM WebSphere The following instructions tell you how to deploy ColdFusion 8 on IBM WebSphere Application Server (WAS) 5.1, 6.1 and Network Deployment (ND). The following terms refer to WebSphere and ColdFusion directories: websphere_root The directory in which IBM WebSphere Application Server is installed; for example, C:\Program Files\WebSphere in Windows, and /opt/WebSphere in UNIX. cf_webapp_root The directory to which the ColdFusion web application is deployed; for example, C:\Program Files\WebSphere\AppServer\installedApps\MyHost\cfusion.ear\cfusion.war in Windows, and /opt/WebSphere/AppServer/installedApps/MyHost/cfusion.ear/cfusion.war in UNIX.

  • 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
42
Installing the J2EE Configuration
com.gp.java2d.ExHeadlessGraphicsEnvironment
instead of
com.gp.java2d.ExGraphicsEnvironment
.
10
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"
11
To use cfregistry in Windows, to use the
cfreport
tag for Crystal Reports, and to use any C++ CFX custom
tags, you must add cfusion/lib to the Java library path. Add the following directory to the JVM’s native library path
(
java.library.path
):
WEB-INF/cfusion/lib
12
If you are running Solaris without X Windows, to use the
cfdocument
tag, you must set the headless switch
to true in the jvm.config file, as follows:
java.awt.headless=true
13
Start the JRun server the way you stopped it in step 3, either by using the JRun Launcher or by typing
jrun_root/bin/jrun start server_name
in a command window. If autodeploy is enabled, JRun 4 deploys the
application automatically when you start the JRun server.
14
Review the server log (jrun_root/logs/servername-event.log) to ensure that ColdFusion deployed success-
fully.
15
Start the ColdFusion Administrator to run the Configuration Wizard.
Deploying ColdFusion 8 on IBM WebSphere
The following instructions tell you how to deploy ColdFusion 8 on IBM WebSphere Application Server (WAS)
5.1, 6.1 and Network Deployment (ND).
The following terms refer to WebSphere and ColdFusion directories:
websphere_root
The directory in which IBM WebSphere Application Server is installed; for example,
C:\Program Files\WebSphere in Windows, and /opt/WebSphere in UNIX.
cf_webapp_root
The directory to which the ColdFusion web application is deployed; for example, C:\Program
Files\WebSphere\AppServer\installedApps\MyHost\cfusion.ear\cfusion.war in Windows, and
/opt/WebSphere/AppServer/installedApps/MyHost/cfusion.ear/cfusion.war in UNIX.