Issue

Macromedia has created a hot fix for C++ CFX support on newer versions of Linux. This hot fix also allows C++ CFXs to be compiled and work with ColdFusion MX 7.

You only need this update if you are migrating existing C++ CFXs and updating them. Existing CFXs that are not updated and recompiled should not require this hot fix. This hot fix is required if any of your C++ CFXs are updated and recompiled or you create new C++ CFXs. Once you add these files, all your CFXs must be recompiled.

Note: There is a similar hot fix for ColdFusion MX 6.1 Updater 1 that resolves this same issue and adds Verity support. There is no similar Verity issue in ColdFusion MX 7 and this hot fix does not impact Verity. The ColdFusion MX 6.1 hot fix can be found in TechNote 54fb8a44.

Reason

Without these updated files, newly compiled C++ CFX files will cause a JVM crash with an error similar to:

Unexpected Signal : 11 occurred at PC=0x3FC63909 Function=(null)+0x3FC63909 Library=/opt/coldfusionmx7/runtime/jre//lib/i386/server/libjvm.so

Solution

  1. Stop ColdFusion.
  2. Backup and then remove the following two shareable libraries from cf_root/lib:
    • libporting.so
    • libCFXNeo.so
  3. Replace the libraries with the files in cf701_61543.zip

  4. Restart ColdFusion.

With these replacement libraries, all C++ CFXs must be recompiled and linked with the current version ofglibc. Existing (legacy) C++ CFXs will not run.

With the original libraries, existing C++ CFXs that were compiled and linked with earlier versions of glibc will run without recompilation.

Additional Information

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy