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

SolrYard Entity creation Access Denied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Entityhub
    • 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

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: