Package: jetty8
Version: 8.1.3-4
Severity: important

Dear Maintainer,
I think some files are missing from jetty8 package.

First of all, the official Jetty documentation talks about a context deployer 
which monitors the ${jetty.home}/contexts directory to hot deploy webapps 
configured using appropriate xml files. The jetty8 Debian package provides such 
a directory in etc/jetty8/contexts, also providing an example javadoc.xml file 
which should allow to deploy the Jetty javadoc provided by libjetty8-java-doc 
package. However, there's no jetty-*.xml file in /etc/jetty8 which configures 
the ContextDeployer (or rather the ContextProvider, see below).
The provided file /etc/jetty8/contexts/README.TXT says that the ContextDeployer 
is configured in jetty.xml configuration file, but if you look at the contents 
of this file you'll see this is not the case. Also, if you start jetty8 with 
all the default contents, a welcome page is displayed which points to the 
javadoc, but this link does not work at all (even if you install 
libjetty8-java-doc) because the ContextDeployer is not actually configured.
/etc/jetty8/jetty-plus.xml also says ContextDeployer is configured in jetty.xml.
/ety/jetty8/jetty-shared-webapps.xml configures just the WebAppDeployer, 
although a comment says: "see ContextDeployer above"... but it's not there, 

Also, reading the offical Jetty 8 documentation at, you'll see that 
WebAppProvider and ContextProvider should be used rather than WebAppDeployer 
and ContextDeployer, which are old and deprecated. So I would expect the Debian 
package to use the new classes, just like the official Jetty distribution ZIP 
file does (I checked that this was the case even in the old 8.1.3 distribution 
package, so it's not an issue with the old Jetty version packaged in Debian).

Another little error I saw is again in /etc/jetty8/jetty-shared-webapps.xml: 
the starting comment says that it configures Jetty to deploy webapps in 
/usr/share/java/webapps, but it should actually say /usr/share/jetty8/webapps.

Lastly, the for Jetty 8 is missing, because there isn't any 
package corresponding to libjetty-extra used for Jetty 6.

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.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.2.22-13
ii  default-jre-headless [java6-runtime-headless]    1:1.6-47
ii  libjetty8-java                                   8.1.3-4
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b27-1.12.6-1~deb7u1

jetty8 recommends no packages.

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

-- Configuration Files:
/etc/default/jetty8 changed:
JAVA_OPTIONS="-Xmx256m -Djava.awt.headless=true"

-- no debconf information

This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to