In previous versions of JBoss EAP 6, some jar libraries in WEB-INF/lib contained a manifest with a Class-Path attribute that contained "." as an entry.
This issue caused some resources or components get processed twice, causing warnings in the log.
This release of the product ignores "." entries in Class-Path manifest attributes so resources are no longer processed twice.
'JBAS011046: A component named
'TestBean' is already defined in this module', I have narrowed it
down to it occurs if they have a jar manifest with Class-Path: .
It looks like when deploying it looks at the jar with the manifest
entry which then must be having it scan the jar containing the EJB
again and failing.
Having the Class-Path: . doesn't really make sense to me, however it
also seems like we should not be trying to deploy it twice.
It appears ManifestClassPathProcessor ignores the . when the Class-Path is in a jar at the root of an ear but not when the jar is in a war's WEB-INF/lib
The fix skips . and it's present in the delivered bits, VERIFIED.