Bug#631667: tomcat7: startup crashes with java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory

Csillag Kristof csillag.kristof at gmail.com
Sat Jun 25 22:26:05 UTC 2011


Package: tomcat7
Version: 7.0.16-1
Severity: grave
Tags: sid
Justification: renders package unusable



Tomcat won't start up since latest (7.0.16) update.
Log says:

-----------
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:60)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program will exit.
----------

I have not touched log config.

Might be related to this change:

   https://issues.apache.org/bugzilla/show_bug.cgi?id=51249

Could you please check it?

Thank you:

   Kristos



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to hu_HU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat7 depends on:
ii  adduser                      3.112+nmu2  add and remove users and groups
ii  debconf [debconf-2.0]        1.5.36.1    Debian configuration management sy
ii  tomcat7-common               7.0.16-1    Servlet and JSP engine -- common f
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages tomcat7 recommends:
ii  authbind                      1.2.0      Allows non-root programs to bind()

Versions of packages tomcat7 suggests:
pn  tomcat-native                 <none>     (no description available)
ii  tomcat7-admin                 7.0.16-1   Servlet and JSP engine -- admin we
pn  tomcat7-docs                  <none>     (no description available)
pn  tomcat7-examples              <none>     (no description available)
ii  tomcat7-user                  7.0.16-1   Servlet and JSP engine -- tools to

-- Configuration Files:
/etc/logrotate.d/tomcat7 changed [not included]

-- debconf information:
  tomcat7/groupname: tomcat7
  tomcat7/username: tomcat7
  tomcat7/javaopts: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC





More information about the pkg-java-maintainers mailing list