Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Trying to run tomcat as a limited user on Windows means tomcat doesn't have write permissions to the logs directory. And idea how to solve that (running as admin is not a solution).

share|improve this question
add comment

1 Answer

Well, to run Tomcat with non-admin priviliges, if the issue is only with writing logs, you may:

  1. You can change the path to log files, to a directory where you have write permissions

  2. You may turn off the logging completeley (not recommended)

However, I don''t think it will completely solve the problem, if Windows have some restrictions like unix regd. port accesses.

For e.g. Unix will not let you start it on port 80/443 (<1024) unless your have superuser privileges. So that is one artea you will need to check on.

share|improve this answer
    
Windows doesn't restrict ports <1024 –  theotherreceive Aug 24 '09 at 7:47
    
@theotherrecieve - Thanks for the insight.. as i mentioned I haave had my hands more into Linux than Win. –  M.N Aug 24 '09 at 7:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.