Bug#871507: tomcat8: Setting copyXML="true" in <Host> configuration has no effect, an blocks ROOT context
Roberto Resoli
roberto at resolutions.it
Tue Aug 8 16:18:42 UTC 2017
Package: tomcat8
Version: 8.5.14-1+deb9u1
Severity: normal
Setting copyXML="true" attribute in <Host> section inside:
/etc/tomcat8/server.xml
Does not works; if an "appname.war" package contains a META-INF
directory with a
context.xml
context descriptor inside, that file is not copied to:
/etc/tomcat8/Calalina/localhost/appname.xml
as it should, according to tomcat8 docs:
https://tomcat.apache.org/tomcat-8.5-doc/config/host.html#Standard_Implementation
Moreover, the ROOT context does not works anymore; catalina.out
reports a permission error for:
/etc/tomcat8/Calalina/localhost/ROOT.xml
Workaround:
Set group write permission for
/etc/tomcat8/Calalina/localhost
(group ownership: tomcat8)
so that tomcat process can write into it.
Bye,
rob
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8),
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tomcat8 depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.61
ii lsb-base 9.20161125
ii tomcat8-common 8.5.14-1+deb9u1
ii ucf 3.0036
Versions of packages tomcat8 recommends:
ii authbind 2.1.2
ii libtcnative-1 1.2.12-2
Versions of packages tomcat8 suggests:
ii tomcat8-admin 8.5.14-1+deb9u1
ii tomcat8-docs 8.5.14-1+deb9u1
ii tomcat8-examples 8.5.14-1+deb9u1
pn tomcat8-user <none>
-- debconf information:
tomcat8/username: tomcat8
tomcat8/groupname: tomcat8
tomcat8/javaopts: -Djava.awt.headless=true -XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode
More information about the pkg-java-maintainers
mailing list