<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
HI all,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In the log4j.properties file was configured:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><font color="#000000">log4j.appender.OC=org.apache.log4j.org.apache.log4j.DailyRollingFileAppender</font></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
changing this to</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><font color="#000000"><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><font color="#000000">log4j.appender.OC=</font></font>org.apache.log4j.DailyRollingFileAppender</font></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(same for the others)<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
solved the problem - this is a real class, that can be found <span id="🙂" title=":slight_smile:">
🙂</span><br>
</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
thanks for your help.</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
Kind regards,</div>
<div style="font-family: EmojiFont, Calibri, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
Paul<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> on behalf of Filip.Kratochvil@ibacz.eu <Filip.Kratochvil@ibacz.eu><br>
<b>Sent:</b> Tuesday, March 5, 2019 4:20 PM<br>
<b>To:</b> The OpenCms mailing list<br>
<b>Subject:</b> Re: [opencms-dev] OpenCMS 9.5 missing DailyRollingFileAppender - where does it look for?</font>
<div> </div>
</div>
<div><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
<div>Hi Paul,</div>
<div><br>
</div>
<div>try to check if the log file is present:</div>
<div>../WEB-INF/logs/opencms-search.log</div>
<div><br>
</div>
<div>When it's missing, create blank file (with appropriate rights).</div>
<div><br>
</div>
<div>Log appender "OCSearch" is set in the config file:</div>
<div>../WEB-INF/classes/log4j.properties<br>
<br>
S pozdravem / Kind regards<br>
<br>
Filip Kratochvil<br>
</div>
<br>
<font color="#990099">-----opencms-dev-bounces@opencms.org wrote: -----</font>
<div class="x_iNotesHistory" style="padding-left:5px">
<div style="padding-right:0px; padding-left:5px; border-left:solid black 2px">To: "opencms-dev@opencms.org" <opencms-dev@opencms.org><br>
From: Paul Edison <br>
Sent by: opencms-dev-bounces@opencms.org<br>
Date: 03/02/2019 04:12PM<br>
Subject: [opencms-dev] OpenCMS 9.5 missing DailyRollingFileAppender - where does it look for?<br>
<br>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><font color="#000000"><span>Dear all,<br>
</span>
<div><br>
</div>
<div>Currently I have some issues with the logging of my OpenCMS 9.5.0 instance.<br>
</div>
<div>In my error file I see something like this:<br>
</div>
<div>> log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].<br>
</div>
<div>> java.lang.ClassNotFoundException: org.apache.log4j.org.apache.log4j.DailyRollingFileAppender<br>
</div>
<div><br>
</div>
<div>> log4j:ERROR Could not instantiate appender named "OCSearch".<br>
</div>
<div>> log4j:WARN No appenders could be found for logger (org.opencms.init).<br>
</div>
<div>> log4j:WARN Please initialize the log4j system properly.<br>
</div>
<div><br>
</div>
<div>(see more below)<br>
</div>
<div><br>
</div>
<div>But OpenCMS seems to start up normally and don't have a problem - aside form not real logging.<br>
</div>
<div>Now My question is how do I get to know what artifact (JAR) is missing and where does OpenCMS it expect to be?<br>
</div>
<div>In the past it seems to be working fine.</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Paul<br>
</div>
<div><br>
</div>
<div>PS: It is running on Oracle WebLogic 12c<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].<br>
</div>
<div>java.lang.ClassNotFoundException: org.apache.log4j.org.apache.log4j.DailyRollingFileAppender<br>
</div>
<div>at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:264)<br>
</div>
<div>at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:62)<br>
</div>
<div>at java.lang.ClassLoader.loadClass(ClassLoader.java:357)<br>
</div>
<div>at java.lang.Class.forName0(Native Method)<br>
</div>
<div>at java.lang.Class.forName(Class.java:264)<br>
</div>
<div>at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178)<br>
</div>
<div>at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:317)<br>
</div>
<div>at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120)<br>
</div>
<div>at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:629)<br>
</div>
<div>at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)<br>
</div>
<div>at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)<br>
</div>
<div>at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)<br>
</div>
<div>at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)<br>
</div>
<div>at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)<br>
</div>
<div>at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)<br>
</div>
<div>at java.lang.Class.forName0(Native Method)<br>
</div>
<div>at java.lang.Class.forName(Class.java:348)<br>
</div>
<div><br>
</div>
<div>...<br>
</div>
<div><br>
</div>
<div>log4j:ERROR Could not instantiate appender named "OC".<br>
</div>
<div>log4j:ERROR Could not instantiate class [org.apache.log4j.org.apache.log4j.DailyRollingFileAppender].<br>
</div>
<div>java.lang.ClassNotFoundException: org.apache.log4j.org.apache.log4j.DailyRollingFileAppender<br>
</div>
<div>at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:264)<br>
</div>
<div>at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:62)<br>
</div>
<div>at java.lang.ClassLoader.loadClass(ClassLoader.java:357)<br>
</div>
<div>at java.lang.Class.forName0(Native Method)<br>
</div>
<div>at java.lang.Class.forName(Class.java:264)<br>
</div>
<div>...<br>
</div>
<div><br>
</div>
<div>at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)<br>
</div>
<div>at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)<br>
</div>
<div>at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)<br>
</div>
<div>at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)<br>
</div>
<div>at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)<br>
</div>
<div>at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)<br>
</div>
<div>log4j:ERROR Could not instantiate appender named "OCSearch".<br>
</div>
<div>log4j:WARN No appenders could be found for logger (org.opencms.init).<br>
</div>
<div>log4j:WARN Please initialize the log4j system properly.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Starting OpenCms, version 9.5.0 in web application "war"<br>
</div>
<div><br>
</div>
<div>Copyright (c) 2014 Alkacon Software GmbH<br>
</div>
<div>OpenCms comes with ABSOLUTELY NO WARRANTY<br>
</div>
<div>This is free software, and you are welcome to<br>
</div>
<div>redistribute it under certain conditions.<br>
</div>
<div>Please see the GNU Lesser General Public Licence for<br>
</div>
<div>further details.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Mar 02, 2019 1:54:34 AM org.apache.solr.core.CoreContainer <init><br>
</div>
<div>INFO: New CoreContainer 2065784126<br>
</div>
<div>Mar 02, 2019 1:54:34 AM org.apache.solr.core.CoreContainer load<br>
</div>
<div>....<br>
</div>
<div><br>
</div>
<span></span><br>
</font></div>
<div><font size="3" face="Courier New,Courier,monospace">_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</font></div>
</div>
</div>
<div><br>
<hr>
Disclaimer:<br>
<br>
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it.<br>
It may contain confidential or legally privileged information.<br>
If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful.<br>
If you have received this communication in error, please notify us immediately by forwarding this email to ict@ibacz.eu and then delete it from your system.<br>
IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.<br>
</div>
</font></div>
</div>
</body>
</html>