Guten Tag Mark Thomas,
am Dienstag, 31. Juli 2018 um 19:30 schrieben Sie:

> Correct.[...]

But as could have been read in the following paragraph of my mail and
the SO-link, it doesn't work that way at least in Tomcat 7.0.90 even
without absolute ordering in web.xml.

> Enumeration<URL> resources;
> if (loader == null) {
>     resources = ClassLoader.getSystemResources(configFile);
> } else {
>    resources = loader.getResources(configFile);
> }

https://github.com/apache/tomcat/blob/trunk/java/org/apache/catalina/startup/WebappServiceLoader.java#L132

That code is NOT using "META-INF/services" at the top level of the web
project, but "WEB-INF/classes/META-INF/services" instead. That can be
clearly seen e.g. using Process Monitor.

So is this a bug or needs some configuration or has changed in newer
versions of Tomcat or whatever?

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to