Bug#323596: tomcat4: Does not start

Jim Lynch k4gvo at qsl.net
Wed Aug 17 13:19:06 UTC 2005


Package: tomcat4
Version: 4.1.31-3
Severity: important

I installed tomcat4 and a number of other suggested and recommeded
packages but it fails to start with the following messages:

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 then installed Sun's java 1.4 and set the java home in the
/etc/default/tomcat4 file to point to /usr/java/j2sdk1.4.2_09

And received the following error:

Using CATALINA_BASE:   /var/lib/tomcat4
Using CATALINA_HOME:   /usr/share/tomcat4
Using CATALINA_TMPDIR: /var/lib/tomcat4/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.2_09
Using Security Manager
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

I then attempted to compile a small java program with 1.4 and got the
same message from the compiler.  For some reason the Sun java package
isn't working.  I used the rpm file and alien to generate a deb package
which I installed.  However, the real problem is that a "default"
install of tomcat and some recommended and suggested packages don't
result in a successful tomcat installation.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

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  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




More information about the pkg-java-maintainers mailing list