Deployment Failed With ORABPEL-09705 Could Not Initialize Variable, MDS-00013: No Metadata Found For Metadata Object "/deployed-composites/test_rev1.0/WSDLs/ers.xsd", ORABPEL-05215 Error While Loading Process. (Doc ID 2280633.1)

Last updated on AUGUST 09, 2017

Applies to:

Oracle SOA Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

When trying to deploy a simple BPEL that exposes a web service based on an XSD file containing the input and output types of the service, the below error is seen.

ERROR
-----------------------

<Jun 19, 2017, 7:42:02,769 AM BRT> <Warning> <oracle.fabric.common.wsdl> <BEA-000000> <Schema load failed due to: Error loading schema from oramds:/deployed-composites/test_rev1.0/WSDLs/test.wsdl [Cause=Error in getting XML input stream: oramds:/deployed-composites/test_rev1.0/WSDLs/ers.xsd: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/deployed-composites/test_rev1.0/WSDLs/ers.xsd"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=soa-infra repository-name=mds-soa partition-name=soa-infra] ]>
<Jun 19, 2017, 7:42:02,772 AM BRT> <Warning> <oracle.fabric.common.wsdl> <BEA-000000> <Failed to build the schema model for: http://server.name.com/test due to: Error loading schema from oramds:/deployed-composites/test_rev1.0/WSDLs/CiscoISE.wsdl [Cause=Error in getting XML input stream: oramds:/deployed-composites/test_rev1.0/WSDLs/ers.xsd: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/deployed-composites/test_rev1.0/WSDLs/ers.xsd"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=soa-infra repository-name=mds-soa partition-name=soa-infra] ]>
<Jun 19, 2017, 7:42:02,773 AM BRT> <Error> <oracle.soa.bpel.engine.compiler> <BEA-000000> <Error loading schema from oramds:/deployed-composites/test_rev1.0/WSDLs/test.wsdl [Cause=Error in getting XML input stream: oramds:/deployed-composites/test_rev1.0/WSDLs/ers.xsd: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/deployed-composites/test_rev1.0/WSDLs/ers.xsd"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=soa-infra repository-name=mds-soa partition-name=soa-infra] ]>
<Jun 19, 2017, 7:42:02,801 AM BRT> <Error> <oracle.soa.bpel.engine.deployment> <BEA-000000> <Exception while loading process
ORABPEL-09705

Could not initialize variable.
An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://server.name.com/test}TEST_Input in the following schemas: oracle.fabric.common.wsdl.SchemaManager@451508d9.
The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
Ensure that the element named in the error message is valid in the XSD or the WSDL.

at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:443)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2VariableInitializer.generateElement(BPEL2VariableInitializer.java:484)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2VariableInitializer.genMessageValue(BPEL2VariableInitializer.java:110)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2VariableInitializer.generateDefaultVariableValue(BPEL2VariableInitializer.java:258)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2VariableInitializer.genDefVariableValues(BPEL2VariableInitializer.java:300)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2VariableInitializer.generateDefaultVariableValues(BPEL2VariableInitializer.java:290)
at com.collaxa.cube.engine.ext.bpel.v2.blocks.BPEL2ProcessBlock.init(BPEL2ProcessBlock.java:180)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2CubeMap.init(BPEL2CubeMap.java:97)
at com.collaxa.cube.engine.core.map.CubeMapFactory.create(CubeMapFactory.java:53)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2Process.buildMaps(BPEL2Process.java:129)
at com.collaxa.cube.engine.core.BaseCubeProcess.loadRuntimeModel(BaseCubeProcess.java:343)
at com.collaxa.cube.engine.ext.bpel.v1.BaseBPELProcess.loadRuntimeModel(BaseBPELProcess.java:47)
at com.collaxa.cube.engine.core.BaseCubeProcess.load(BaseCubeProcess.java:303)
at com.collaxa.cube.engine.ext.bpel.v2.BPEL2Process.load(BPEL2Process.java:116)
at com.collaxa.cube.lang.compiler.BPEL2Processor.createCubeProcess(BPEL2Processor.java:182)
at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:64)
at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:116)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:355)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:206)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:1205)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:151)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:94)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_ntjv34_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_ntjv34_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:1297)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:216)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:335)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:129)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:435)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:127)
at sun.reflect.GeneratedMethodAccessor2315.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:86)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy501.load(Unknown Source)
at sun.reflect.GeneratedMethodAccessor2315.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.integration.platform.xapp.WLSContextCrossAppProxy$WLSCrossAppProxy.invoke(WLSContextCrossAppProxy.java:53)
at com.sun.proxy.$Proxy506.load(Unknown Source)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.handleNewDeploymentCommand(CoherenceCompositeDeploymentCoordinatorImpl.java:1501)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.access$200(CoherenceCompositeDeploymentCoordinatorImpl.java:85)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl$3.entryInserted(CoherenceCompositeDeploymentCoordinatorImpl.java:245)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:230)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:734)
at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.entryInserted(SafeNamedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.util.MapListenerSupport$WrapperListener.onMapEvent(MapListenerSupport.java:1244)
at com.tangosol.util.ConverterCollections$ConverterMapListener.onMapEvent(ConverterCollections.java:1953)
at com.tangosol.util.ConverterCollections$ConverterCacheListener.onMapEvent(ConverterCollections.java:2070)
at com.tangosol.util.MultiplexingMapListener.entryInserted(MultiplexingMapListener.java:33)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:22)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:54)
at java.lang.Thread.run(Thread.java:748)
>
<Jun 19, 2017, 7:42:02,802 AM BRT> <Error> <oracle.soa.bpel.system> <BEA-000000> <Error while loading process.
The process domain is encountering the following errors while loading the process "TEST" (composite "test!1.0*soa_835ff9db-594a-4316-a9af-e1f3de475169"): Could not initialize variable.
An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://server.name.com/test}TEST_Input in the following schemas: oracle.fabric.common.wsdl.SchemaManager@451508d9.
The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
Ensure that the element named in the error message is valid in the XSD or the WSDL.
.
This error contained an exception thrown by the underlying process loader module.
Check the exception trace in the log (with logging level set to debug mode). If there is a patch installed on the server, verify that the bpelcClasspath domain property includes the patch classes.
>
<Jun 19, 2017, 7:42:02,803 AM BRT> <Error> <oracle.soa.bpel.engine> <BEA-000000> <Problem during loadTEST
ORABPEL-05215

Error while loading process.
The process domain is encountering the following errors while loading the process "TEST" (composite "test!1.0*soa_835ff9db-594a-4316-a9af-e1f3de475169"): Could not initialize variable.
An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://server.name.com/test}TEST_Input in the following schemas: oracle.fabric.common.wsdl.SchemaManager@451508d9.
The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
Ensure that the element named in the error message is valid in the XSD or the WSDL.
.
This error contained an exception thrown by the underlying process loader module.
Check the exception trace in the log (with logging level set to debug mode). If there is a patch installed on the server, verify that the bpelcClasspath domain property includes the patch classes.

at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:384)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:206)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:1205)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:151)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:94)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_ntjv34_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_ntjv34_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:1297)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:216)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:335)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:129)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:435)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:127)
at sun.reflect.GeneratedMethodAccessor2315.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:86)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy501.load(Unknown Source)
at sun.reflect.GeneratedMethodAccessor2315.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.integration.platform.xapp.WLSContextCrossAppProxy$WLSCrossAppProxy.invoke(WLSContextCrossAppProxy.java:53)
at com.sun.proxy.$Proxy506.load(Unknown Source)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.handleNewDeploymentCommand(CoherenceCompositeDeploymentCoordinatorImpl.java:1501)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.access$200(CoherenceCompositeDeploymentCoordinatorImpl.java:85)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl$3.entryInserted(CoherenceCompositeDeploymentCoordinatorImpl.java:245)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:230)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:734)
at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.entryInserted(SafeNamedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.util.MapListenerSupport$WrapperListener.onMapEvent(MapListenerSupport.java:1244)
at com.tangosol.util.ConverterCollections$ConverterMapListener.onMapEvent(ConverterCollections.java:1953)
at com.tangosol.util.ConverterCollections$ConverterCacheListener.onMapEvent(ConverterCollections.java:2070)
at com.tangosol.util.MultiplexingMapListener.entryInserted(MultiplexingMapListener.java:33)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:22)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:54)
at java.lang.Thread.run(Thread.java:748)
>

Cause

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