Adobe 38043740 User Guide - Page 67

In JAVA_OPTS, change

Page 67 highlights

ADOBE COLDFUSION 8 63 Installing and Using ColdFusion 10 (Windows) Edit the JBOSS_HOME\bin\run.bat file by doing the following: a If not present, add the JVM GC (-Xmx512m) parameter to JAVA_OPTS. b Ensure that the permanent generation heap size is set by adding -XX:MaxPermSize=128m to JAVA_OPTS. Without this parameter, the JVM can generate a java.lang.OutOfMemoryError error. For more information, see (http://wiki.jboss.org/wiki/Wiki.jsp?page=PermanentGeneration). c Save the run.bat file. d Start the server by running the JBOSS_HOME\bin\run.bat file. 11 (Linux) Edit the JBOSS_HOME/bin/run.conf file by doing the following: a In JAVA_OPTS, change -Xmx128m. to -Xmx512m. b Add -XX:MaxPermSize=128m to JAVA_OPTS. c Save the run.conf file. d Start the server by running the JBOSS_HOME/bin/run.sh file. To enable features with operating system-specific binaries, configure ColdFusion. This step is required to support the following features that use binaries that are specific to your operating system: • CFX tags written in C++ • Microsoft Access driver with Unicode support (Windows only) Use the following procedure for your operating system to configure the search paths to find the required binary files. These files are located in the CF_WEBAPP_ROOT\WEB-INF\cfusion\lib directory. Configure operating system-specific binary support for Windows 1 Ensure that JBoss Server is stopped. 2 Edit JBOSS_HOME\bin\run.bat by adding the following: set CF_LIB_PATH=CF_WEBAPP_ROOT\WEB-INF\cfusion\lib set PATH=%PATH%;%CF_LIB_PATH% 3 Save the file and start the server. Note: You must copy the version of tools.jar that the application server uses to the cfusion/lib directory. Configure operating system-specific binary support for Linux 1 Ensure that JBoss Server is stopped. 2 Edit JBOSS_HOME/bin/run.sh by adding the following:

  • 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

63
ADOBE COLDFUSION 8
Installing and Using ColdFusion
10
(Windows) Edit the JBOSS_HOME\bin\run.bat file by doing the following:
a
If not present, add the JVM GC (
-Xmx512m
) parameter to JAVA_OPTS.
b
Ensure that the permanent generation heap size is set by adding
-XX:MaxPermSize=128m to JAVA_OPTS
.
Without this parameter, the JVM can generate a java.lang.OutOfMemoryError error. For more infor-
c
Save the run.bat file.
d
Start the server by running the JBOSS_HOME\bin\run.bat file.
11
(Linux) Edit the JBOSS_HOME/bin/run.conf file by doing the following:
a
In JAVA_OPTS, change
-Xmx128m.
to
-Xmx512m.
b
Add
-XX:MaxPermSize=128m
to JAVA_OPTS.
c
Save the run.conf file.
d
Start the server by running the JBOSS_HOME/bin/run.sh file.
To enable features with operating system-specific binaries, configure ColdFusion. This step is required to support
the following features that use binaries that are specific to your operating system:
CFX tags written in C++
Microsoft Access driver with Unicode support (Windows only)
Use the following procedure for your operating system to configure the search paths to find the required binary
files. These files are located in the CF_WEBAPP_ROOT\WEB-INF\cfusion\lib directory.
Configure operating system-specific binary support for Windows
1
Ensure that JBoss Server is stopped.
2
Edit JBOSS_HOME\bin\run.bat by adding the following:
set CF_LIB_PATH=CF_WEBAPP_ROOT\WEB-INF\cfusion\lib
set PATH=%PATH%;%CF_LIB_PATH%
3
Save the file and start the server.
Note:
You must copy the version of tools.jar that the application server uses to the cfusion/lib directory.
Configure operating system-specific binary support for Linux
1
Ensure that JBoss Server is stopped.
2
Edit JBOSS_HOME/bin/run.sh by adding the following: