Unable to create "share.log"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 01:08 AM
Hi,
We are using Alfresco 23.2, everything looks OKAY, but in the catalina.out file some error are popping up.
A) main ERROR Unable to create file share.log java.io.IOException: Permission denied. Tomcat is running as alfresco:alfresco, I am logged in as alfresco, I can manually create the file. The "tomcat" directory has permission 775 applied, it was OKAY until someday back as I can see in it the last log written in it.
B) main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@153e3db3] unable to create manager for [share.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@5e971dad[pattern=share.log.%d{yyyy-MM-dd}, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=false)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %replace{%m}{[
]+}{}%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@153e3db3] unable to create manager for [share.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@5e971dad[pattern=share.log.%d{yyyy-MM-dd}, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=false)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %replace{%m}{[
]+}{}%n, filePermissions=null, fileOwner=null]]. This I believe is related to the previous one.
C) 2024-12-03 11:24:06,240 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender
D) 2024-12-03 11:24:06,244 main ERROR Null object returned for RollingFile in Appenders.
2024-12-03 11:24:06,245 main ERROR Unable to locate appender "RollingAppender" for logger config "root"
Despite these errors are there, the application is apparently running OK.
Any insights are highly appreciated.
Regards
- Labels:
-
Alfresco Content Services
