Hi,
Two options come to mind.  Either

You're running with a SecurityManager and your java.policy file doesn't
specify a write permission into WEB-INF/logs.

Or you've misconfigured log4j.  If this is the case, post your log4j
configuration file and we can help you although that's a bit off-topic
for this list.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Lawrence J Winkler [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 19, 2004 3:18 PM
>To: [EMAIL PROTECTED]
>Subject: Tomcat security stopping log4j write to a file
>
>I want log4j to write its output to the webapps/[application
>dir]/WEB-INF/logs directory. The log4j properties file is located in
>the WEB-INF/classes directory, as specified.
>
>Monitoring trace of log4j's process, shows log4j is unable to find
>(create) the requested files.
>
>I believe Tomcat is not allowing the application to write into
>WEB-INF/logs subdirectory. How do I direct Tomcat to allow this
>functionality?
>
>
>Tomcat 4.1.30
>
>Thanks
>---------------------------------------------
>Lawrence Winkler
>UW-Madison
>Division of Information Technology
>608-265-4610
>[EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to