[
https://issues.jboss.org/browse/WFLY-3971?page=com.atlassian.jira.plugin....
]
David Edwards commented on WFLY-3971:
-------------------------------------
This is causing me problems with bundling skinny WARs containing Spring Boot applications.
I have an example project showing my work arounds:
:https://github.com/purple52/spring-boot-ear-skinny-war. Adding your own META-INF/services
isn't a great solution, especially if the WARs in question are from an external
source. Is there a reason Wildfly doesn't use the full class path when looking for
SCIs?
I also see a further problem once a local SCI is added; the search for implementations of
WebApplicationInitializer only scans the common modules in my EAR's lib directory, not
the WAR files' WEB-INF/lib!
Jar Services in META-INF/services are not loaded from static modules
--------------------------------------------------------------------
Key: WFLY-3971
URL:
https://issues.jboss.org/browse/WFLY-3971
Project: WildFly
Issue Type: Feature Request
Components: Web (Undertow)
Affects Versions: 8.1.0.Final, 9.0.0.Final, 10.0.0.Alpha6
Reporter: Tomas Repel
Assignee: Stuart Douglas
If the web application (war) uses jar file from static module, the content of
META-INF/services has no effect. If the jar is located inside WEB-INF/lib, services are
loaded successfully.
Neither adding `Dependencies:
my.module.name.com services` into MANIFEST.MF nor adding
`services="import"` to jboss-deployment-structure.xml works.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)