tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Error on startup catalina
Date Tue, 08 Jun 2010 19:10:41 GMT
2010/6/7 Sandro Gallo <>:
> Hi,
> I performed the steps suggested.
> Below are the results:
> 1) I have all search permissions for specified paths.

And for '/' and for '/Users' as well?

2) Please check, that your '/' (system root) directory does not have
some odd directories like 'org'. I have read once about problems
caused by that, but I do not remember what that problem was. It would
be strange if that were a problem. Just trying all straws.

3) Latest Java as offered by Sun/Oracle now is 1.6.0_20 (6u20).  I do
not know if that is available for Mac, but you may try updating. (I do
not own a Mac, so I do not really know how that is done).

If there are system means to verify your Java installation, or to
reinstall it, you may try them as well.

4) You may compare your Java installation with some one else's. There
might be some extra libraries added there, even if I doubt that.

>  at$

I think that the code there is

Resource res = ucp.getResource(path, false);
if (res != null) {
} else {
  throw new ClassNotFoundException(name);  // line 200 in JDK 6u06

I suppose that getResource(...) returned null somehow. Do not know
what might have caused it.

I think that for further tests we will need to write some Java code
and see if that code works and how.

> 2) I ran the command you mentioned:
> macmac:bin sandro$ pwd
> /Users/sandro/apache-tomcat-6.0.26/bin
> macmac:bin sandro$ java -classpath tomcat-juli.jar:bootstrap.jar
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=/Users/sandro/apache-tomcat-6.0.26/conf/
> -Dcatalina.home=/Users/sandro/apache-tomcat-6.0.26
> org.apache.catalina.startup.Bootstrap >>
> /Users/sandro/apache-tomcat-6.0.26/logs/catalina.out
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/juli/logging/LogFactory
>    at org.apache.catalina.startup.Bootstrap.<clinit>(
> Caused by: java.lang.ClassNotFoundException:
> org.apache.juli.logging.LogFactory
>    at$
>    at Method)
>    at
>    at sun.misc.Launcher$ExtClassLoader.findClass(
>    at java.lang.ClassLoader.loadClass(
>    at java.lang.ClassLoader.loadClass(
>    at java.lang.ClassLoader.loadClassInternal(
>    ... 1 more

For the next test you may unpack both bootstrap.jar and
tomcat-juli.jar into the same new empty directory and specify that
directory as the value of -classpath argument.

To unpack them, use a zip archiver,  or  jar -xf filename.
"jar -xf" will unpack the specified file into the current directory.

7) You may try  It contains the same files as tar.gz.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message