Follow-Up: I think I successfully created a 2-module war project reproducing the problem. Tried to create a bug report on Wildfly - permission denied :-/
Am Sa., 9. März 2024 um 13:29 Uhr schrieb Romain Manni-Bucau < rmannibu...@gmail.com>: > We can but wonder if it does not depend on wildfly version too but > ultimagely we could detect it is wildfly and not capture the same BM. > For standalone case it misses a web-inf/classes global BM so back to the > BDA issue. > By reflection you can always lookup the right one using CDI impl - forcing > caller class directly - but not sure it is good. > > Le sam. 9 mars 2024 à 13:15, Thomas Frühbeck <t.fruehb...@gmail.com> a > écrit : > > > One desperate step further and success?!? > > > > added apache-deltaspike.properties: > deltaspike.bean-manager.delegate_lookup > > = false > > Now all tests pass in partial-bean.impl for wildfly-build-managed! > > (But then the Weld-only tests fail, reason to be identified :-/ > > > > The difference I understand is to use the BeanManager passed > > to @AfterBeanDiscovery instead of CDI.current() > > > > Any ideas? > > Useful approach? > > Add a property for Wildfly to handle this? > > > >