I created a test project with an EJB module, a WAR module and an EAR module. The WAR module has an endpoint with an injection point:
I have a producer for this in the EJB module:
Finally, I added an extension that does nothing but listen to ProcessAnnotatedType. My CDI extension reference is this: https://docs.jboss.org/weld/reference/latest/en-US/html/extend.html
The application fails to start:
If I rename my-ejb/src/main/resources/services to services.bak, and comment out the implements Extension in the MyExtension class, it starts up fine. It seems adding the extension to the EJB causes Weld to not process the producer methods (see startup.log).