Hi all,
 
I'm using entity beans with Orion and got some strange messages while calling a Remote method on one of them :
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.io.SerializablePermission enableSubstitution)
        at com.evermind._dn.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(.:1446)
        at com.evermind._dn.invokeMethod(.:1369)
        at com.evermind._yd.invoke(.:53)
        at com.evermind._jdb.invoke(.:22)
 
On server side, I also have an exception, almost at the same time :
 
java.security.AccessControlException: access denied (java.io.FilePermission ./database/defaultdb.script.new delete)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
        at java.security.AccessController.checkPermission(AccessController.java:399)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at java.lang.SecurityManager.checkDelete(SecurityManager.java:1005)
        at java.io.File.delete(File.java:709)
        at org.hsql.Log.writeScript(Log.java:432)
        at org.hsql.Log.close(Log.java:147)
        at org.hsql.Database.close(Database.java:586)
        at org.hsql.Database.processShutdown(Database.java:603)
        at org.hsql.Database.execute(Database.java:127)
        at org.hsql.jdbcConnection.executeStandalone(jdbcConnection.java:686)
        at org.hsql.jdbcConnection.execute(jdbcConnection.java:541)
        at org.hsql.jdbcConnection.closeStandalone(jdbcConnection.java:677)
        at org.hsql.jdbcConnection.close(jdbcConnection.java:277)
        at com.evermind._hi.close(.:92)
        at com.evermind.sql.OrionPooledDataSource._ape(.:424)
        at com.evermind.sql.OrionPooledDataSource.run(.:380)
        at com.evermind.sql.DriverManagerXADataSource.run(.:173)
        at com.evermind._bq.run(.:133)
        at com.evermind._bs.run(.:64)
 
I thought it was a security problem so I changed my java.policy to all permissions like this (both in server and client side) :
grant {
 permission java.security.AllPermission;
};
 
But the same problems occur all the time.
Does anybody know from where this error comes from ? Did anybody already have this problem ?
How could I solve it ?
Any help would be really much appreciated, this is urgent.
 
Thanx,
 
                              Thomas Dandelot

Reply via email to