3 Replies - 2568 Views - Last Post: 29 August 2014 - 08:52 AM Rate Topic: -----

#1 _WolfShade_  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 60
  • Joined: 12-May 14

CF10 Solr issue, cont'd

Posted 25 August 2014 - 11:42 AM

Okay.. so.. I discovered, today, that the issue with not being able to see Solr collections in CFAdmin (also not being able to search Solr collections) might have something to do with Sandbox Security.

IF the JVM is set to what came with ColdFusion installation AND Sandbox is off or on, no problem.

IF the JVM is set to 7.55 update AND Sandbox is off, no problem.

IF the JVM is set to 7.55 update AND Sandbox is ON, nothing can be done with Solr collections. It will error. "access denied ("java.net.SocketPermission" "localhost:0" "listen,resolve")"

I have modified config and security files for Java, no change.

I am using CF10 update 13 and Apache 2.2.22 (trying to reflect what is in production.)

Anyone else have this issue?

V/r,

^_^

Is This A Good Question/Topic? 0
  • +

Replies To: CF10 Solr issue, cont'd

#2 _WolfShade_  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 60
  • Joined: 12-May 14

Re: CF10 Solr issue, cont'd

Posted 27 August 2014 - 07:53 AM

I have discovered ONE other person who is having the exact same issue as I am; neither of us is making any progress toward resolving this issue.

Has ANYone had a similar issue?

V/r,

^_^
Was This Post Helpful? 0
  • +
  • -

#3 _WolfShade_  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 60
  • Joined: 12-May 14

Re: CF10 Solr issue, cont'd

Posted 29 August 2014 - 06:02 AM

A co-worker discovered the solution to the issue we've been having with Java 7.51+ breaking Solr collections on CF9/CF10.

I sincerely hope that Adobe plans on including this fix. I'll be updating my bugbase entry, soon.

Modify neo-security.xml as follows:

Locate the line that is
<var name=' { path to CFIDE } '>

(Obviously, enter the path to your CFIDE folder in place of above attribute value.)

The next line _should_ define the length of an array. Increase the value by 1.

Immediately below that, add the following:


<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>


Save neo-security.xml, restart CF Application service, and test.

HTH,

V/r,

^_^

This post has been edited by _WolfShade_: 29 August 2014 - 06:03 AM

Was This Post Helpful? 0
  • +
  • -

#4 _WolfShade_  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 60
  • Joined: 12-May 14

Re: CF10 Solr issue, cont'd

Posted 29 August 2014 - 08:52 AM

UPDATE: Okay.. this did correct the CFAdmin issue of being able to see the collections, but it broke CFSEARCH. So, we had to undo the manual neo-security.xml edit, go into Sandbox Security and click on the entry for CFIDE, then add "127.0.0.1" which enters as "connect,resolve". NOW, manually edit the neo-security.xml file, scroll down to the bottom of /wwwroot/ var, copy and paste the whole struct for 127.0.0.1, give both of them ":0-" to cover the whole range of ports, change the ACTION of the second struct to "listen,resolve", save the file, restart the CF Application service, and test.

I'm sure different setups will require different things, but this should serve as a template for what needs to be done.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1