Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Ralph Goers
We just released Log4j 2.17.2 last week. I wouldn’t expect the next release until sometime in April. But it all depends on how much gets done. Ralph > On Mar 8, 2022, at 7:39 AM, Pooja Pandey wrote: > > Hi Piotr, > > -> Could you tell us if you have any Log4j libraries in Tomcat's classpath

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
Hi Piotr, -> Could you tell us if you have any Log4j libraries in Tomcat's classpath (`lib` subfolder of Tomcat's installation folder)? I believe this is related to my pet bug applied to the plugin loader: I don't have log4j libraries in tomcat classpath. After adding those web, jcl, jul jars,

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
-> Use the Log4j 2 API instead of Log4j 1. That is the plan but due to time constraints for a while we want to upgrade using bridge. -Original Message- From: Gary Gregory Sent: Tuesday, March 8, 2022 6:57 PM To: Log4J Users List Subject: Re: Log4j1.x bridge error: Unable to create L

Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Piotr P. Karwasz
Hi, On Tue, Mar 8, 2022 at 7:48 AM Pooja Pandey wrote: > I am trying to migrate from log4j1.x to log4j2.17.2 using log4j1.x bridge > approach. I am getting below ClassCastException error message. Please let me > know if you have any idea how to fix this. > > 2022-03-08 01:41:17,023 http-nio-808

Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Gary Gregory
Use the Log4j 2 API instead of Log4j 1. Gary On Tue, Mar 8, 2022, 08:20 Pooja Pandey wrote: > -> Please consider the simpler long term path of updating your call sites > to the Log4j 2 API. > > I am sorry but I could not under what do you mean by above. An example > might help. > > -Origina

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
-> Please consider the simpler long term path of updating your call sites to the Log4j 2 API. I am sorry but I could not under what do you mean by above. An example might help. -Original Message- From: Gary Gregory Sent: Tuesday, March 8, 2022 6:21 PM To: Log4J Users List Subject: Re

Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Gary Gregory
Well done then ;-) Please consider the simpler long term path of updating your call sites to the Log4j 2 API. Gary Gary On Tue, Mar 8, 2022, 07:20 Pooja Pandey wrote: > -> What does your Log4j configuration file look like? > > I have figured adding log4j-web.jar into my libs fixes below issue

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
-> What does your Log4j configuration file look like? I have figured adding log4j-web.jar into my libs fixes below issue. I have added following 2 jars as well log4j-jcl.jar, log4j-jul.jar. -Original Message- From: Gary Gregory Sent: Tuesday, March 8, 2022 4:18 PM To: Log4J Users List

Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Gary Gregory
Hi Pooja, What does your Log4j configuration file look like? Gary On Tue, Mar 8, 2022, 01:48 Pooja Pandey wrote: > Hi, > > > I am trying to migrate from log4j1.x to log4j2.17.2 using log4j1.x bridge > approach. I am getting below ClassCastException error message. Please let > me know if you ha