Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat console in UNIX

 
sriram sundararajan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error messages should be in the logs folder under TOMCAT_HOME.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic