Hi I have an EAR file that contains 2 WARs
Only the beans in 1 war are ever loaded. Both have a beans.xml in their WEB-INF folders
1 war works fine, the other doesn't.
I can then remove the beans.xml from the war that works, only leaving beans.xml in the one that previously didn't work, restart and now this war works fine.
They both work independently, but not together.
Can I have multiple war files (using CDI) in an ear ?
Im using jboss6
Many thanks for you help
So far I've experienced Weld with EAR deployment to be a bit of a gray area. Not that I blame Weld - class loaders in an EAR deployment with multiple WARs is a bit complex.
|Retrieving data ...|