[opencms-dev] opencms-dev Digest, Vol 371, Issue 4
Roman Arkhipov
roman.arkhipov at virtual-identity.com
Mon Mar 4 08:32:11 CET 2019
Hello Paul,
At first glance it looks like very strange name of package "org.apache.log4j.org.apache.log4j.DailyRollingFileAppender", e.g. I have it like "org.apache.log4j.DailyRollingFileAppender", https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/package-summary.html
Please check it first.
Best,
Roman Arkhipov
-----Original Message-----
From: opencms-dev-bounces at opencms.org <opencms-dev-bounces at opencms.org> On Behalf Of opencms-dev-request at opencms.org
Sent: Sonntag, 3. März 2019 12:00
To: opencms-dev at opencms.org
Subject: opencms-dev Digest, Vol 371, Issue 4
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..."
Today's Topics:
1. OpenCMS 9.5 missing DailyRollingFileAppender - where does it
look for? (Paul Edison)
----------------------------------------------------------------------
Message: 1
Date: Sat, 2 Mar 2019 15:11:16 +0000
From: Paul Edison <paul.finnedison at outlook.com>
To: "opencms-dev at opencms.org" <opencms-dev at opencms.org>
Subject: [opencms-dev] OpenCMS 9.5 missing DailyRollingFileAppender -
where does it look for?
Message-ID:
<VI1PR0902MB2174800BE538753AF1F84523EF770 at VI1PR0902MB2174.eurprd09.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear all,
Currently I have some issues with the logging of my OpenCMS 9.5.0 instance.
In my error file I see something like this:
> log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].
> java.lang.ClassNotFoundException:
> org.apache.log4j.org.apache.log4j.DailyRollingFileAppender
> log4j:ERROR Could not instantiate appender named "OCSearch".
> log4j:WARN No appenders could be found for logger (org.opencms.init).
> log4j:WARN Please initialize the log4j system properly.
(see more below)
But OpenCMS seems to start up normally and don't have a problem - aside form not real logging.
Now My question is how do I get to know what artifact (JAR) is missing and where does OpenCMS it expect to be?
In the past it seems to be working fine.
Regards,
Paul
PS: It is running on Oracle WebLogic 12c
log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].
java.lang.ClassNotFoundException: org.apache.log4j.org.apache.log4j.DailyRollingFileAppender
at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:264)
at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264)
at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:317)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:629)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348)
...
log4j:ERROR Could not instantiate appender named "OC".
log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].
java.lang.ClassNotFoundException: org.apache.log4j.org.apache.log4j.DailyRollingFileAppender
at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:264)
at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264)
...
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
log4j:ERROR Could not instantiate appender named "OCSearch".
log4j:WARN No appenders could be found for logger (org.opencms.init).
log4j:WARN Please initialize the log4j system properly.
Starting OpenCms, version 9.5.0 in web application "war"
Copyright (c) 2014 Alkacon Software GmbH OpenCms comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions.
Please see the GNU Lesser General Public Licence for further details.
Mar 02, 2019 1:54:34 AM org.apache.solr.core.CoreContainer <init>
INFO: New CoreContainer 2065784126
Mar 02, 2019 1:54:34 AM org.apache.solr.core.CoreContainer load ....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20190302/d917ae1c/attachment-0001.html>
------------------------------
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
End of opencms-dev Digest, Vol 371, Issue 4
*******************************************
Roman Arkhipov
Developer
Virtual Identity AG
Grünwälderstraße 10-14
79098 Freiburg
t +49 761 20758-465
f +49 761 20758-01
m --
roman.arkhipov at virtual-identity.com
http://www.virtual-identity.com
Freiburg | München | Wien | Porto
________________________________
Virtual Identity AG
Grünwälderstraße 10-14
79098 Freiburg
Amtsgericht Freiburg, HRB 6218
Vorstand: Ralf Heller
Vorsitzende des Aufsichtsrates: Kirsten Heller
Umsatzsteuer-ID: DE208002218
More information about the opencms-dev
mailing list