Bug#316580: tomcat4 with kaffe and security manager does not start

Andreas Krüger Andreas Krüger <andreas.krueger@famsik.de>, 316580@bugs.debian.org
Sat Jul 2 02:09:03 2005


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

Package: tomcat4
Version: 4.1.31-3
Severity: normal

I installed tomcat4 and tomcat4-admin on a Sarge machine.

That machine is a server and has few other software
packages installed. In particular, the tomcat4 installation
caused aptitude to install a host of other packages
(I did not fully analyse what decisions aptitude made).

I did not change anything and try to start tomcat.

That did not work. In catalina_DATE.log, I received:

Using CATALINA_BASE:   /var/lib/tomcat4
Using CATALINA_HOME:   /usr/share/tomcat4
Using CATALINA_TMPDIR: /var/lib/tomcat4/temp
Using JAVA_HOME:       /usr/lib/kaffe
Using Security Manager
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
        at
java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)

I checked /usr/share/doc/tomcat4, and a few tomcat4 bug reports
on the debian bug tracking system.

One bug report suggested to remove the documentation stance from the
server.xml, so I did that.  I also removed the Apache connector, which
I'm not needing for my setup. - Same error, tomcat again does not start.

So I uncommented lines in /etc/defaults/tomcat4,
and disabled the security manager.

Now tomcat came up nicely and displayed the (empty) directory content.

It would be very nice if you came up with a configuration that allows
tomcat to start "out of the box".

Regards,

and thank you for providing fine software

Andreas

- -- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.30-vd1
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  apache-utils                  1.3.33-6   utility programs for webservers (t
ii  apache2-utils [apache-utils]  2.0.54-4   utility programs for webservers
ii  jikes-gij [java-compiler]     1:1.22-2   Wrapper for jikes using GNU GIJ cl
ii  kaffe                         2:1.1.5-3  A JVM to run Java bytecode
ii  kaffe-pthreads [kaffe]        2:1.1.5-3  A POSIX threads enabled version of
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCxfJ8nWrlKaIH40ARAgk4AJ9oydE1GU8E9sGnDFK3j7vjgbx5NgCgpxmM
wiqmE84Gy9PP+beJziw0zJc=
=AGDg
-----END PGP SIGNATURE-----