Adobe 38043740 User Guide - Page 51

Was_classpath

Page 51 highlights

ADOBE COLDFUSION 8 47 Installing and Using ColdFusion You do this by configuring the search paths to find the required binary files, which are located in the cf_webapp_root\WEB-INF\cfusion\lib directory. Configure search paths 1 Make a backup copy of the setupCmdLine.bat file, located in the websphere_root\AppServer\bin directory. 2 Open the original file for editing and add the following on a single line before the line that starts with SET WAS_CLASSPATH: SET CF_APPS_PATH=cf_webapp_root\WEB-INF\cfusion\lib Replace cf_webapp_root with the path to your web application directory; for example, enter the following: SET CF_APPS_PATH=%WAS_HOME%\installedApps\%WAS_CELL%\ Adobe_ColdFusion_8.ear\cfusion.war\WEB-INF\cfusion\lib 3 Add the CF_APPS_PATH variable to the WAS_CLASSPATH by appending the following text to the path statement: ;%CF_APPS_PATH% The WAS_CLASSPATH line should look similar to the following: SET WAS_CLASSPATH=%WAS_HOME%/properties;%WAS_HOME%/lib/bootstrap.jar;%WAS_HOME%/lib/j2ee. jar;%WAS_HOME%/lib/lmproxy.jar;%WAS_HOME%/lib/urlprotocols.jar;%CF_APPS_PATH% 4 Save the file. 5 Add the full path to the cf_webapp_root\WEB-INF\cfusion\lib directory to the WAS_PATH variable in the setupCmdLine.bat file. The WAS_PATH line should look similar to the following: SET WAS_PATH=%WAS_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%PATH%;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\java\bin;C:/Program Files/IBM/WebSphere MQ/WEMPS\bin;%CF_APPS_PATH%; 6 Save the file. Enable COM support for Windows You enable Component Object Model (COM) support in Windows after installing ColdFusion 8 so that you can use the cfreport tag with Crystal Reports. COM support is not required for the ColdFusion Report Builder or any reports that you create with the ColdFusion reporting feature. 1 Make a backup copy of the setupCmdLine.bat file, which is located in the websphere_root\AppServer\bin directory. 2 Open the original file and add the following on a single line:

  • 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

47
ADOBE COLDFUSION 8
Installing and Using ColdFusion
You do this by configuring the search paths to find the required binary files, which are located in the
cf_webapp_root
\WEB-INF\cfusion\lib directory.
Configure search paths
1
Make a backup copy of the setupCmdLine.bat file, located in the
websphere_root
\AppServer\bin directory.
2
Open the original file for editing and add the following on a single line before the line that starts with SET
WAS_CLASSPATH:
SET CF_APPS_PATH=cf_webapp_root\WEB-INF\cfusion\lib
Replace
cf_webapp_root
with the path to your web application directory; for example, enter the following:
SET CF_APPS_PATH=%WAS_HOME%\installedApps\%WAS_CELL%\
Adobe_ColdFusion_8.ear\cfusion.war\WEB-INF\cfusion\lib
3
Add the CF_APPS_PATH variable to the WAS_CLASSPATH by appending the following text to the path
statement:
;%CF_APPS_PATH%
The WAS_CLASSPATH line should look similar to the following:
SET
WAS_CLASSPATH=%WAS_HOME%/properties;%WAS_HOME%/lib/bootstrap.jar;%WAS_HOME%/lib/j2ee.
jar;%WAS_HOME%/lib/lmproxy.jar;%WAS_HOME%/lib/urlprotocols.jar;%CF_APPS_PATH%
4
Save the file.
5
Add the full path to the
cf_webapp_root
\WEB-INF\cfusion\lib directory to the WAS_PATH variable in the
setupCmdLine.bat file. The WAS_PATH line should look similar to the following:
SET WAS_PATH=%WAS_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%PATH%;C:\Program
Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\java\bin;C:/Program
Files/IBM/WebSphere MQ/WEMPS\bin;%CF_APPS_PATH%;
6
Save the file.
Enable COM support for Windows
You enable Component Object Model (COM) support in Windows after installing ColdFusion 8 so that you can
use the
cfreport
tag with Crystal Reports. COM support is not required for the ColdFusion Report Builder or
any reports that you create with the ColdFusion reporting feature.
1
Make a backup copy of the setupCmdLine.bat file, which is located in the
websphere_root
\AppServer\bin
directory.
2
Open the original file and add the following on a single line: