Download MACROMEDIA COLDFUSION MX 61 - INSTALLING COLDFUSION MX FOR IBM WEBSPHERE APPLICATION SERVER User guide
Transcript
29 INSTALLING COLDFUSION 9 Installing the J2EE Configuration and specify 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, 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 9 on IBM WebSphere The following instructions tell you how to deploy ColdFusion 9 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. java_home The root directory of your Java 2 software development kit (J2SDK); for example, C:\j2sdk1.4.1. When you deploy ColdFusion on an existing version of IBM WebSphere, expand the EAR file or WAR files manually before deployment. Expand the EAR file 1 Open a console window, navigate to the directory that contains the EAR file, and make a new directory named cfusion-ear: md cfusion-ear (mkdir cfusion-ear on UNIX) 2 Change to the cfusion-ear directory and expand the cfusion.ear file with the jar command: Last updated 1/20/2012