This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to print debug messages of Tomcat on Solaris platform? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to print debug messages of Tomcat on Solaris platform?" Watch "how to print debug messages of Tomcat on Solaris platform?" New topic
Author

how to print debug messages of Tomcat on Solaris platform?

Mohit Vashishta
Greenhorn

Joined: Mar 24, 2008
Posts: 7
Hi,

I have an application running on Tomcat on Solaris platform, i'm trying to print some debug messages through System.out.print() from my applications code (thisuse to work fine on Windows when Tomcat is started from command prompt all the system.out messages use to get displayed on command prompt itself). But on Solaris platform Tomcat gets launched as a background process and hence i'm not getting my messages.

Any idea how to overcome this, one thing is to get these mesaages logged in a file but if i dont want to do that then?

Thanks,
Mohit
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874



But on Solaris platform Tomcat gets launched as a background process and hence i'm not getting my messages.


I hv not installed Tomcat in Solaris. But I can tell your background process are indeed routed to logs. check the startup scripts and see where the logs are routed ( usually it ends with something like "&" in shell scripts)
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to print debug messages of Tomcat on Solaris platform?
 
It's not a secret anymore!