Bug#314364: tomcat4 - does not work with jdk1.3

Filip Van Raemdonck Filip Van Raemdonck <mechanix@debian.org>, 314364@bugs.debian.org
Wed Jun 15 22:26:02 2005


Package: tomcat4
Version: 4.1.31-3
Severity: serious

Hi,

I installed tomcat4 with jdk/jre 1.3 from blackdown packages. Tomcat did not
start and this was the top output from catalina_*.log:

[ERROR] Digester - Begin event threw error <java.lang.UnsupportedClassVersionError: org/apache/commons/modeler/BaseModelMBean (Unsupported major.minor version 48.0)>java.lang.UnsupportedClassVersionError: org/apache/commons/modeler/BaseModelMBean (Unsupported major.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        ...

Looking around for the "Unsupported major.minor" error message turned up
that this was for classes compiled with jdk 1.4 which are trying to be
loaded by jdk 1.3 or earlier.
Installing blackdown jdk 1.4 packages (which need an "unstable" dist line in
apt sources.list, other dists don't have them) makes the error go away.
Off course, there is still the missing -webapps startup issue then, but
that's another bug (which has been filed by others already)

Since tomcat dependencies state jdk 1.3 is sufficient, those dependencies
are clearly wrong :)


Regards,

Filip

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tomcat4 depends on:
ii  adduser                      3.63        Add and remove users and groups
ii  apache2-common               2.0.54-4    next generation, scalable, extenda
ii  apache2-utils [apache-utils] 2.0.54-4    utility programs for webservers
ii  j2re1.3 [java-virtual-machin 1.3.1.02b-2 Blackdown Java(TM) 2 Runtime Envir
ii  j2sdk1.3 [java-compiler]     1.3.1.02b-2 Blackdown Java(TM) 2 SDK, Standard
ii  libcommons-beanutils-java    1.6.1-4     utility for manipulating JavaBeans
ii  libcommons-collections-java  2.1.1-3     A set of abstract data type interf
ii  libcommons-digester-java     1.5.0.1-4   Rule based XML Java object mapping
ii  libcommons-logging-java      1.0.4-2     The commmon wrapper interface for 
ii  libtomcat4-java              4.1.31-3    Java Servlet engine -- core librar

-- no debconf information

-- 
[ The C functions select() and pselect() ]
"Their function is identical, with three differences: ..."
	-- Linux select (2) manpage