legolas wood wrote:
> Hi
> Thank you for reading my post.
> Does any one tried and used derby under a security manager a a policy file?
> I tried to use it under a security manager and a policy file but my
> policy file never take effect.
> indeed derby ignored any policy that i defined.
> 
> is there any sample policy file out there? I tries sample policy file
> which is included in Derby reference? and it does not take affect.

one thing that has tripped me up in the past is I copied the sample
policy file *exactly* :

   grant codeBase "file://f:/derby/lib/derby.jar" {
   ... deleted for brevity ...
   }

There's no "f" drive on any of my systems. :-) So be sure to change that
line to specify the full path on your system.

 -jean


Reply via email to