File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat to output to console? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat to output to console?" Watch "Tomcat to output to console?" New topic
Author

Tomcat to output to console?

Stef Mischook
Greenhorn

Joined: Nov 12, 2004
Posts: 15
Hi,

I have not been able to figure how to get TOMCAT to display a console window so I cans see system.out statements.

Using the latest version on windows.

Any ideas?


<a href="http://www.killersites.com" target="_blank" rel="nofollow">http://www.killersites.com</a><br /><a href="http://www.how-to-build-websites.com" target="_blank" rel="nofollow">http://www.how-to-build-websites.com</a><br /><a href="http://www.websitetemplates.name" target="_blank" rel="nofollow">http://www.websitetemplates.name</a>
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

CD to the tomcat/bin directory.
Type:
catalina start


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4351

or
catalina run to keep everything in the same console window (could be very handy when your tomcat doesn't start up due to an error with initialization)


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat to output to console?
 
Similar Threads
how to get System.out.print()
Printing the Url's in a jsp
System.out.println in Tomcat
IllegalStateException after canceling file downloading.
set applicationname in Datasource for tomcat5