The ColdFusion documentation for CFMX 7 installation on BEA WebLogic J2EE server omits instructions to set the LD_LIBRARY_PATH environment variable in the startWebLogic.sh script. In contrast, the documentation for CFMX 6.1 instructs the user to set this variable to enable Verity support.

Perhaps because CFMX 7 uses the Verity K2 server mode exclusively rather than the Verity VDK mode, this library path option may have been dropped from the documentation becuase it is no longer needed for Verity support.

However, LD_LIBRARY_PATH must be set to include the path for ColdFusion's WEB-INF/cfusion/lib directory in order to properly register C++ CFX tags such as cfx cybercash tag. Without it, when you attempt to register a CFX C++ tag in the ColdFusion Administrator you will receive the following error:

You must configure your application server to enable native CFX support. For instructions, see "Configuring ColdFusion MX" in the "Installing and Using ColdFusion MX" book for your application server.


The solution is to edit the startWebLogic.sh script to add the LD_LIBRARY_PATH like this:

view plain print about
1CF_WEB_INF=/the/path/to/coldfusion/WEB-INF
2CF_SHARED_LIB_DIR=${CF_WEB_INF}/cfusion/lib
3LD_LIBRARY_PATH="${CF_SHARED_LIBS}:${LD_LIBRARY_PATH}"
4export LD_LIBRARY_PATH


A documentation bug has been logged (after a half-day of finding the solution to this problem :)