Bruce Snyder wrote:
>
> This one time, at band camp, Michel Bertrand said:
>
> MB>I'm having problems to startup my application using Tomcat in
> MB>Security Mode. When I try to query database using my
> MB>persistent classes I have the following error:
> MB>
> MB>java.security.AccessControlException: access denied (java.io.FilePermission
> C:\j2sdk1.4.1_01\jre\lib\castor.properties read)
> MB>Did anyboy face this problem before ? Could you help me ?
>
> Michel,
>
> I'm not sure why the Exception is being thrown for sure, but I do have
> a question for you. Why in the world are you putting anything into the
> JDK/JRE lib directory?!
He's probably not putting anything into that directory....the Castor
Configuration class looks there automatically.
Castor should check first if it has permission to read there. So this is
a bug in my opinion.
--Keith
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev