Dependencies from jboss-deployment-structure.xml are seen twice

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 6.4.9 and earlier

Issue

  • It looks like dependencies specified in jboss-deployment-structure.xml are seen twice. For instance, if we depend on a private module, we are warned about it twice. Or looking up a resource in a module may return two results instead of one.

Resolution

  • Await a fix in a later CP
  • Upgrade to EAP 7.0.0

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.