Specifications

CHAPTER 5
56
Installing the J2EE Configuration
SET CF_SECURITY_JVM_OPTIONS="-Djava.security.manager"
@rem You must append %CF_SECURITY_JVM_OPTIONS% to the existing JAVA_OPTIONS value.
set JAVA_OPTIONS=-
Dweblogic.security.SSL.trustedCAKeyStore=C:\BEA_HOME\server\lib\cacerts
%CF_SECURITY_JVM_OPTIONS% %CF_COM_JVM_OPTIONS%
@rem You must append the following to the existing MEM_ARGS value.
@rem -Xms32m -Xmx512m -Xss64k -XX:MaxPermSize=128m
3 Save the startup script and restart the WebLogic Server.
Enable ColdFusion security and graphing support in UNIX
1
Open the startup script for the WebLogic domain, which is typically the startWebLogic.sh file, which is located
in the wldomain_root\bin directory.
2 Establish or append to the following variables:
CF_SECURITY_JVM_OPTIONS
CF_GRAPHING_JVM_OPTIONS
MEM_ARGS
If you are not using JRockit, append -Xms32m -Xmx512m -Xss64k
-XX:MaxPermSize=128m to the existing MEM_ARGS line of the startup script.
If you are using JRockit, append -Xms32m -Xmx512m -Xss64k to the existing MEM_ARGS line of the
startup script.
JAVA_OPTIONS
Append the CF_SECURITY_JVM_OPTIONS variable to the existing JAVA_OPTIONS line of the startup
script)
For example:
# Security options are only required if enabling sandbox security
CF_SECURITY_JVM_OPTIONS="-Djava.security.manager"
CF_GRAPHING_JVM_OPTIONS="-Djava.awt.headless=true"
# You must append ${CF_SECURITY_JVM_OPTIONS} and ${CF_GRAPHING_JVM_OPTIONS}
# to the existing JAVA_OPTIONS value.
# JAVA_OPTIONS="default java options ${CF_SECURITY_JVM_OPTIONS}
${CF_GRAPHING_JVM_OPTIONS}"
# You must append the following to the MEM_ARGS variable coded
# in the server startup file:
# "-Xmx512m -XX:MaxPermSize=128m"
3 Save the startup script and restart the WebLogic Server.