[Solved] Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Rainer Jung
Am 22.11.2018 um 16:45 schrieb Rainer Jung: I have a problem running TC 7.0.92 with Log4J 1.2.17 and Java 11 when trying to load the config from ${catalina.base}/somedir/log4j.properties via server.loader=${catalina.base}/somedir in conf/catalina.properties. It works with Java 9 and 10 and it

Re: Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Romain Manni-Bucau
You mean the config in server and libs in common? Only tested with all in the same loader. Le jeu. 22 nov. 2018 19:52, Rainer Jung a écrit : > Hi Romain, hi all, > > are you sure you tried i as I described? Namely loading the config via a > server.loader path property newly defined in conf/catal

Re: Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Rainer Jung
Hi Romain, hi all, are you sure you tried i as I described? Namely loading the config via a server.loader path property newly defined in conf/catalina.properties? And of course I was using the juli and juli-adapters jar from the 7.0.92 extras download. I have another detail to report: it sta

Re: Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Romain Manni-Bucau
Hi Rainer, You are right, missed it was set OOTB. BTW, just tested on tomcat 7.0.92 with the log4j (v1.2.17) and its adapter (of the 8.0.53) and java 11.0.1+13-LTS and it works for me (base=home in my test). Romain Manni-Bucau @rmannibucau | Blog

Re: Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Rainer Jung
Hi Romain, Am 22.11.2018 um 16:53 schrieb Romain Manni-Bucau: Hi Rainer, did you open some java.base modules? like No, just the add-opens that we ship in our catalina.sh. --add-opens java.base/java.lang=log4j (not sure this is the one to open but I guess you can debug and identified missin

Re: Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Romain Manni-Bucau
Hi Rainer, did you open some java.base modules? like --add-opens java.base/java.lang=log4j (not sure this is the one to open but I guess you can debug and identified missing open this way - debugging java.lang.Module#isOpen(java.lang.String) for instance) Romain Manni-Bucau @rmannibucau

Problems running TC 7 with Log4J 1.2 and Java 11

2018-11-22 Thread Rainer Jung
Hi all, I have a problem running TC 7.0.92 with Log4J 1.2.17 and Java 11 when trying to load the config from ${catalina.base}/somedir/log4j.properties via server.loader=${catalina.base}/somedir in conf/catalina.properties. It works with Java 9 and 10 and it also works when using the common.l