You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/10/18 08:47:42 UTC
[jira] [Resolved] (STANBOL-1177) AccessControlException while
loding FST models in the Lucene FST Linking engine
[ https://issues.apache.org/jira/browse/STANBOL-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1177.
------------------------------------------
Resolution: Fixed
resolved with http://svn.apache.org/r1533055
> AccessControlException while loding FST models in the Lucene FST Linking engine
> -------------------------------------------------------------------------------
>
> Key: STANBOL-1177
> URL: https://issues.apache.org/jira/browse/STANBOL-1177
> Project: Stanbol
> Issue Type: Bug
> Components: Enhancement Engines
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
>
> As reported by Andreas Kuckartz the FST linking engine may encounter
> java.security.AccessControlException: access denied
> ("java.io.FilePermission"
> "{..}/stanbol/integration-tests/target/launchdir/stanbol/indexes/default/dbpedia-2013.10.09/data/fst/dbpedia_ont_surfaceForm.en.fst"
> "read")
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
> at java.security.AccessController.checkPermission(AccessController.java:559)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
> at java.io.File.exists(File.java:770)
> at org.apache.stanbol.enhancer.engines.lucenefstlinking.CorpusInfo.getCorpus(CorpusInfo.java:186)
> at org.apache.stanbol.enhancer.engines.lucenefstlinking.TaggingSession.obtainFstCorpus(TaggingSession.java:334)
> NOTE that this is not reproduceable on all environments.
> Engines need to use AccessController.doPrivileged(..) for File IO
--
This message was sent by Atlassian JIRA
(v6.1#6144)