Bug#300209: tomcat4: tomcat dies with "Parse error in default web.xml" after upgrade

Barry Hawkins Barry Hawkins <barry@bytemason.org>, 300209@bugs.debian.org
Fri Apr 8 03:54:02 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wolfgang Baer wrote:
> Kalle Kivimaa wrote:
> 
>> Wolfgang Baer <WBaer@gmx.de> writes:
[...]
>> If you can end up with the problem using simply apt-get, then it is a
>> real bug and needs to be fixed. I'm going to do it today, so if
>> somebody violently disagrees with this, please give your reasons soon
>> or roll back my change later (I'll just add the versioned dependency).
> 
> No disagree - but shouldn't we then also add a versioned dependency
> to libcommons-digester-java (>= 1.5.0.1-1). As we know from testing
> and unstable that these versions will work together ?
> 
> Not that we end up with another RC bug due to an "old"
> libcommons-digester-java library.
> 
>> A user _can_ choose to use some packages from the stable and some from
>> the unstable. He can also choose to use some from an older version of
>> stable.
[...]
Guys,
    I have committed a debian/control file for the tomcat4 package that
imposes both build (tomcat4 source) and runtime(tomcat4 binary)
dependencies the following library versions:

libcommons-digester-java >= 1.5.0.1
libcommons-collections-java >= 2.1.1
libcommons-beanutils-java >= 1.6.1
libcommons-logging-java >= 1.0.4

    This ensures that dependencies are satisfied for versions of the
upstream libraries that are required by Tomat as well as one another,
and ensures that the versions currently in testing are acceptable.
    If someone could please test this build on x86 and upload it, that
would be great.  I am out of town this week and it appears my DSL modem
has locked up at home, preventing me from accessing my x86 box on which
I normally build this.  I tried to build with
j2sdk1.3-blackdown/xmlParserAPIs.jar/xercesImpl.jar, but I get the
commons-dbcp-related error shown at the bottom of this message.  The
package has built previously with the Sun 1.4 JDK packages generated by
java-package without issue.

$ debuild -ICVS -us -uc
[...]
BUILD FAILED
/home/barryh/packages/tomcat4/tomcat4-4.1.31/build-tree/jakarta-tomcat-4.1.31-src/build.xml:67:
The following error occurred while executing this line:
java.lang.UnsupportedClassVersionError:
org/apache/commons/dbcp/ConnectionFactory (Unsupported major.minor
version 48.0)


Thanks,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCVf3FHuKcDICy0QoRAmu2AJ0cUrdBmZvCbLc3BYWb/+Qfpq0YmACguRhc
oODDR4wMb8oIzVc3YhDdhLc=
=swye
-----END PGP SIGNATURE-----