This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat console in UNIX" Watch "Tomcat console in UNIX" New topic
Author

Tomcat console in UNIX

sriram sundararajan
Ranch Hand

Joined: Apr 08, 2003
Posts: 43
Hi,

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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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

example:



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
 
Don't get me started about those stupid light bulbs.
 
subject: Tomcat console in UNIX