public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/29869]  New: LogManager class loading failure with Tomcat
@ 2006-11-16 12:56 marcus at better dot se
  2006-12-08 11:38 ` [Bug libgcj/29869] " twisti at complang dot tuwien dot ac dot at
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: marcus at better dot se @ 2006-11-16 12:56 UTC (permalink / raw)
  To: gcc-bugs

I'm trying to run Tomcat 5.5 with gij. It tries to load a log manager through
the java.util.logging.manager property. Apparently the class loading code in
java.util.logging.LogManager fails to load the correct class, even though it is
on the classpath. The exact same invocation with Sun JDK works correctly.

$ /usr/lib/jvm/java-gcj/bin/java
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/home/marcus/apache-tomcat-5.5.20/conf/logging.properties
-Djava.endorsed.dirs=/home/marcus/apache-tomcat-5.5.20/common/endorsed
-classpath
:/home/marcus/apache-tomcat-5.5.20/bin/bootstrap.jar:/home/marcus/apache-tomcat-5.5.20/bin/commons-logging-api.jar:/home/marcus/apache-tomcat-5.5.20/bin/tomcat-juli.jar
-Dcatalina.base=/home/marcus/apache-tomcat-5.5.20
-Dcatalina.home=/home/marcus/apache-tomcat-5.5.20
-Djava.io.tmpdir=/home/marcus/apache-tomcat-5.5.20/temp
org.apache.catalina.startup.Bootstrap start
WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' referenced
by java.util.logging.manager, class not found
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager not
found
   <<No stacktrace available>>
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,'
referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,
   <<No stacktrace available>>
Exception during runtime initialization
java.lang.ExceptionInInitializerError
   <<No stacktrace available>>
Caused by: java.lang.NullPointerException
   <<No stacktrace available>>

This is with a Tomcat 5.5.20 binary distribution from http://tomcat.apache.org,
and gij on Debian i386:

A workaround is to disable the java.util.logging.manager property. Tomcat
appears to run correctly then.

$ gij --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061020 (prerelease) (Debian 4.1.1-17)


-- 
           Summary: LogManager class loading failure with Tomcat
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at better dot se
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29869


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-03-30 17:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-16 12:56 [Bug libgcj/29869] New: LogManager class loading failure with Tomcat marcus at better dot se
2006-12-08 11:38 ` [Bug libgcj/29869] " twisti at complang dot tuwien dot ac dot at
2006-12-12 20:31 ` tromey at gcc dot gnu dot org
2006-12-12 21:25 ` twisti at complang dot tuwien dot ac dot at
2007-03-29 16:49 ` tromey at gcc dot gnu dot org
2007-03-29 17:11 ` marcus at better dot se
2007-03-29 17:43 ` tromey at gcc dot gnu dot org
2007-03-30  4:10 ` tromey at gcc dot gnu dot org
2007-03-30  4:12 ` tromey at gcc dot gnu dot org
2007-03-30  4:14 ` cvs-commit at developer dot classpath dot org
2007-03-30  4:35 ` tromey at gcc dot gnu dot org
2007-03-30 17:58 ` cvs-commit at developer dot classpath dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).