Re: [PAX-WEB] Warning "failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath"

2021-02-13 Thread Jean-Baptiste Onofré
Hi, I would check the TCCL and the import. It’s hard to say without knowing the weaving. Regards JB > Le 13 févr. 2021 à 16:18, Alain Picard a > écrit : > > Bonjour Jean-Baptiste, > > This is not running under Karaf, just running as a standard PDE OSGi project > and it is using Pax Web (7.

Re: [PAX-WEB] Warning "failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath"

2021-02-13 Thread Alain Picard
Bonjour Jean-Baptiste, This is not running under Karaf, just running as a standard PDE OSGi project and it is using Pax Web (7.2..21) with Jetty (9.4.36) Here's a small snippet of the log, with some failed, 1 success and 1 skipped. 09:18:11.955 [paxweb-config-1-thread-1] ::: INFO o.o.p.w.u.S

Re: [PAX-WEB] Warning "failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath"

2021-02-13 Thread Jean-Baptiste Onofré
Hi Alain, Are you using Karaf or you are running it on your own ? That would be great if you describe a bit the environment, especially which Pax projects are you using (pax logging, pax web, …). Regards JB > Le 13 févr. 2021 à 14:48, Alain Picard a > écrit : > > I am getting a few hundred

[PAX-WEB] Warning "failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath"

2021-02-13 Thread Alain Picard
I am getting a few hundred of these in my log. I have found and read the following post from 2015 but that is not really answering the question. First it would be great to update the log message to provide some context like: log.warn("failed to

Re: Switching request log to logback access for Jetty

2021-02-13 Thread Alain Picard
Well I got it working with the following: @Activate private void activate(BundleContext context) { log.trace("Activating {}", getClass()); //$NON-NLS-1$ Optional.ofNullable(irisConfig) .map(config -> config.getValue(ConfigConstants.NCSA_LOG_CONFIG)) .ifPresentOrElse(logName -> {