Hi Joseph, You have too pass -no-security as a parameter for the launcher you are using. So java -xM.... -jar org.apache..... -no-security
Hope that helps Regards El viernes, 21 de junio de 2013, Joseph M'Bimbi-Bene escribió: > And how do i do it ? As a system parameter "-Dnosecurity" or whatever ? In > a .config file ? via the felix interface ? > > > 2013/6/21 Rupert Westenthaler <[email protected]<javascript:;> > > > > > Hi Joseph, > > > > Thanks for the report. I will adapt the OpenNLP component that loads > > the model from the DataFileProvider infrastructure to do so with the > > extra permissions required. In the meantime you can avoid such > > exceptions by parsing '-no-security' as parameter when launching your > > Stanbol Launcher. > > > > best > > Rupert > > > > On Thu, Jun 20, 2013 at 4:55 PM, Joseph M'Bimbi-Bene > > <[email protected] <javascript:;>> wrote: > > > 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) > > > > > > > > -- > > | Rupert Westenthaler > > [email protected]<javascript:;> > > | Bodenlehenstraße 11 ++43-699-11108907 > > | A-5500 Bischofshofen > > > -- ------------------------------ This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. Zaizi Ltd is registered in England and Wales with the registration number 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road, London W6 7AN.
