-
1. Re: Sandbox security denying CFINDEX from indexing a collection (Solr/CF9)
WolfShade May 24, 2013 11:25 AM (in response to WolfShade)The CFINDEX is not erroring, and it's contained within a CFTRY that will dump "cfcatch" if anything did error. But the collection remains documents: 0 and size: 0.
^_^
-
2. Re: Sandbox security denying CFINDEX from indexing a collection (Solr/CF9)
t.g.webfirst Jun 13, 2014 11:20 AM (in response to WolfShade)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).
-
3. Re: Sandbox security denying CFINDEX from indexing a collection (Solr/CF9)
t.g.webfirst Jun 24, 2014 1:43 PM (in response to t.g.webfirst)I ran into an issue with CFINDEX that was fixed by disabling Sandbox Security, running the CFINDEX, and then re-enabling. Perhaps the first time the collection is indexed requires elevated privileges?
It may have also helped to add sandbox access to C:\Users\<user_running_coldfusion_service>\AppData\Local\Temp\-

