User guide
39
INSTALLING COLDFUSION 9
Installing the J2EE Configuration
Last updated 1/20/2012
CF_WEB_INF=cf_webapp_root/WEB-INF
CF_SHARED_LIB=${CF_WEB_INF}/cfusion/lib
5 Save the startup script and restart the WebLogic Server.
Enable access to Verity binary files 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 the following variables:
• CF_SHARED_LIBS
• LD_LIBRARY_PATH
For example:
# Set up shared library path for ColdFusion to pick up Verity
# shared libs. Use path syntax - entries separated by colon.
# Use _ss026/bin for Solaris and _ilnx21/bin for Linux
# CF_SHARED_LIBS="${CF_SHARED_LIB}:${CF_SHARED_LIB}/_ss026/bin"
CF_SHARED_LIBS="${CF_SHARED_LIB}:${CF_SHARED_LIB}/_ilnx21/bin"
LD_LIBRARY_PATH="${CF_SHARED_LIBS}:${LD_LIBRARY_PATH}"
3 Save the startup script and restart the WebLogic Server.
Enable ColdFusion security in Windows
1 Open the startup script for the WebLogic domain, which is typically the startWebLogic cmd file, which is located
in the wldomain_root\bin directory.
2 Establish or append to the following variable:
• CF_SECURITY_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:
@rem Security options are only required if enabling sandbox security
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.