Hi, I've found an issue with deployment of WARs wrapped inside an EAR: CDI beans located under [WEB-MODULE]/WEB-INF/classes inside the WAR are not deployed; It seems that the CDIScanner in this case seems to use the ClassLoader of the AppModule, but the path to the WAR beans is only registered to the ClassLoader of the WebModule. Hence, the CDI classes are ignored by the CDIScanner (see org.apache.openejb.cdi.CDIScanner, line 174 in rev1377287)
Best regards, Johannes -- View this message in context: http://openejb.979440.n4.nabble.com/Deployment-of-CDI-beans-does-not-work-for-WARs-wrapped-in-an-EAR-tp4657110.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
