Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts

    Angry CFCOLLECTION action="create" - permission denied "read" (what??)

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

    Code:
    <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?
    Last edited by WolfShade; 05-17-2013 at 08:30 PM.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • #2
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    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.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • #3
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    Issue is NOT Java 7. I uninstalled Java 7 from dev - no change.

    What could be denying "read" access to a Solr collection?????
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •