VDS Sphera Knowledge Base

Main / Browse Categories / Tomcat Server / How come my catalina.out file is zero length?

Print article Print Article    Email article Email Article

How come my catalina.out file is zero length?
The Tomcat STDOUT is being redirected to /dev/null. You can modify the start script to send the output to the /var/log/tomcat4/catalina.out file, by doing the following.

Edit the /usr/bin/dtomcat4 file.

Modify the following text:

org.apache.catalina.startup.Bootstrap "$@" start \
>dev/null 2>&1 &
#LOG: # >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &
To look like this.
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_BASE"/logs/catalina.out 2>&1 &
Then restart tomcat with:

/etc/rc.d/init.d/apachectl restart

User Comments
How come my catalina.out file is zero length?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 Where do I put my JSP and servlet files?
 Where is my mod_jk.conf file?
 Where are my Tomcat logs located?
 What version of Tomcat will I have?
 Where can I find documentation and resources on Tomcat?

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »