My Oracle Support Banner

Weblogic.appmerge Build Fails with "XmlException: failed to load java type corresponding to e=communities-config@http://www.bea.com/ns/portal/90/communities-config" for a WebLogic Portal (WLP) Application (Doc ID 1549773.1)

Last updated on JULY 23, 2018

Applies to:

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

Symptoms

The weblogic.appmerge tool throws the following exception for a WebLogic Portal (WLP) application:

[appmerge] <17 avr. 2013 15 h 45 CEST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\ARPEGE\tmp\appc_libraries\wlp-framework-fu
ll-app-lib\6yfeuk/META-INF/communities-config.xml of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
[appmerge]     at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
[appmerge]     at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:411)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2._mergeDescriptors(AbstractDescriptorLoader2.java:547)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptors(AbstractDescriptorLoader2.java:459)
[appmerge]     at weblogic.application.config.ConfigDescriptorManager.parseMergedDescriptorBean(ConfigDescriptorManager.java:120)
[appmerge]     at weblogic.application.config.DefaultEARModule.merge(DefaultEARModule.java:128)
[appmerge]     at weblogic.application.compiler.flow.CustomModuleFlow.initCustomModules(CustomModuleFlow.java:74)
[appmerge]     at weblogic.application.compiler.flow.CustomModuleFlow.initCustomModules(CustomModuleFlow.java:45)
[appmerge]     at weblogic.application.compiler.flow.CustomModuleFlow.compile(CustomModuleFlow.java:27)
[appmerge]     at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[appmerge]     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
[appmerge]     at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[appmerge]     at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
[appmerge]     at weblogic.application.compiler.EARMerger.merge(EARMerger.java:61)
[appmerge]     at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
[appmerge]     at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
[appmerge]     at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[appmerge]     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
[appmerge]     at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[appmerge]     at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
[appmerge]     at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
[appmerge]     at weblogic.utils.compiler.Tool.run(Tool.java:158)
[appmerge]     at weblogic.utils.compiler.Tool.run(Tool.java:115)
[appmerge]     at weblogic.application.compiler.AppMerge.main(AppMerge.java:190)
[appmerge]     at weblogic.ant.taskdefs.j2ee.AppMergeTask.runAppMerge(AppMergeTask.java:108)
[appmerge]     at weblogic.ant.taskdefs.j2ee.AppMergeTask.execute(AppMergeTask.java:102)
[appmerge]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[appmerge]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[appmerge]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[appmerge]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[appmerge]     at java.lang.reflect.Method.invoke(Method.java:597)
[appmerge]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[appmerge]     at org.apache.tools.ant.Task.perform(Task.java:348)
[appmerge]     at org.apache.tools.ant.Target.execute(Target.java:357)
[appmerge]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
[appmerge]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[appmerge]     at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[appmerge]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[appmerge]     at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[appmerge]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
[appmerge]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
[appmerge]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[appmerge]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[appmerge] Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=communities-config@http://www.bea.com/ns/portal/90/communities-config
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:371)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:326)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:336)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:317)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:168)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[appmerge]     at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
[appmerge]     ... 46 more
[appmerge] .>
[appmerge] com.bea.xml.XmlException: failed to load java type corresponding to e=communities-config@http://www.bea.com/ns/portal/90/communities-config
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:371)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:326)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:336)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:317)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:168)
[appmerge]     at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[appmerge]     at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
[appmerge]     at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
[appmerge]     at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)

 

Cause

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
Symptoms
Cause
Solution
References


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