Copy link to clipboard
Copied
Copy link to clipboard
Copied
I had a similar issue with CFSEARCH on CF10 with sandbox security that I resolved by adding the following to the neo-security.xml file:
<struct><var name='CLASS'><string>java.net.SocketPermission</string></var><var name='TARGET'><string>127.0.0.1:0</string></var><var name='ACTION'><string>listen,resolve</string></var></struct></array></var></struct></var> </struct>
That gives permission to listen on dynamic ports (the colon-zero part).
Copy link to clipboard
Copied
I have tried this (on CF 9) but it breaks CF totally. I inserted it inside existing sandbox definition in the same place any other rule would be place if created via cfadmin.
Are you sure the syntax is correct, or does it go somewhere else ?