Hi Michel,

The configuration mechanism is located mostly in
org.exolab.castor.util.Configuration.

Arnaud

> -----Original Message-----
> From: Michel Bertrand [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 03, 2003 3:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Problems with Castor 0.9.5 and 
> Tomcat in SecurityMode.
> 
> 
> Hi again !
> 
> Does anyboy knows how could I workaround this situation 
> enhancing Castor to check whether it can search 
> "castor.properties" or not ? I mean, which source files 
> should I study to change ?
> 
> -----Mensagem original-----
> De: Michel Bertrand 
> Enviada em: sexta-feira, 3 de outubro de 2003 08:21
> Para: [EMAIL PROTECTED]
> Assunto: Re: [castor-dev] Problems with Castor 0.9.5 and 
> Tomcat in SecurityMode.
> 
> 
> 
> Sure, I'm not putting anything there. I don't know why is 
> Castor checking 
> that directory. The library is located at the WEB-INF/lib. 
> Starting Tomcat in normal mode I don't have problem, but I 
> really need it running on Security Mode.
> 
> -----Mensagem original-----
> De: Keith Visco [mailto:[EMAIL PROTECTED]
> Enviada em: quinta-feira, 2 de outubro de 2003 17:37
> Para: [EMAIL PROTECTED]
> Assunto: Re: [castor-dev] Problems with Castor 0.9.5 and 
> Tomcat in SecurityMode.
> 
> 
> 
> 
> 
> 
> 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 persistent 
> > MB>classes I have the following error:
> > MB>
> > MB>java.security.AccessControlException: access denied 
> > MB>(java.io.FilePermission 
> C:\j2sdk1.4.1_01\jre\lib\castor.properties 
> > MB>read) 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
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to 
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to 
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev
> 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to