java/177067: openjdk6-b27_2 bug
Achilleas Mantzios
achill at matrix.gatewaynet.com
Tue Mar 19 07:26:33 UTC 2013
This : 2localhost.org.apache.juli.FileHandler , rather denotes a "port" of tomcat/port bug rather than openjdk.
On Äåõ 18 Ìáñ 2013 11:24:43 Alex wrote:
>
> >Number: 177067
> >Category: java
> >Synopsis: openjdk6-b27_2 bug
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: freebsd-java
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: current-users
> >Arrival-Date: Mon Mar 18 11:30:00 UTC 2013
> >Closed-Date:
> >Last-Modified:
> >Originator: Alex
> >Release: 8.3-RELEASE
> >Organization:
> >Environment:
> FreeBSD test.example.org 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Sun Jun 24 14:15:24 MSK 2012 root at test.example.org:/usr/obj/usr/src/sys/CARP amd64
> >Description:
> After updating to openjdk6-b27_2 I found errors with logging in catalina.out at tomcat7:
>
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
> Can't load log handler "2localhost.org.apache.juli.FileHandler"
> java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler
> java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> at java.util.logging.LogManager$3.run(LogManager.java:654)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:641)
> at java.util.logging.LogManager.access$900(LogManager.java:150)
> at java.util.logging.LogManager$LoggerContext.addLogger(LogManager.java:437)
> at java.util.logging.LogManager$UserLoggerContext.demandLogger(LogManager.java:596)
> at java.util.logging.LogManager$LoggerContext.demandLogger(LogManager.java:475)
> at java.util.logging.Logger.getLogger(Logger.java:329)
> at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
> at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:196)
> at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
> at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:311)
> at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:452)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1102)
> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
>
> If I stop tomcat, I got this errors in logs:
>
> INFO: Stopping service Catalina
> Can't load log handler "1catalina.org.apache.juli.FileHandler"
> java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
> java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> at java.util.logging.LogManager$3.run(LogManager.java:654)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:641)
> at java.util.logging.LogManager.access$900(LogManager.java:150)
> at java.util.logging.LogManager$LoggerContext.addLogger(LogManager.java:437)
> at java.util.logging.LogManager$1.run(LogManager.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.<clinit>(LogManager.java:176)
> at java.util.logging.Logger.getLoggerContext(Logger.java:287)
> at java.util.logging.Logger.getLogger(Logger.java:328)
> at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
> at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:196)
> at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
> at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:242)
> at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:293)
> at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:60)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> at java.lang.Class.newInstance0(Class.java:374)
> at java.lang.Class.newInstance(Class.java:327)
> at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:190)
> Can't load log handler "1catalina.org.apache.juli.FileHandler"
> java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
> java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> at java.util.logging.LogManager$3.run(LogManager.java:654)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:641)
> at java.util.logging.LogManager.access$900(LogManager.java:150)
> at java.util.logging.LogManager$LoggerContext.addLogger(LogManager.java:437)
> at java.util.logging.LogManager$1.run(LogManager.java:201)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.<clinit>(LogManager.java:176)
> at java.util.logging.Logger.getLoggerContext(Logger.java:287)
> at java.util.logging.Logger.getLogger(Logger.java:328)
> at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
> at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:196)
> at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
> at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:242)
> at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:293)
> at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:60)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> at java.lang.Class.newInstance0(Class.java:374)
> at java.lang.Class.newInstance(Class.java:327)
> at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:190)
>
> >How-To-Repeat:
> Install openjdk6-b27_2, install tomcat7, try to start tomcat7 with default settings. Check logs/catalina.out for errors.
> >Fix:
> Revert back package from openjdk6-b27_2 to openjdk6-b27_1.
>
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
-
Achilleas Mantzios
IT DEV
IT DEPT
Dynacom Tankers Mgmt
More information about the freebsd-java
mailing list