Hi,

Under which user the tomcat process is running?. It seems the user doesn't have enough privilege to write to the folder.

regards


Roberto Riggio wrote:
Hi,

I'm deploying a struts 1.3.x webapp on tomcat 5.5.

I'm using log4j 1.2.13 for logging and I've configured to
log everything at /var/tmp/myapp.log

However when i try to deploy the app tomcat complains that
the webapp is not allowed to write on /var/log/myapp.log.

How should I modify the policy files in order to enable
proper logging?

Moreover: is it correct to specify the log name in the log4j.properties
files inside the webapp? Is there another more general way to
do this so i do not have to modify it if I deploy the webapp on win
instead of linux?

Thanks
R


--
........................................
<signature>
  <full-name> Vinu Varghese </full-name>
  <company-email> [EMAIL PROTECTED] </company-email>
  <company-website> www.x-minds.org </company-website>
  <big-words>
   Success always occurs in private, and failure in full view.
   </big-words>
  <company-name-big>
\/      ._ _   o  ._    _|   _
/\ ~~ | | | | | | (_| _\ </company-name-big>
</signature>

Reply via email to