File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes access.log and error.log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "access.log and error.log" Watch "access.log and error.log" New topic

access.log and error.log

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
When I try to open access.log and error.log, I get the error "Acces Denied".
I have admin rights, so I can check all the files. So how come is access denied. I had put this question earlier also and I was informed that these files are continuously updated and thats why access may be denied. I am not sure, if this is true.
Even if thats true, how can I check access.log and error.log files ?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

It depends how open files behave on the OS you're using, and also how "admin right" work on your OS (because "admin rights" on Windows aren't worth a hill of beans!)

I've personally run Tomcat on a number of different real computing platforms, where this has never been a problem. I've never tried to run it on Windows, though. If that's what you're trying to do, perhaps someone else can help you.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: access.log and error.log
It's not a secret anymore!