aspose file tools*
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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: how to print debug messages of Tomcat on Solaris platform?