Bug#374928: I have the same problem in 5.0.30-12etch1 tomcat5 version

Fco. Mario Barcala Rodríguez lbarcala at freeresearch.org
Sat Mar 7 09:24:59 UTC 2009


Package: tomcat5
Version: 5.0.30-12etch1
Followup-For: Bug #374928


When I try to deploy an application I get this error:

java.io.FileNotFoundException: /var/lib/tomcat5/conf/Catalina/localhost/myapplication.xml (Permission denied)

Owner of /var/lib/tomcat5/conf/Catalina/ is root and group root.

localhost# ls -lsd /var/lib/tomcat5/conf/Catalina/
4 drwxr-xr-x 2 root root 4096 2009-03-06 12:18 /var/lib/tomcat5/conf/Catalina/

And of /var/lib/tomcat5/conf/ is tomcat5 and group adm.

localhost# ls -lsd /var/lib/tomcat5/conf/
4 drwxr-x--- 3 tomcat5 adm 4096 2009-03-06 16:48 /var/lib/tomcat5/conf/

I have made:

localhost# chown -R tomcat5 /var/lib/tomcat5/conf/
localhost# chgrp -R adm /var/lib/tomcat5/conf/

and the problem have gone away.

-- System Information:
Debian Release: 5.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat5 depends on:
ii  adduser                  3.110           add and remove users and groups
ii  apache2-utils            2.2.9-10+lenny2 utility programs for webservers
ii  java-gcj-compat [java2-r 1.0.78-2        Java runtime environment using GIJ
ii  libtomcat5-java          5.0.30-12etch1  Java Servlet engine -- core librar
ii  sun-java5-jre [java2-run 1.5.0-17-0.1    Sun Java(TM) Runtime Environment (

tomcat5 recommends no packages.

Versions of packages tomcat5 suggests:
ii  gij-4.3 [java-virtual-mac 4.3.2-2        The GNU Java bytecode interpreter
ii  java-gcj-compat [java-vir 1.0.78-2       Java runtime environment using GIJ
ii  java-gcj-compat-headless  1.0.78-2       Java runtime environment using GIJ
pn  libapache-mod-jk | libapa <none>         (no description available)
ii  sun-java5-jre [java-virtu 1.5.0-17-0.1   Sun Java(TM) Runtime Environment (
ii  tomcat5-admin             5.0.30-12etch1 Java Servlet engine -- admin web i
ii  tomcat5-webapps           5.0.30-12etch1 Java Servlet engine -- documentati

-- no debconf information





More information about the pkg-java-maintainers mailing list