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

Tomcat console in UNIX

sriram sundararajan
Ranch Hand

Joined: Apr 08, 2003
Posts: 43

I am running Tomcat in unix server. I am starting the Tomcat using some shell script, am not facing any problem in that. But i wanted to see the error messages which are throwing from my application, my question is how can i see the error message in the Unix?
In windows i can see the Tomcat console, from there i can able know the error message. In Unix how to know the error message? Where i can get the printStackTrace error messges?
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

The error messages should be in the logs folder under TOMCAT_HOME.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

If you want to watch them scrolling by in real-time, use the tail program with the -f (for follow) option.


Not sure which log you want to tail?
You can tail all of them at the same time if you like.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Tomcat console in UNIX
It's not a secret anymore!