Two Laptop Bag*
The moose likes Tomcat and the fly likes Tomcat to output to console? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
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: 5139
    
  12

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://aspose.com/file-tools
 
subject: Tomcat to output to console?
 
Similar Threads
how to get System.out.print()
Printing the Url's in a jsp
set applicationname in Datasource for tomcat5
IllegalStateException after canceling file downloading.
System.out.println in Tomcat