Hello everybody, i get the following error while trying to enhance a batch
of documents. Looks like sometimes Stanbol doesn't have the right to access
openNLP model, but other time it can, just as indicate the log excerpt:

20.06.2013 16:55:15.975 *INFO* [10277889@qtp-1810905-19]
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
Execution of Chain EDFEnhancement finished after 1910ms for ContentItem
<urn:content-item-sha1-ce2584c6d20f5576c224f591e2f061224e28ad37>
20.06.2013 16:55:16.271 *INFO* [18251006@qtp-1810905-20]
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
Execution of Chain EDFEnhancement finished after 2139ms for ContentItem
<urn:content-item-sha1-2c92c3ac2c2b215c64944cd17aeb05055b417fc8>
20.06.2013 16:55:16.277 *WARN* [Thread-122]
org.apache.stanbol.enhancer.engines.opennlp.sentence.impl.OpenNlpSentenceDetectionEngine
Unable to load Sentence Detection model for language 'fr' from the
configured model 'fr-sent.bin'! java.security.AccessControlException:
access denied (java.io.FilePermission
/home/adminsrv/stanbol_14_05_13/stanbol/datafiles/fr-sent.bin read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)

Reply via email to