My Oracle Support Banner

[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 APRIL 13, 2018

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(
 at  weblogic.application.internal.ExtensibleModuleWrapper.createModuleExtensions(E
 at weblogic.application.internal.ExtensibleModuleWrapper.initDrivenObjectArray(
 at weblogic.application.internal.ExtensibleModuleWrapper.prepare(


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.