Bug#767612: jetty8 should not create /var/lib/jetty8/webapps/root on update

Stephan Wienczny debian at wienczny.de
Sat Nov 1 13:16:44 UTC 2014


Package: jetty8
Version: 8.1.16-3
Severity: important

Dear Maintainer,

when deploying a webapp to root context using "by naming convention", updates
will break your setup. To use this setup you have to remove 
"/var/lib/jetty/webapps/root". This is caused by jetty8s preference for the 
"root" directory instead of "root.war". On update the jetty8 package recreates
"/var/lib/jetty/webapps/root" which causes the "root.war" to be ignored and
rendering your setup broken.
I would suggest packaging to be changed slightly:
1. Move "/var/lib/jetty/webapps/root" to "/usr/lib/jetty8/webapps-root"
2. Create a root.xml in "/etc/jetty8/contexts" which configures a root context 
   to "/usr/lib/jetty8/webapps-root"
This way a configured root context will not be broken by updates. Deploying 
them requires slightly more configuration.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jetty8 depends on:
ii  adduser                                          3.113+nmu3
ii  apache2-utils                                    2.4.10-6
ii  default-jre-headless [java6-runtime-headless]    2:1.7-52
ii  libjetty8-extra-java                             8.1.16-3
ii  libjetty8-java                                   8.1.16-3
ii  openjdk-7-jre-headless [java6-runtime-headless]  7u65-2.5.2-4

Versions of packages jetty8 recommends:
ii  authbind  2.1.1

Versions of packages jetty8 suggests:
pn  libjetty8-java-doc  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list