This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic