tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kukulies <k...@kukulies.org>
Subject tomcat6.0.29 on debian lenny
Date Fri, 29 Oct 2010 08:51:45 GMT
I ran a tomcat 5.5 on an older debian formerly and after an upgrade to 
5.0.6 (debian lenny), my tomcat installation is messed up.
I'm running the tomcat behind an apache2 with some connectors. The mess 
must have to do something with the
(braindead imho) split up between /usr/share/tomcat5.5 and 
/usr/share/tomcat5.5-webapps.

Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball 
and installed it under /opt/tomcat,
wrote a little startup script that simply invoked bin/startup.sh resp. 
shutdown.

Didn't set any special environment variables like JAVA_HOME or CLASSPATH 
and I'm getting the following
in catalina.out (tomcat then dies after start):

WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' 
referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina/org/apache/juli/FileHandler,
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:235)
    at java.util.logging.LogManager.locateClass(LogManager.java:917)
    at java.util.logging.LogManager.createInstance(LogManager.java:846)
    at java.util.logging.LogManager.readConfiguration(LogManager.java:569)
    at java.util.logging.LogManager.readConfiguration(LogManager.java:529)
    at java.util.logging.LogManager.initLogManager(LogManager.java:203)
    at java.util.logging.LogManager.getLogManager(LogManager.java:168)
    at java.util.logging.Logger.getLogger(Logger.java:276)
    at java.util.logging.Logger.getLogger(Logger.java:224)
    at java.util.logging.Logger$1.run(Logger.java:91)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at java.util.logging.Logger.<clinit>(Logger.java:86)
    at 
gnu.java.security.jce.sig.SignatureAdapter.<clinit>(SignatureAdapter.java:78)
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:189)
    at gnu.java.security.provider.Gnu$1.run(Gnu.java:65)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at gnu.java.security.provider.Gnu.<init>(Gnu.java:55)
    at java.util.jar.JarFile.<clinit>(JarFile.java:117)
    at 
gnu.java.net.protocol.jar.Connection$JarFileCache.get(Connection.java:98)
    at gnu.java.net.protocol.jar.Connection.connect(Connection.java:140)
    at gnu.java.net.protocol.jar.Connection.getJarFile(Connection.java:169)
    at gnu.java.net.loader.JarURLLoader.initialize(JarURLLoader.java:85)
    at gnu.java.net.loader.JarURLLoader.<init>(JarURLLoader.java:76)
    at java.net.URLClassLoader.addURLImpl(URLClassLoader.java:387)
    at java.net.URLClassLoader.addURLs(URLClassLoader.java:418)
    at java.net.URLClassLoader.<init>(URLClassLoader.java:215)
    at java.lang.ClassLoader$1.<init>(ClassLoader.java:1099)
    at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:1099)
    at 
java.lang.ClassLoader.defaultGetSystemClassLoader(ClassLoader.java:1084)
    at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:404)
    at java.lang.ClassLoader$StaticData.<clinit>(ClassLoader.java:155)
    at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:799)
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
    at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
caused by java/lang/NullPointerException:
    at java.util.logging.Logger.addHandler (Logger.java:1017)
    at java.util.logging.LogManager.readConfiguration (LogManager.java:570)
    at java.util.logging.LogManager.readConfiguration (LogManager.java:529)
    at java.util.logging.LogManager.initLogManager (LogManager.java:203)
    at java.util.logging.LogManager.getLogManager (LogManager.java:168)
    at java.util.logging.Logger.getLogger (Logger.java:276)
    at java.util.logging.Logger.getLogger (Logger.java:224)
    at java.util.logging.Logger$1.run (Logger.java:91)
    at java.security.AccessController.doPrivileged 
(AccessController.java:96)
    at java.util.logging.Logger.<clinit> (Logger.java:86)
    at gnu.java.security.jce.sig.SignatureAdapter.<clinit> 
(SignatureAdapter.java:78)
    at java.lang.VMClass.forName (VMClass.java:native)
    at java.lang.Class.forName (Class.java:189)
    at gnu.java.security.provider.Gnu$1.run (Gnu.java:65)
    at java.security.AccessController.doPrivileged 
(AccessController.java:96)
    at gnu.java.security.provider.Gnu.<init> (Gnu.java:55)
    at java.util.jar.JarFile.<clinit> (JarFile.java:117)
    at gnu.java.net.protocol.jar.Connection$JarFileCache.get 
(Connection.java:98)
    at gnu.java.net.protocol.jar.Connection.connect (Connection.java:140)
    at gnu.java.net.protocol.jar.Connection.getJarFile (Connection.java:169)
    at gnu.java.net.loader.JarURLLoader.initialize (JarURLLoader.java:85)
    at gnu.java.net.loader.JarURLLoader.<init> (JarURLLoader.java:76)
    at java.net.URLClassLoader.addURLImpl (URLClassLoader.java:387)
    at java.net.URLClassLoader.addURLs (URLClassLoader.java:418)
    at java.net.URLClassLoader.<init> (URLClassLoader.java:215)
    at java.lang.ClassLoader$1.<init> (ClassLoader.java:1099)
    at java.lang.ClassLoader.createSystemClassLoader (ClassLoader.java:1099)
    at java.lang.ClassLoader.defaultGetSystemClassLoader 
(ClassLoader.java:1084)
    at java.lang.VMClassLoader.getSystemClassLoader (VMClassLoader.java:404)
    at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:155)
    at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' 
referenced by java.util.logging.manager, class not found
java.lang.ClassNotFoundException: org/apache/juli/ClassLoaderLogManager
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:235)
    at java.util.logging.LogManager.locateClass(LogManager.java:917)
    at java.util.logging.LogManager.createInstance(LogManager.java:846)
    at java.util.logging.LogManager.makeLogManager(LogManager.java:178)
    at java.util.logging.LogManager.getLogManager(LogManager.java:167)
    at java.util.logging.Logger.getLogger(Logger.java:276)
    at java.util.logging.Logger.getLogger(Logger.java:224)
    at java.util.logging.Logger$1.run(Logger.java:91)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at java.util.logging.Logger.<clinit>(Logger.java:86)
    at 
gnu.java.security.jce.sig.SignatureAdapter.<clinit>(SignatureAdapter.java:78)
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:189)
    at gnu.java.security.provider.Gnu$1.run(Gnu.java:65)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at gnu.java.security.provider.Gnu.<init>(Gnu.java:55)
    at java.util.jar.JarFile.<clinit>(JarFile.java:117)
    at 
gnu.java.net.protocol.jar.Connection$JarFileCache.get(Connection.java:98)
    at gnu.java.net.protocol.jar.Connection.connect(Connection.java:140)
    at gnu.java.net.protocol.jar.Connection.getJarFile(Connection.java:169)
    at gnu.java.net.loader.JarURLLoader.initialize(JarURLLoader.java:85)
    at gnu.java.net.loader.JarURLLoader.<init>(JarURLLoader.java:76)
    at java.net.URLClassLoader.addURLImpl(URLClassLoader.java:387)
    at java.net.URLClassLoader.addURLs(URLClassLoader.java:418)
    at java.net.URLClassLoader.<init>(URLClassLoader.java:215)
    at java.lang.ClassLoader$1.<init>(ClassLoader.java:1099)
    at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:1099)
    at 
java.lang.ClassLoader.defaultGetSystemClassLoader(ClassLoader.java:1084)
    at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:404)
    at java.lang.ClassLoader$StaticData.<clinit>(ClassLoader.java:155)
    at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:799)
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' 
referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina/org/apache/juli/FileHandler,
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:235)
    at java.util.logging.LogManager.locateClass(LogManager.java:917)
    at java.util.logging.LogManager.createInstance(LogManager.java:846)
    at java.util.logging.LogManager.readConfiguration(LogManager.java:569)
    at java.util.logging.LogManager.readConfiguration(LogManager.java:529)
    at java.util.logging.LogManager.initLogManager(LogManager.java:203)
    at java.util.logging.LogManager.getLogManager(LogManager.java:168)
    at java.util.logging.Logger.getLogger(Logger.java:276)
    at java.util.logging.Logger.getLogger(Logger.java:224)
    at java.util.logging.Logger$1.run(Logger.java:91)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at java.util.logging.Logger.<clinit>(Logger.java:86)
    at 
gnu.java.security.jce.sig.SignatureAdapter.<clinit>(SignatureAdapter.java:78)
    at java.lang.VMClass.forName(VMClass.java)
    at java.lang.Class.forName(Class.java:189)
    at gnu.java.security.provider.Gnu$1.run(Gnu.java:65)
    at java.security.AccessController.doPrivileged(AccessController.java:96)
    at gnu.java.security.provider.Gnu.<init>(Gnu.java:55)
    at java.util.jar.JarFile.<clinit>(JarFile.java:117)
    at 
gnu.java.net.protocol.jar.Connection$JarFileCache.get(Connection.java:98)
    at gnu.java.net.protocol.jar.Connection.connect(Connection.java:140)
    at gnu.java.net.protocol.jar.Connection.getJarFile(Connection.java:169)
    at gnu.java.net.loader.JarURLLoader.initialize(JarURLLoader.java:85)
    at gnu.java.net.loader.JarURLLoader.<init>(JarURLLoader.java:76)
    at java.net.URLClassLoader.addURLImpl(URLClassLoader.java:387)
    at java.net.URLClassLoader.addURLs(URLClassLoader.java:418)
    at java.net.URLClassLoader.<init>(URLClassLoader.java:215)
    at java.lang.ClassLoader$1.<init>(ClassLoader.java:1099)
    at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:1099)
    at 
java.lang.ClassLoader.defaultGetSystemClassLoader(ClassLoader.java:1084)
    at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:404)
    at java.lang.ClassLoader$StaticData.<clinit>(ClassLoader.java:155)
    at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:799)
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
    at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
caused by java/lang/NullPointerException:
    at java.util.logging.Logger.addHandler (Logger.java:1017)
    at java.util.logging.LogManager.readConfiguration (LogManager.java:570)
    at java.util.logging.LogManager.readConfiguration (LogManager.java:529)
    at java.util.logging.LogManager.initLogManager (LogManager.java:203)
    at java.util.logging.LogManager.getLogManager (LogManager.java:168)
    at java.util.logging.Logger.getLogger (Logger.java:276)
    at java.util.logging.Logger.getLogger (Logger.java:224)
    at java.util.logging.Logger$1.run (Logger.java:91)
    at java.security.AccessController.doPrivileged 
(AccessController.java:96)
    at java.util.logging.Logger.<clinit> (Logger.java:86)
    at gnu.java.security.jce.sig.SignatureAdapter.<clinit> 
(SignatureAdapter.java:78)
    at java.lang.VMClass.forName (VMClass.java:native)
    at java.lang.Class.forName (Class.java:189)
    at gnu.java.security.provider.Gnu$1.run (Gnu.java:65)
    at java.security.AccessController.doPrivileged 
(AccessController.java:96)
    at gnu.java.security.provider.Gnu.<init> (Gnu.java:55)
    at java.util.jar.JarFile.<clinit> (JarFile.java:117)
    at gnu.java.net.protocol.jar.Connection$JarFileCache.get 
(Connection.java:98)
    at gnu.java.net.protocol.jar.Connection.connect (Connection.java:140)
    at gnu.java.net.protocol.jar.Connection.getJarFile (Connection.java:169)
    at gnu.java.net.loader.JarURLLoader.initialize (JarURLLoader.java:85)
    at gnu.java.net.loader.JarURLLoader.<init> (JarURLLoader.java:76)
    at java.net.URLClassLoader.addURLImpl (URLClassLoader.java:387)
    at java.net.URLClassLoader.addURLs (URLClassLoader.java:418)
    at java.net.URLClassLoader.<init> (URLClassLoader.java:215)
    at java.lang.ClassLoader$1.<init> (ClassLoader.java:1099)
    at java.lang.ClassLoader.createSystemClassLoader (ClassLoader.java:1099)
    at java.lang.ClassLoader.defaultGetSystemClassLoader 
(ClassLoader.java:1084)
    at java.lang.VMClassLoader.getSystemClassLoader (VMClassLoader.java:404)
    at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:155)
    at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)


Could it be, that sun-java6-jre and jdk are not being recognized or found?
It seems there is still kaffee java active, although I installed (sun 
java6).

-- 
Christoph P.U. Kukulies


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message