File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "access.log and error.log" Watch "access.log and error.log" New topic
Author

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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

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]
 
jQuery in Action, 2nd edition
 
subject: access.log and error.log
 
Similar Threads
Applet Axis Client Errors
Problem with Deploytool of J2ee!!!
session id in http logs
unable to open store service tool in wcs 5.1
cgi and logs