<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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);">
<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>
</div>
</body>
</html>