db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olk <Oliver.Koll...@web.de>
Subject Re: java.security.AccessControlException: access denied (java.io.FilePermission derby.log read)
Date Wed, 19 Dec 2007 07:47:00 GMT

I am getting the same

"java.security.AccessControlException: access denied (java.io.FilePermission
derby.log read)"

message, but in an other environment. 

I'm developing a applet to embed in a web page, contacting the derby local
database. I receive the error, when I try to open the database connection to
the local database. When I try the same piece of code within a Java
Application, I can contact the database with no error.

Yes, the applet is signed - so it should be allowed to read local files.

I'm wondering, if it might be related to the security manager.... ? When
creating the database, I did not assign a specific user and password as I'm
still in evaluating derby for a new project..? Unfortunately the
documentation isn't too detailed about NOT assigning a user and pass.

View this message in context: http://www.nabble.com/java.security.AccessControlException%3A-access-denied-%28java.io.FilePermission-derby.log-read%29-tp13225812p14412606.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message