Thorsten Schöning
2018-07-31 16:06:27 UTC
Hi all,
I would like to get some attention on some older SO-question[1] about
where to place SPI-service files of Java.
Following the docs, those should be placed in META-INF at the top
level of some JAR and webapps designed to be used with Tomcat provide
such a folder. But it seems to be ignored during search for
SPI-service files, instead those seem to be assumed in
WEB-INF/classes/META-INF/services. The can easily be seen e.g. using
Process Monitor in Windows.
As the SO-question lacks some official Tomcat-documentation or such, I
am asking here: What is the correct place for such service files? Can
this be configured somehow? Why is META-INF at the top level ignored?
Is it used at all for anything or only WEB-INF/classes/META-INF for
anything which is normally assumed to be in META-INF itself?
Thanks!
[1]: https://stackoverflow.com/questions/7692497/tomcat-wont-load-my-meta-inf-services-javax-servlet-servletcontainerinitializ
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@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-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
I would like to get some attention on some older SO-question[1] about
where to place SPI-service files of Java.
Following the docs, those should be placed in META-INF at the top
level of some JAR and webapps designed to be used with Tomcat provide
such a folder. But it seems to be ignored during search for
SPI-service files, instead those seem to be assumed in
WEB-INF/classes/META-INF/services. The can easily be seen e.g. using
Process Monitor in Windows.
As the SO-question lacks some official Tomcat-documentation or such, I
am asking here: What is the correct place for such service files? Can
this be configured somehow? Why is META-INF at the top level ignored?
Is it used at all for anything or only WEB-INF/classes/META-INF for
anything which is normally assumed to be in META-INF itself?
Thanks!
[1]: https://stackoverflow.com/questions/7692497/tomcat-wont-load-my-meta-inf-services-javax-servlet-servletcontainerinitializ
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@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-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org