[WLS 12.1.3]-WAR Shared-Library Doesn't Merge Ejb-jar.xml And Weblogic-ejb-jar.xml

(Doc ID 2063133.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


On WLS 12.1.3,WAR Shared-Library doesn't merge ejb-jar.xml and weblogic-ejb-jar.xml

Given from the documentation that deployment descriptor should be merged 


However we notice below behavior and associated stack trace below

1) It doesn't merge ejb-jar.xml saying that they are duplicated
2) weblogic-ejb-jar.xml from the shared library is ignored instead of merged  

<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 

 weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found.
 at  weblogic.ejb.container.deployer.EjbModuleExtensionFactory.create(EjbModuleExtensionFactory.java:26)
 at  weblogic.application.internal.ExtensibleModuleWrapper.createModuleExtensions(E xtensibleModuleWrapper.java:264)
 at weblogic.application.internal.ExtensibleModuleWrapper.initDrivenObjectArray(ExtensibleModuleWrapper.java:232)
 at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:107)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms