|
From: <php...@li...> - 2008-12-03 20:13:52
|
I would first check that the user running this code (the Apache user for example) has permission to read and write on the folder where you're trying to create the index. On Wed, Dec 3, 2008 at 10:21 AM, < php...@li...> wrote: > I am getting the following error when trying to use php/java bridge as a > php extension, I am assuming i have to change a setting somewhere. > > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance > failed: new org.apache.lucene.index.IndexWriter((o:String)[o:String], > (o:Analyzer)[o:StopAnalyzer], (o:boolean)[o:Boolean]). Cause: > java.security.AccessControlException: access denied (java.io.FilePermission > /searchindex/in read) VM: 1.6.0_10@http://java.sun.com/" at: #-19 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |