Bug#623242: context xml file not taken into account, only web.xml is used

Olivier Sallou olivier.sallou at irisa.fr
Mon Apr 18 16:33:26 UTC 2011

Package: tomcat6
Version: 6.0.32

when I put a context file in /etc/tomcat6/Catalina/localhost (such as myapp.xml), the context param values are not taken into account. This used to work on previous tests on an older update.

To be sure, I took a Tomcat 6.0.24 version (not packaged), and installed it in /tmp. I copied my app dir in webapps and the context files in conf/Catalina/localhost, and this time my context params are taken into account.

Here are system info:

Distrib: sid

Using CATALINA_BASE:   /usr/share/tomcat6
Using CATALINA_HOME:   /usr/share/tomcat6
Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/share/tomcat6/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.32
Server built:   April 3 2011 2119
Server number:  ...0
OS Name:        Linux
OS Version:     2.6.32-5-amd64
Architecture:   amd64
JVM Version:    1.6.0_18-b18
JVM Vendor:     Sun Microsystems Inc.

root at debiansid:/usr/share/tomcat6/bin# java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)



gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

More information about the pkg-java-maintainers mailing list