[Bug 434978] [NEW] Tomcat6 default installation does not create logs in /var/log/tomcat6.

Geoff Shuetrim geoff at galexy.net
Wed Sep 23 02:12:11 BST 2009


Public bug reported:

Binary package hint: tomcat6

Tomcat6 is failing to start my web application and I am having trouble
diagnosing the problem because no log files appear to be getting
generated.

My setup is as follows.

I am running Ubuntu 9.04
Kernel: Linux 2.6.28-15-generic
GNOME 2.26.1

I am using the sun-java6-jdk.
I have installed the following tomcat packages:
tomcat6 (version 6.0.18)
tomcat6-common (version 6.0.18)
libtomcat6-java
tomcat6-admin
tomcat6-docs
tomcat6-examples

The examples run fine but generate no log information.

Tomcat installs into /usr/share/tomcat6
Catalina base appears to be /var/lib/tomcat6

I have installed the web application that I want to run as:
/var/lib/tomcat6/webapps/myapp.war

Tomcat tries to deploy it, as evidenced by it being unpacked when
Tomcat6 is restarted using:

sudo /etc/init.d/tomcat6 restart

Deployment fails however. I determine this via the tomcat6
administration web interface where the relevant application is shown
with a running status of false. When I try to use the tomcat web
application manager to start the web application the message is:

FAIL - Application at context path ... could not be started

When I look in /var/log/tomcat6 to see details of why it could not be
started, I find that the directory is empty.

Any suggestions about how to get tomcat6 to record the relevant logs and
where they should be recorded would be very helpful at this stage.  It
seems peculiar to me to have no logging being generated by the default
package install configuration.

Regards

Geoff

** Affects: tomcat6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: logging tomcat6

-- 
Tomcat6 default installation does not create logs in /var/log/tomcat6. 
https://bugs.launchpad.net/bugs/434978
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list