EasyCFM.COM ColdFusion Forums / Coding Help! / CF9 Solr - permission denied

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: CF9 Solr - permission denied

remove book mark from this topic Printer-friendly Version  send this discussion to a friend  new posts last

WolfShade
05-17-2013 @ 7:32 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: Apr 2013

I'm getting a "permission denied" error message for a collection that doesn't even exist.  It occurs when trying to re-create it.

It's been unregistered from the CFAdmin; the folders associated with it have been deleted; the solr.xml file does NOT have any reference to it, at all.

After its removal, trying to create it via script is failing because of the permission denied "read" (which makes no sense, since there is nothing to read.)

This is a Windows Server 2008 system running CF9.

Ideas greatly appreciated.



^_^

WolfShade
05-17-2013 @ 11:32 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: Apr 2013

Hello, everyone.

I'm working on a script that will delete specific SOLR collections, re-create them, index them, then optimize them.

The delete portion succeeds. The create, however, is failing with a permissions issue:

access denied ("java.io.FilePermission" "X:\www\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\collections\xyz" "read")

What the heck is it trying to "read" when creating a collection with a CFCOLLECTION tag??

<cfcollection action="create" collection="xyz"
   categories="no" path="X:\www\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\collections\xyz"
   language="English" engine="solr">

UPDATE: It runs fine if sandbox is disabled. This is not an option. Can anyone, please, help fix this?

^_^

WolfShade
05-17-2013 @ 1:46 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: Apr 2013

Is it possible that this issue is related to Java 7?

I'm not sure of the timing, but this _may_ have started around the time that my dev system and the production systems were "upgraded" to Java 7.

^_^

^_^

WolfShade
05-20-2013 @ 6:27 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: Apr 2013

Uninstalled Java 7 from dev - no change.  It's not Java 7.

Still no idea what is causing the permission denied "read" error.

^_^

.

This message was edited by WolfShade on 5-20-13 @ 9:39 AM


Website Designed and Developed by Pablo Varando.