• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFX initialization error with sandbox security enabled

Participant ,
Aug 21, 2015 Aug 21, 2015

Copy link to clipboard

Copied

I've found that CFX_HTTP5 works fine with CF10 if I have sandbox security turned off.  However when I turn the sandbox on, the CFM page containing the CFX_HTTP5 tag will return a blank page and generate an error in the application.log "Could not initialize class coldfusion.tagext.NativeCfx"

The top of the stack trace looks like this:

Could not initialize class coldfusion.tagext.NativeCfx The specific sequence of files included or processed is: D:\Staging\cfxtest.cfm, line: 13 "

java.lang.NoClassDefFoundError: Could not initialize class coldfusion.tagext.NativeCfx

    at coldfusion.tagext.CfxTag.doStartTag(CfxTag.java:108)

    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2795)

The cfxhttp5.dll is in C:/ColdFusion10/cfusion/CustomTags folder

I have fiddled with read, read+execute permissions and sandbox file paths such as:

c:\coldfusion10\cfusion\lib and lib\-

C:/ColdFusion10/cfusion/CustomTags/ and /-

C:/ColdFusion10/cfusion/lib/CFXNeo.dll

Platform is CF10 Enterprise 64-bit w/HF16 on Windows 2012.  Java 1.8.0_45

TOPICS
Advanced techniques

Views

814

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

Hello. I'm running into the same issue trying to get cfx_http5 to work. Did you find a solution for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 16, 2017 Jun 16, 2017

Copy link to clipboard

Copied

LATEST

I found the solution for this in my environment. In whatever sandbox you have defined, go to the "Others" tab and make sure the "loadLibrary.*" runtime permission is enabled.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation