Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1193

SolrYard Entity creation Access Denied

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Entityhub
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              rwesten Rupert Westenthaler
              Reporter:
              rwesten Rupert Westenthaler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment