aspose file tools*
The moose likes Servlets and the fly likes Standard out and error for Tomcat 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Standard out and error for Tomcat 4" Watch "Standard out and error for Tomcat 4" New topic

Standard out and error for Tomcat 4


Joined: Aug 05, 2002
Posts: 2
Hi there
I recently updated Tomcat from 3.3 to 4.08 in my Linux Machine(RH 7). The difference I noticed right away was that the standard out and error are not printed on the console anymore and are instead written in the log file (catalina.out by default). I find it way easier to see in on a sonsole. Is there anyway to configure Tomcat so I can see all the output on a console?
Thank you,
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
You can check the server.xml file under tomcat install directory\conf\

So much trouble in the world -- Bob Marley

Joined: Aug 05, 2002
Posts: 2
Thank you for the response. Well, maybe I was not clear. I know that you need to edit the server.xml. My question is that how I can edit the file so standard out & err is printed on the console...
Peter Kristensson
Ranch Hand

Joined: Jul 02, 2001
Posts: 118
Try looking at the startup scripts to see if they redirect the stdout and stderr somewhere.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
and welcome to the JavaRanch!
I agree. Here's the link:
subject: Standard out and error for Tomcat 4
Similar Threads
servlets in iPlanet web server 6.0
tomcat admin console
A small question on "err"
System.out.println in Tomcat
Websphere server going down frequently. Please help.