Bug#405851: jetty: Jetty start script doesn't find Sun JDK moved to /usr/lib/jvm

Juergen Stuber juergen at jstuber.net
Sat Jan 6 18:58:00 UTC 2007


Package: jetty
Version: 5.1.10-2
Severity: normal

Hi,

the Jetty start script /etc/init.d/jetty didn't find the Sun Java SDK
and used kaffe instead, which broke a Cocoon webapp for me:

org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. 
   at org.apache.xerces.dom.CoreDOMImplementationImpl.createLSParser (source file unknown)
   at gnu.xml.dom.DomDocumentBuilderFactory.newDocumentBuilder (DomDocumentBuilderFactory.java:87)
   at org.apache.excalibur.xml.impl.JaxpParser.setupDocumentBuilder (JaxpParser.java:416)


It seems the Sun Java SDKs were moved from /usr/lib to /usr/lib/jvm
(and their names were also changed in the process).


Cheers

Jürgen


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-0
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages jetty depends on:
ii  adduser                     3.100        Add and remove users and groups
ii  ant                         1.6.5-6      Java based build tool like make
ii  apache2-utils               2.2.3-3.2    utility programs for webservers
ii  eclipse-javac [java2-compil 2.1.3-4      Eclipse Java compiler and ant plug
ii  gij [java-virtual-machine]  4:4.1.1-13   The GNU Java bytecode interpreter
ii  gij-3.3 [java-virtual-machi 1:3.3.6-7    The GNU Java bytecode interpreter
ii  gij-4.0 [java-virtual-machi 4.0.3-2      The GNU Java bytecode interpreter
ii  gij-4.1 [java2-runtime]     4.1.1-17     The GNU Java bytecode interpreter
ii  jikes                       1:1.22-6     Fast Java compiler adhering to lan
ii  kaffe                       2:1.1.7-4    A JVM to run Java bytecode
ii  kaffe-jthreads [kaffe]      2:1.1.7-4    A green threads enabled version of
ii  kaffe-pthreads [kaffe]      2:1.1.7-4    A POSIX threads enabled version of
ii  libcommons-logging-java     1.0.4-5      commmon wrapper interface for seve
ii  libmx4j-java                2.1.1-4      An open source implementation of t
ii  libservlet2.4-java          5.0.30-3     Servlet 2.4 and JSP 2.0 Java class
ii  libtomcat5-java             5.0.30-12    Java Servlet engine -- core librar
ii  libxerces2-java             2.8.1-1      Validating XML parser for Java wit
ii  sablevm [java-virtual-machi 1.13-1.1     Free implementation of Java Virtua
ii  sun-java5-jre [java2-runtim 1.5.0-10-1.1 Sun Java(TM) Runtime Environment (

jetty recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list