-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
8.2.0.Final
-
None
This is more a question than a bug report. A Weld user run into this issue (see also WELD-1851) and we're not quite sure whether this is something that should work.
There are two separated applications: test-ejb-jar and test-war. test-ejb-jar contains persistence.xml descriptor. When test-war is referencing test-ejb-jar (either by means of jboss-deployment.xml, Dependencies manifest entry or by means of extension mechanism) the deployment of test-war fails, because a persistence unit is not found during injection.
Now the question is whether the "Library Support" only means access to classes and resources or classes, resources and descriptors. I believe it's the former but the EE spec is not clear.
- blocks
-
WELD-1851 Could not inject persistence unit into CDI managed bean. => When activating CDI for deployment with persistence context.
- Resolved