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

Michael Koch Michael Koch <konqueror@gmx.de>, 316580@bugs.debian.org
Mon Jul 4 14:54:01 2005


On Sat, Jul 02, 2005 at 03:48:47AM +0200, Andreas Kr=FCger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Package: tomcat4
> Version: 4.1.31-3
> Severity: normal
>=20
> I installed tomcat4 and tomcat4-admin on a Sarge machine.
>=20
> 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).
>=20
> I did not change anything and try to start tomcat.
>=20
> That did not work. In catalina_DATE.log, I received:
>=20
> 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)
>=20
> I checked /usr/share/doc/tomcat4, and a few tomcat4 bug reports
> on the debian bug tracking system.
>=20
> 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.
>=20
> So I uncommented lines in /etc/defaults/tomcat4,
> and disabled the security manager.
>=20
> Now tomcat came up nicely and displayed the (empty) directory content.
>=20
> It would be very nice if you came up with a configuration that allows
> tomcat to start "out of the box".

You are really suggesting to deactivate the security manager by default?
The bug is in kaffe not tomcat4. Tomcat4 works fine with other runtimes w=
ith
security manager enabled. The bug in kaffe is fixed in CVS and probably i=
n
unstable too. I cant check currently. This needs to be checked and this b=
ug
needs then get moved to kaffe and tagged "sarge".


Greetings,
Michael
--=20
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/