[ 
https://issues.apache.org/jira/browse/LOG4J2-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263362#comment-17263362
 ] 

Dejan edited comment on LOG4J2-2901 at 1/13/21, 8:23 AM:
---------------------------------------------------------

Hi all, 

I have re-tested this bug again with latest 2.14.0 version but I am 
experiencing still the same failure. Here some logs from my application:

DEBUG | wrapper | 2021/01/13 09:06:08 | command: "<Java-Path>\java.exe" 
-Di3s.configFilePath=etc -Dlog4j.configuration=file:etc/log4j2.properties 
-Dlog4j2.debug=true -Xms20m -Xmx500m -Djava.library.path="lib" -classpath 
"etc;lib/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar;lib/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar"
 <My startup class>
 DEBUG | wrapper | 2021/01/12 14:56:50 | JVM started (PID=16240)
 INFO | jvm 1 | 2021/01/12 14:56:51 | ERROR StatusLogger Reconfiguration 
failed: No configuration found for '30946e09' at 'null' in 'null'
 INFO | jvm 1 | 2021/01/12 14:56:51 | WrapperManager class initialized by 
thread: main Using classloader: 
jdk.internal.loader.ClassLoaders$AppClassLoader@30946e09

We are using Tanuki Wrapper to run application as a Java service. 

With version 2.11.2 works well but with 2.14.0.

 


was (Author: dmusic):
Hi all, 

I have re-tested this bug again with latest 2.14.0 version but I am 
experiencing still the same failure. Here some logs from my application:

DEBUG | wrapper | 2021/01/12 14:56:50 | command: "<my location>\java.exe" 
-Di3s.configFilePath=etc -Dlog4j.configuration=file:etc/log4j2.properties 
-Djava.library.path="lib" -classpath "etc;<all_my_libs>" ... <MyStartupClass>
DEBUG | wrapper | 2021/01/12 14:56:50 | JVM started (PID=16240)
INFO | jvm 1 | 2021/01/12 14:56:51 | ERROR StatusLogger Reconfiguration failed: 
No configuration found for '30946e09' at 'null' in 'null'
INFO | jvm 1 | 2021/01/12 14:56:51 | WrapperManager class initialized by 
thread: main Using classloader: 
jdk.internal.loader.ClassLoaders$AppClassLoader@30946e09

We are using Tanuki Wrapper to run application as a Java service. 

With version 2.11.2 works well but with 2.14.0.

 

> Reconfiguration failed during backend server startup
> ----------------------------------------------------
>
>                 Key: LOG4J2-2901
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2901
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: API, Core
>    Affects Versions: 2.14.0, 2.13.3
>            Reporter: Dejan
>            Priority: Blocker
>             Fix For: 2.14.0
>
>
> I upgraded both components from log4j-api an log4j-core from 2.11.2 to 2.13.3 
> and started getting weird errors during the startup of our backend services:
> ERROR StatusLogger Reconfiguration failed: No configuration found for 
> '2aae9190' at 'null' in 'null'
> As soon I switch back to 2.11.2 it starts working, and logs are created. The 
> error occurs during bootstrapping phase so it does not look like it is bound 
> to any other framework.
> log4j2 configuration is present and configured correctly as a properties 
> file. It is bootstrapped with -Dlog4j.configuration property. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to