Bug#881162: tomcat7: Server reports 404 on any request, even /
Santiago Garcia Mantinan
manty at debian.org
Wed Nov 8 11:37:05 UTC 2017
Package: tomcat7
Version: 7.0.28-4+deb7u16
Severity: important
Dear Maintainer,
* What led up to the situation?
Latest security update.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Installing version 7.0.28-4+deb7u4 (the one that came with last wheezy
version) instead of 7.0.28-4+deb7u16 (the one from security) solves the
problem.
I found the problem on machines that were running 7.0.28-4+deb7u15 ok and
after upgrading to 7.0.28-4+deb7u16 they stopped working, they reply with
404 to any request.
I then rolled back tomcat7, tomcat7-common and libtomcat7-java to version
7.0.28-4+deb7u4 which solved the problem (libtomcat7-java was the one that
solved it).
To see if this was some specific config we were using on our machines I
installed a clean tomcat7 today on the machine I'm sending the report from
(this machine didn't have tomcat7 installed). This installed the following
packages:
ca-certificates-java default-jre-headless fontconfig-config java-common
libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3
libcommons-dbcp-java libcommons-pool-java libcups2 libdbus-1-3 libecj-java
libflac8 libfontconfig1 libice6 libjpeg8 libjson0 liblcms2-2 libnspr4
libnss3 libogg0 libpcsclite1 libpulse0 libsctp1 libservlet3.0-java libsm6
libsndfile1 libtomcat7-java libvorbis0a libvorbisenc2 libx11-6 libx11-data
libx11-xcb1 libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxtst6
openjdk-7-jre-headless tomcat7 tomcat7-common ttf-dejavu-core tzdata-java
x11-common
Without touching anything, going to http://localhost:8080/ gives a 404
instead of the home page.
Regards.
-- System Information:
Debian Release: 7.11
APT prefers oldoldstable
APT policy: (500, 'oldoldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tomcat7 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii tomcat7-common 7.0.28-4+deb7u16
ii ucf 3.0025+nmu3
Versions of packages tomcat7 recommends:
pn authbind <none>
Versions of packages tomcat7 suggests:
pn libtcnative-1 <none>
pn tomcat7-admin <none>
pn tomcat7-docs <none>
pn tomcat7-examples <none>
pn tomcat7-user <none>
-- Configuration Files:
/etc/tomcat7/catalina.properties [Errno 13] Permiso denegado: u'/etc/tomcat7/catalina.properties'
/etc/tomcat7/context.xml [Errno 13] Permiso denegado: u'/etc/tomcat7/context.xml'
/etc/tomcat7/logging.properties [Errno 13] Permiso denegado: u'/etc/tomcat7/logging.properties'
/etc/tomcat7/policy.d/01system.policy [Errno 13] Permiso denegado: u'/etc/tomcat7/policy.d/01system.policy'
/etc/tomcat7/policy.d/02debian.policy [Errno 13] Permiso denegado: u'/etc/tomcat7/policy.d/02debian.policy'
/etc/tomcat7/policy.d/03catalina.policy [Errno 13] Permiso denegado: u'/etc/tomcat7/policy.d/03catalina.policy'
/etc/tomcat7/policy.d/04webapps.policy [Errno 13] Permiso denegado: u'/etc/tomcat7/policy.d/04webapps.policy'
/etc/tomcat7/policy.d/50local.policy [Errno 13] Permiso denegado: u'/etc/tomcat7/policy.d/50local.policy'
/etc/tomcat7/server.xml [Errno 13] Permiso denegado: u'/etc/tomcat7/server.xml'
/etc/tomcat7/tomcat-users.xml [Errno 13] Permiso denegado: u'/etc/tomcat7/tomcat-users.xml'
/etc/tomcat7/web.xml [Errno 13] Permiso denegado: u'/etc/tomcat7/web.xml'
These errors are because I'm running reportbug as a normal user, but I
didn't touch any files at all.
-- debconf information:
tomcat7/groupname: tomcat7
tomcat7/username: tomcat7
tomcat7/javaopts: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC
More information about the pkg-java-maintainers
mailing list