tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties
Date Tue, 14 Sep 2010 22:35:00 GMT
Pid wrote:
> On 14/09/2010 16:17, Steve Ryder wrote:
>> java.security.AccessControlException: access denied (java.io.FilePermission /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties
read)
>>
>> When I first noticed this I added the java.io.FilePermission 
>> to catalina.policy under WEB APP PERMISSIONS
>> grant { 
>>     // Added by JSR 2010-09-13:
>>  permission java.io.FilePermission "*", "read,write";
>>     // Added by JSR 2010-02-08:
>>  permission java.util.PropertyPermission "*", "read,write";
>>     permission java.net.SocketPermission    "*", "connect,resolve";
>>  
>> I still get the error at startup!
>>
>> I have no logging.properties file under either the classes or under common/classes.
>> Do I need to add one?  Can it be just a blank line?  
> 
> Silly question: does the file have the appropriate user permissions for
> Tomcat to access it?
> 
Considering that the OP writes, just above there, that he does not have a file there, that

does indeed sound like a silly question.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message