Rupert Westenthaler created STANBOL-1193:
--------------------------------------------

             Summary: SolrYard Entity creation Access Denied
                 Key: STANBOL-1193
                 URL: https://issues.apache.org/jira/browse/STANBOL-1193
             Project: Stanbol
          Issue Type: Bug
          Components: Entityhub
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
             Fix For: 0.12.0


As reported by Jerry Jacob in [1] the SolrYard can encounter a 

    java.security.AccessControlException: access denied 
("java.io.FilePermission" 
"{stanbol-home}/indexes/default/{core-name}/data/index.properties" "read")

when adding the first entity to the Yard. This issue was likely introduces with 
the upgrade from Solr 4.2 to 4.4 as the noted "index.properties" file was not 
present in 4.2

To solve this the SolrYard needs to call the SolrServer within a 
`AccessController.doPrivileged` block

[1] http://markmail.org/message/oqj3ciib43dpyida



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to