Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0, 2.1, 2.2
-
Fix Version/s: 2.3
-
Labels:None
Description
EJB clients are specified in an application.xml via
<module><java>pathTo.jar</java></module>
However the tests that use the "javaModule" element, do not generate the above entry as they should. In general the support for this is broken. Any jar with a "META-INF/application-client.xml" file should be added to the application.xml unless it is explicitly excluded via a <javaModule> entry with the <exclude>true</exclude> tag.
Your patch makes no sense. Those are 3rd party libs, not ejb-clients
NOTE: ejb-clients have their own type "ejb-client". So nothing is broken. If you have an ejb-client artifact, name it properly.