BPEL process throwing error whie restarting soa server: INVALID_WSDL

Hi All,
I am facing below error while restarting the soa server :
<Jun 27, 2012 10:09:35 AM PDT> <Error> <oracle.integration.platform> <SOA-20003> <Unable to register service.
oracle.fabric.common.FabricException: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=INVALID_WSDL: The document: http://<Host>:<port>/soa-infra/services/smart/TestBPEL/TestBPEL.wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.: WSDLException: faultCode=INVALID_WSDL: The document: http://<Host>:<port>/soa-infra/services/smart/TestBPEL/TestBPEL.wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.
this above error is caused for most of the bpel processes deployed on the soa server.
SOA server version is 11.1.1.4 .
Could any one help in this regard.
Thanks & Regards,
Nupur

Undeploy that particular composite and redeploy. Check the source code of the composite to see if the process is configured with actual host and port numbers or not ?
Sometime when you use localhost will not create any issue while deploying but when you referening you will face this kind of issue.
So always use hostname.
Thanks,
Vijay

Similar Messages

  • Getting Error while starting SOA Server OIM 11gR1

    Hi,
    I am getting following errors while staring SOA server in OIM 11g R1, my OIM server is running fine I can login to OIM and work but SOA server is not coming up. It was working fine suddenly it started throwing these errors. I have done the whole OIM installation again but no I am getting same issue :
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         ... 55 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.aop.framework.ProxyFactoryBean.freshTargetSource(ProxyFactoryBean.java:577)
         at org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(ProxyFactoryBean.java:306)
         at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:243)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
         ... 63 more
    Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1105)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:386)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         ... 81 more
    Caused by: java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
         at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
         ... 91 more
    Caused by: java.lang.ClassNotFoundException: weblogic.sca.api.ScaReferenceProcessor
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 115 more
    [2013-01-07T19:13:54.258+05:30] [soa_server1] [NOTIFICATION] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLFnlQAxGO5yjk3yW1Guh2_000002,0] [APP: soa-infra] MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=soa-infra deregistered
    [2013-01-07T19:13:54.258+05:30] [soa_server1] [NOTIFICATION] [] [oracle.adf.share.config.ADFConfigFactory] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLFnlQAxGO5yjk3yW1Guh2_000002,0] [APP: soa-infra] Calling ADF Config instance implementation: class oracle.adf.share.config.MDSConfigImpl.releaseResources()
    [2013-01-07T19:13:56.068+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\r\n] [userId: <anonymous>] [ecid: 0000JkLFnlQAxGO5yjk3yW1Guh2_000002,0] [APP: soa-infra] Repository:: initExchange: Name = RosettaNet
    [2013-01-07T19:13:56.068+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\r\n] [userId: <anonymous>] [ecid: 0000JkLFnlQAxGO5yjk3yW1Guh2_000002,0] [APP: soa-infra] Repository:: initExchange: ex.getPackagingProtocolRef() RNIF11_PKG
    [2013-01-07T19:13:56.068+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\r\n] [userId: <anonymous>] [ecid: 0000JkLFnlQAxGO5yjk3yW1Guh2_000002,0] [APP: soa-infra] Repository:: initExchange: ex.getPackagingProtocolRef() RNIF11_PKG
    [2013-01-07T19:31:50.353+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.cluster] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] Detected Enable Cluster=true     StandAlone=true
    [2013-01-07T19:31:50.353+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] [[
    OraBPEL "bpel-engine" BPEL domain loaded.
    [2013-01-07T19:31:50.353+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] CubeServiceEngine=> initialized ....
    [2013-01-07T19:31:50.447+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] Setting executor from fabric
    [2013-01-07T19:31:53.320+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] Unloaded BPEL domain "bpel-engine"
    [2013-01-07T19:31:53.320+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.system] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] Done shutting down engine bpmn
    [2013-01-07T19:31:53.382+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] ****** Inside MediatorServiceEngine::cleanup ******
    [2013-01-07T19:31:53.382+05:30] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.dispatch.db] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] DBContainerIdManager stop()
    [2013-01-07T19:31:53.413+05:30] [soa_server1] [ERROR] [] [org.springframework.web.context.ContextLoader] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JkLK0Db2nJQpy^DCiW1GuhJp000002,0] [APP: soa-infra] Context initialization failed[[
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         ... 55 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'SpringServiceEngine' while setting bean property 'serviceEngines' with key [6]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.aop.framework.ProxyFactoryBean.freshTargetSource(ProxyFactoryBean.java:577)
         at org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(ProxyFactoryBean.java:306)
         at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:243)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
         ... 63 more
    Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [oracle.integration.platform.blocks.java.SpringServiceEngine] for bean with name 'SpringServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         ... 81 more
    Caused by: java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
         at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
         ... 91 more
    Caused by: java.lang.ClassNotFoundException: weblogic.sca.api.ScaReferenceProcessor
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 115 more
         and
         oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.naming.NameNotFoundException: Unable to resolve 'RuntimeConfigService'. Resolved ''; remaining name 'RuntimeConfigService'[[
         at oracle.bpel.services.workflow.client.worklist.servlet.TaskFlowDeployerThread.registerTaskFlowWithTask(TaskFlowDeployerThread.java:323)
         at oracle.bpel.services.workflow.client.worklist.servlet.TaskFlowDeployerThread.run(TaskFlowDeployerThread.java:129)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.naming.NameNotFoundException: Unable to resolve 'RuntimeConfigService'. Resolved ''; remaining name 'RuntimeConfigService'
         at oracle.bpel.services.workflow.runtimeconfig.client.RuntimeConfigServiceRemoteClient.getTaskDisplayInfo(RuntimeConfigServiceRemoteClient.java:665)
         at sun.reflect.GeneratedMethodAccessor1232.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:133)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:72)
         at $Proxy212.getTaskDisplayInfo(Unknown Source)
         at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.setTaskDisplayInfo(TaskFlowPropsUtil.java:798)
         at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.setTaskDisplayInfo(TaskFlowPropsUtil.java:777)
         at oracle.bpel.services.workflow.client.worklist.servlet.TaskFlowDeployerThread.registerTaskFlowWithTask(TaskFlowDeployerThread.java:261)
         ... 2 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'RuntimeConfigService'. Resolved ''; remaining name 'RuntimeConfigService'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.bpel.services.workflow.runtimeconfig.client.RuntimeConfigServiceRemoteClient.getTaskDisplayInfo(RuntimeConfigServiceRemoteClient.java:660)
         ... 11 more
    Please help.

    Looks like a known issue with missing jar files.
    Please refer to Oracle support document - [ID 1332553.1]

  • BPEL process on error retrying self after every 5 minutes (no fault policy)

    Hi All
    We are facing very strange issue in one of our BPEL processes (we are using Oracle SOA Suite 11.1.1.3 on linux with 2 soa servers in cluster). The composite consists of a web service binding followed by a mediator which routes to three different BPEL processes (operational routing). This is all one way.
    Inside the BPEL we are throwing a bpel rollback fault in the catch all to roll back any pending database changes. As soon as the error comes, In the composite diagram i can see multiple BPEL instances under the mediator and they keep on coming after every 5 minutes (basically i see two BPEL instances with a gap of one second and this pair keeps on repeating every 5 minutes)
    Also we have a send email in the catch all and the email we get has a different composite id in every mail. However in the em i can see only one composite id (the first one when the error came) with multiple BPEL diagrams in it.
    We are not sure what is causing the error?
    1) Is it the one way mediator routing to 3 BPEL processes as per the operation invoked?
    2) Is there something wrong with clustering?
    3) Is there a problem with version 11.1.1.3?
    Please help as we are struck and not able to move to INT.
    Thanks and Regards
    Amit Sachdev

    Hi Anuj
    Thanks for the reply again. Using the below property seems to work, but it is making the call sync (i get an empty fault in SOAP-UI) and my java client also waits for the response.
    <component name="abcd">
    <implementation.bpel src="abcd.bpel"/>
    <property name="bpel.config.oneWayDeliveryPolicy" many="false" type="xs:string">sync</property>
    <property name="bpel.config.transaction" many="false" type="xs:string">required</property>
    </component>
    As i told that this is a long running process (could easily take 3-4 hours), i cant afford to wait for this (should be fire and forget).
    1) Is there a way, i can make it fire and forget and also stop the recovery using the properties you just told?
    2) If there is no way out, i can remove the throw rollback fault in catch all, but i want the composite instance to be shown as red (i will take care of the rollbacks in db in code). I tried using the terminate activity but that doesn't make it red (like it used to be in 10g). Is there a way to mark the instance as red without throwing an uncaught fault?
    Please let me know. Thanks
    Also regarding the patch, if we apply it, will it still recover the BPEL instance? I mean the BPEL is throwing a rollback fault and is being exactly retried 50 times with a gap of 5 minutes (default settings in em console, not touched at all). Every time it runs it would throw the same fault again (as it reads and deletes a control file, so in successive runs that control file will not be there) leading to rollback error being thrown from catch all during automatic retry.

  • BPEL process instance doesn't restart execution after BPEL server restart

    I am using Oracle BPEL server 10.1.2 on Windows with the Oracle lite 10G dehydration datastore.
    I have a one BPEL process (proc1) that invokes another BPEL process (proc2) synchronously. proc1 also invokes proc3 (also a BPEL process, but probably doesn't matter) synchronoulsy in parallel with proc2.
    proc2 has a wait of ~30seconds in it. As soon as proc1 invokes proc2, I shutdown BPEL. Now, when I restart the BPEL server, proc2 instance finishes its execution. But, I don't see instances of proc1 and proc3 in the BPEL console.
    Here are my questions:
    1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
    2. Why doesn't proc1 resume its execution after BPEL server is restarted?
    Any pointers appreciated.

    1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
    Please read this thread:
    ParallelFlows + sync flow

  • Problem deploying bpel process to oc4j_soa container on separate server

    Hi - after searching for a solution both here and on Metalink for some time, I've reached the point where I think I need to post my problem:
    (This might be an application server/BPEL related issue and perhaps more relevant there than JDeveloper. If so, my apologies in advance.)
    On client; Windows XP with JDeveloper 10.1.3.4.0, on server Windows Server 2003 with Oracle SOAsuite 10.1.3.
    Created a very simple bpel process (ftp get a remote file -> write locally) that I want to deploy on the dedicated SOA-server.
    From JDeveloper, the "Application Server and ESB Server connections checks out fine. But the "BPEL Process Manager Server" check failes with the error:
    "BPEL Identity Service: Failed" - Details: "oracle.xml.parser.v2.XMLParseException:Whitespace required."
    I have not found any postings/info on the "Whitespace required" error anywhere... mighty strange....
    I'm therefore unable to use the BPEL Process Deployer, it states that "Server Mode: Server is unreachable".
    I've triple-checked all ports etc. The Integration Server Connection is using port 80.
    I'm able to access and open the BPELConsole (& EM & ESB) on the server from my JDeveloper workstation.
    A "opmnctl status -l" on the SOA-server gives:
    Processes in Instance: SOAProd.aresrv136.gard.local
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
    OC4JGroup:default_group | OC4J:OC4JUDDI | 364 | Alive | 707857842 | 153388 | 17:33:58 | jms:12603,ajp:12503,rmis:12703,rmi:12403
    OC4JGroup:default_group | OC4J:oc4j_soa | 500 | Alive | 707857841 | 266220 | 17:33:58 | jms:12601,ajp:12502,rmis:12701,rmi:12401
    OC4JGroup:default_group | OC4J:home | 804 | Alive | 707857840 | 153080 | 17:33:58 | jms:12602,ajp:12501,rmis:12702,rmi:12402
    HTTP_Server | HTTP_Server | 2020 | Alive | 707857839 | 67188 | 17:33:30 | https1:443,http2:7200,http1:80
    I cannot find the "deploy_service" as a separate service on my server however. Only the hw_services are up and running, but it contains a "deploy" web module.
    Would be immensely grateful for any information that might help me further in solving this issue, as I'm rather stuck right now....
    Regards,
    -Haakon-

    Haakon,
    I think the BPEL forum is the better source to ask
    BPEL
    Frank

  • Oracle BPEL Process Manager  error

    I am getting the following error in activities tab in BPEL Process instances / activity and i am also not able to see the flow diagram of bpel process i created and deployed , please check and provide any solution / share solutions
    (message is pasted below)
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon Oct 09 08:44:49 PDT 2006
    Build type: release
    Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    Exception Message:
    [javax.servlet.ServletException]
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "10035" from the datasource.
    Please check that the instance key "10035" refers to a valid instance that has been started and not removed from the process domain.
    Exception Trace:
    javax.servlet.ServletException: Instance not found in datasource.
    The process domain was unable to fetch the instance with key "10035" from the datasource.
    Please check that the instance key "10035" refers to a valid instance that has been started and not removed from the process domain.
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:809)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:756)
         at ngActivityList.jspService(_ngActivityList.java:382)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
         at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:396)
         at activities.jspService(_activities.java:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Check that your dehydration store is up. Also ensure it is able to accept new connections. Sometimes it can hit the max session count.
    If you bounce SOA Suite does it come up.
    Has anything been done on the system that may have caused this from happening.
    cheers
    James

  • BPEL Process showing as service in SOA 11g version

    Hi All,
    Morning...need some help with this as we are currently stuck with this.
    In the SOA Suite 10g version (10.1.3.3) when we deployed a parent bpel process making a call to another bpel process ( child process ) via the partner link (by mentioning the complete WSDL location/url for the deployed child process in the partner link). When we see the flow/audit trail for such a bpel process in the BPEL Console it shows the separate flow diagrams of the bpel instances for the parent as well child process..
    Now when we have migrated such a bpel process to SOA Suite 11g (J developer : 11.1.1.4) by opening up the project file ( .jpr ) for both the processes in Jdev 11g version and going through the migration steps in the wizard. It finally says migration to version 11.1.1.4 is successful
    Now we deploy the child process successfully to the server --> Then compile/build the parent process --> deploy this parent as well.
    1.Now when we see the composite.xml for the parent process in Design view it shows the child bpel process partner link in the External References section.
    2.In the front end we invoke the parent process , it completes successfully ..we could see the flow diagram for this parent process..
    But for the child bpel process we don't see a new separate instance created in the front end in the EM console
    Could someone please let us know how this could be achieved so that we could see a separate bpel instance for the child bpel process as well..what settings/properties could be changed..
    We need to see separate instances for the parent as well child bpel process within the BPEL Console.
    With regards

    Hi Todd,
    first of all thanks for your response..i am putting below what exactly is happening.
    1. We trigger the parent process..
    Go to SOA Composite for parent process --> Dashboard --> Recent Instances ---
    there it shows the composite instance id lets say 123 for parent process..
    We click the hyperlink for this instance id --> it opens up the Flow Trace screen -- on the right side it mentions the ECID value. this is correct ...
    Now below it shows the Trace section. here in tabular format it shows below columns :
    Usage Instance Type Composite Instance
    Service parent process name (hyperlinked) BPEL Component composite instance # 123
    Reference child process name web service(local invocation) composite instance # 456
    Now if we need to see the flow trace for the parent process we click the hyperlink just mentioned above and it opens up the flow trace page showing the bpel process instance details for parent process.
    On the top right side it shows the BPEL id for this parent process. this is fine...
    Now if we need to see the same flow details for the child bpel process..how do we see this in the frontend.
    In the older version of SOA 10g Bpel Console 10.1.3.3 we used to see these 2 bpel processes separately in the BPEL Console under the BPEL processes tab & there we could see the instances for the child process with complete flow trace/audit details
    This is the problem we are facing now..hope it is clear now.
    Thanks

  • URGENT!! HelloWorld.bpel process Deployment Error

    Hi bpel gurus,
    I am new to BPEL. I tried to deploy sample HelloWorld tutorial process with no real luck..
    What i am doing is using obant (also tried equivalent "ant deploy" ) command to deploy the process. I am using BPEL PM for developer on windows XP.
    The following is the gist of the long exception/error I got.
    "C:\product\10.1.3.1\OraBPEL_2\bpel\samples\tutorials\101.HelloWorld\build.xml:79
    : A problem occured while connecting to server "ashdesai.corio.com" using port "
    9700": bpel_HelloWorld_1.0.jar failed to deploy. Exception message is: ORABPEL-04096
    Cannot update process metadata.
    The process domain was unable to insert/update the process metadata for process
    "HelloWorld" with revision tag "1.0" in the datastore. The exception reported is
    : javax.resource.ResourceException: RollbackException: Transaction has been mark
    ed for rollback: Timed out
    Please check that the machine hosting the datasource is physically connected to
    the network. Otherwise, check that the datasource connection parameters (user/p
    assword) is currently valid.
    sql statement: SELECT process_guid, process_id, revision_tag, suitcase_id, state
    , lifecycle, deploy_user, deploy_timestamp FROM process WHERE domain_ref = ? AN
    D process_id = ? AND revision_tag = ? FOR UPDATE ...
    Can anyone tell what setup/config is missing here..?
    Thanks in anticipation!!
    Ashish.

    Ashish:
    If your going to deploy a BPEL process using ant from the command line, you need to make sure that you set up your environment correctly. I've made a few blog posts on the subject of the ANT - environment.
    One of the key files that the ant deploy needs to have access to is the "ant-orabpel.properties" file located in your $BPEL_HOME/utilities directory. If Ant isn't able to get to this file, it will not have the BPEL environment settings for your installation.
    Ben

  • Invoking bpel process from java in oracle soa/bpm 11g

    Hi,
    We have some java code to invoke bpel process in oracle BPM 10g following the instructions in http://download-east.oracle.com/docs/cd/B14099_19/integrate.1012/b14448/invoke.htm.
    Basically the steps are:
    1) get a Locator (com.oracle.bpel.client.Locator)
    2) get IDeliveryService (com.oracle.bpel.client.delivery.IDeliveryService) reference from locator
    3) call IDeliveryService method request or post with input message and get the response back.
    Recently we want to migrated from oracle bpm 10g to oracle soa/bpm 11g. But I can not find the similar API in 11g. It seems now some adapter/binding need to be added in exposed service lane in soa composite view, for example, ADF-BC, direct binding etc, in order to allow java to invoke a bpel process. Here are two very useful links from Edwin about the detail how this is implemented.
    http://biemond.blogspot.com/2009/11/invoking-soa-suite-11g-service-from.html
    http://biemond.blogspot.com/2009/11/calling-soa-suite-direct-binding.html?showComment=1285198033913#comment-c1055322845511794252
    My question is:
    1) what are the choices and the official/best way to invoke a bpel process in oracle soa/bpm 11g from java?
    2) does user need to add an adapter/binding in exposed service lane in order to let the bpel service be called in java?
    3) what is the real difference between a bpm application and soa application in 11g?
    I will really appreciate any expert's opinion.
    Thanks,
    Bin

    Thanks for your reply and confirmation, really appreciate it.
    Yes, I found the difference of the invoking process API and was able to invoke bpel process using direct and ADF-BC binding by following Edwin's blog. But I have not found any official reference to compare this API difference between 10g and 11g ( I will mark this question as answered if anyone can find an official source from oracle, need to prove it to the team). The API to work with human task workflow seems pretty much the same between 10g and 11g.

  • Error Handling for SOA Server

    Hi All,
    I converted a java code into a webservice with the help of jdeveloper and deployed it into weblogic server, and it is working fine when I am invoking it through the SOA server. But, when I am passing some wrong input values I should suppose to get error, but I don't see any errors inside em and status is showing as completed. At the same time, I am able to view the complete error stack trace inside soa_server1 command prompt (StartManagedWeblogic soa_server1). How can I catch this errors inside em. I added catchall block but no success. My requirement is to catch this errors inside em and need to email it.
    Thanks,

    Hi,
    Thanks for your reply. Can you let me know, where to modify the code in order to print the error inside em.
    package com.ka;
    import com.agile.api.APIException;
    import com.agile.api.AgileSessionFactory;
    import com.agile.api.IAdmin;
    import com.agile.api.IAgileClass;
    import com.agile.api.IAgileSession;
    import com.agile.api.IServiceRequest;
    import com.agile.api.ServiceRequestConstants;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.HashMap;
    import javax.jws.WebService;
    import javax.xml.soap.SOAPException;
    import javax.xml.ws.BindingType;
    import javax.xml.ws.WebFault;
    import javax.xml.ws.soap.SOAPBinding;
    @WebService(portName = "ClassTestSoap12HttpPort")
    @BindingType(SOAPBinding.SOAP12HTTP_BINDING)
    public class ClassTest {
    public String TestAPIMet(String complaintNumber, String description, String disposition, String severity, String workflow ) {
    IAgileSession m_session=null;
    IAdmin admin=null;
    try {
    String error="invalid";
    HashMap params = new HashMap();
    params.put(AgileSessionFactory.USERNAME, "**********");
    params.put(AgileSessionFactory.PASSWORD, "***********************");
    System.out.println(""+params);
    AgileSessionFactory instance = AgileSessionFactory.getInstance("http://*******************************");
    System.out.println(""+instance);
    m_session = instance.createSession(params);
    System.out.println("Session ID:"+m_session);
    admin = m_session.getAdminInstance();
    IAgileClass cls = admin.getAgileClass( "ProblemReport" );
    System.out.println("Class ID:"+cls);
    IServiceRequest psr = (IServiceRequest)m_session.createObject( "ProblemReport", complaintNumber);
    psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_DESCRIPTION, description);
    psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_DISPOSITION, disposition);
    psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_SEVERITY, severity);
    psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_WORKFLOW, workflow);
    DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss a z");
    Calendar cal = Calendar.getInstance();
    psr.setValue( ServiceRequestConstants.ATT_COVER_PAGE_EXPECTED_RESOLUTION_DATE, dateFormat.format(cal.getTime()));
    catch (APIException e) {
    e.printStackTrace();
    e.getMessage();
    e.getRootCause();
    finally {
    System.out.println("Session is closing");
    m_session.close();
    System.out.println("Session closed");
    return "Success";
    }

  • BPEL process retired after OAS restart

    Hi,
    We are experiencing a strange problem with BPEL process manager. Sometimes when we restart OAS, several BPEL processes are retired. Any idea why?
    Thanks in advance,
    Steven

    Hi Anirudh,
    Our version is 10.1.3.3.1 MLR#4 and we are planning to apply the MLR#19. We do use JMS Adapter with AQ.
    Regarding what kind of processes are retired, I do not see a pattern. To me, it's more like a random thing. There is nothing being logged in the log file, which is why this is frustrating :(
    Thanks for you help!
    Steven
    Edited by: sw12345 on Jan 19, 2010 10:46 AM
    Edited by: sw12345 on Jan 19, 2010 10:46 AM

  • INVOKING BPEL PROCESS PORTAL 10.1.4 + SOA SUITE 10.1.3.1

    Hi,
    Did anyone try to invoke BPEL Process / ESB service from portal 10.1.4 while using Soa Suite 10.1.3.1 with omniportlet? I tried that but when i point to WSDL it says that there are no methods in WSDL or that there is no endpoint. I dont believe any of these are true, cause i wrapped BPEL process in another BPEL Process and invocation was seamless.
    thanks,
    Chris.

    Its not certified, you need to install on 9.2.
    I believe this will be delivered in 10.1.3.5 which should be out before 1 June.
    cheers
    James

  • Scheduling BPEL Process in 11g using native SOA Suite functionatliy

    I have spent a significant amount of time reviewing documentation and the forums and have been unable to find a definitive answer on the ability to schedule a BPEL process in SOA Suite 11g.
    A similar question was asked here with no response:
    BPEL(SOA11G) and Quartz
    In SOA Suite 10.1.3.x it is discussed frequently:
    http://www.oracle.com/technology/tech/soa/soa-suite-best-practices/soa_best_practices_1013x_drop1.pdf
    Re: BPEL Adapters & Scheduling
    It appeared to be an actual feature in one of the technology previews:
    http://biemond.blogspot.com/2008/01/scheduling-processes-in-soa-suite-11g.html
    Can anyone provide an definitive answer on whether a BPEL process can be scheduled using functionality native to SOA Suite 11g. I understand there are external workarounds such as calling BPEL process from DBMS_JOB, using external scheduling framework etc. I am interested in solutions which are native to the SOA Suite itself if there is such a solution.
    If there is no definitive answer I will open a support case and post the results here for the benefit of the group.

    Hi-
    You can refer to the below link.
    http://darwin-it.blogspot.com/2008/01/how-to-create-bpel-job-scheduler.html
    I have not personally tried but I think it should work.
    PLease let us know how it goes.
    Thanks,
    Dibya

  • Issue Invoking 10.1.2 BPEL Process from 10.1.3 Embedded server.

    Hi All,
    I am trying to connect to BPEL 10.1.2 from 10.1.3 embedded server. When I run following
    code in debug it just stays at
    Locator locator = new Locator("default","bpel",jndi); line. It does not give any error message.
    Please help. Let me know if I am doing anything wrong here.
    Thank you.
    Jigar
    package com.sjrwmd.bpel;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.rmi.RemoteException;
    import java.util.Hashtable;
    import java.util.Map;
    import javax.naming.Context;
    public class TestBPEL {
    public TestBPEL() {
    public static void main(String[] args) {
    try{
    Hashtable jndi = null;
    String ssn = "123456789";
    jndi = new Hashtable();
    jndi.put(Context.PROVIDER_URL, "ormi://dell17316/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "admin");
    jndi.put(Context.SECURITY_CREDENTIALS, "welcome");
    //jndi.put("dedicated.connection", "true");
    String xml = "<ssn xmlns=\"http://services.otn.com\">" + ssn + "</ssn>";
    Locator locator = new Locator("default","bpel",jndi);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to collaxa server
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request ("CreditRatingService", "process", nm);
    Map payload = res.getPayload();
    System.out.println( "BPELProcess CreditRatingService executed!" );
    System.out.println( "Credit Rating is " + payload.get("payload") );
    } catch( com.oracle.bpel.client.ServerException se ){
    se.printStackTrace();
    } catch (RemoteException e) {
    // TODO
    }

    Hi Clemens,
    Do don't have to say sorry. It happens sometime. I have remove patch from 10.1.3 and apply back to 10.1.2.
    This is my obsetenv.bat file
    @REM --------------------------------------------------
    @REM ADJUST THESE VARIABLE TO MATCH YOUR ENVIRONMENT
    @REM --------------------------------------------------
    @REM Where has Orabpel been installed on this machine?
    set OB_HOME=C:\OraBPELPM\integration\orabpel
    @REM Which is app server going to use on this machine?
    set OB_PLATFORM=oc4j_10g
    @REM Is there a classpath that you would like Orabpel to add to it's
    @REM classpath? We recommend that you append any additional directories
    @REM to the environment classpath. For example,
    @REM
    @REM set MY_CLASSES_DIR=%CLASSPATH%
    set MY_CLASSES_DIR=%OB_HOME%\system\classes
    set MY_CLASSPATH=%MY_CLASSES_DIR%
    set PROXY_SET="[HTTP_PROXY_SET]"
    @REM Where has the JDK (supporting 1.4.1 or higher) been installed on
    @REM this machine?
    set JAVA_HOME=C:\OraBPELPM\jdk
    if %PROXY_SET% == "true" goto set_proxy
    set OB_JAVA_PROPERTIES=
    goto end_set_proxy
    :set_proxy
    set OB_JAVA_PROPERTIES="-Dhttp.proxySet=true" "-Dhttp.proxyHost=[HTTP_PROXY_HOST]" "-Dhttp.proxyPort=[HTTP_PROXY_PORT]" "-Dhttp.nonProxyHosts=[HTTP_NON_PROXY_HOSTS]"
    :end_set_proxy
    @REM Where the j2ee applications can be deployed, this environment variable
    @REM is application server dependent. The process developers will use this
    @REM this env. variable to deploy their J2EE applications
    @REM (e.g. .war or .ear files)
    set J2EE_APPLICATIONS=C:\OraBPELPM\integration\orabpel\system\appserver\oc4j\j2ee\home\applications
    @REM --------------------------------------------------
    @REM PLEASE DO NOT UPDATE THE REST OF THIS FILE
    @REM --------------------------------------------------
    @REM Classpath
    set OB_LIB=%OB_HOME%\lib
    @REM List of Orabpel and Orabpel related libraries.
    set BASE_OB_CLASSPATH=%MY_CLASSPATH%;%JAVA_HOME%\lib\tools.jar;%OB_LIB%\orabpel-common.jar;%OB_LIB%\orabpel-thirdparty.jar;%OB_LIB%\orabpel.jar;%OB_LIB%\orabpel-ant.jar;%OB_LIB%\ant-launcher_1.6.2.jar;%OB_LIB%\ant_1.6.2.jar;%OB_LIB%\oracle_http_client.jar;%OB_LIB%\xmlparserv2.jar;%OB_LIB%\olite40.jar;%OB_LIB%\aqapi.jar;%OB_LIB%\orawsdl.jar;%OB_LIB%\bpm-infra.jar;%OB_HOME%\system\services\lib\bpm-services.jar;%OB_LIB%\bipres.jar;%OB_LIB%\bicmn.jar;%OB_LIB%\uix2.jar;%OB_LIB%\share.jar;%OB_LIB%\regexp.jar
    @REM Core java runtime libraries
    set JAVA_CLASSPATH=%JAVA_HOME%\jre\lib\rt.jar
    @REM The Xerces and Xalan libraries need to loaded via the bootclasspath option
    @REM since JDK 1.4 packages an older version of Xalan.
    @REM
    set BOOT_LIBS=%OB_LIB%\orabpel-boot.jar;%OB_LIB%\connector15.jar
    @REM Combined classpath
    set OBDK_CLASSPATH=%JAVA_CLASSPATH%;%BASE_OB_CLASSPATH%;%OB_LIB%\j2ee_1.3.01.jar;
    set OB_CLASSPATH=%BASE_OB_CLASSPATH%
    goto finish
    :finish
    @REM --------------------------------------------------
    @REM END OF FILE
    @REM --------------------------------------------------
    This is my startorabpel.bat
    @echo off
    set ECHO=off
    call "C:\OraBPELPM\integration\orabpel\bin\obsetenv.bat"
    @rem Launch Oracle Lite
    @rem
    @rem start /d "C:\OraBPELPM\integration\orabpel\bin" /min /realtime start_olite.bat
    @rem java -Dorabpel.home=C:\OraBPELPM\integration\orabpel -Doracle.mdb.fastUndeploy=60 -Ddatasource.verbose=true -Djdbc.debug=true -Djms.debug=true -Dtransaction.debug=true -jar oc4j.jar
    set OPTS=-Doracle.mdb.fastUndeploy=60 -Doc4j.userThreads=true %OB_JAVA_PROPERTIES%
    set MEM_ARGS=-Xms512m -Xmx512m -Xmn300m -XX:MaxPermSize=80m
    set JAVA_VM=-server
    cd "C:\OraBPELPM\integration\orabpel\system\appserver\oc4j\j2ee\home"
    "C:\OraBPELPM\jdk\bin\java" -Xbootclasspath/p:"%BOOT_LIBS%" %JAVA_VM% %MEM_ARGS% -Dorabpel.home=C:\OraBPELPM\integration\orabpel %OPTS% -jar oc4j.jar -verbosity 10
    Let me know if you need anything more from me.
    Thanks for your help resolving this.
    Jigar

  • BPEL process OutOfMemory error

    Hi,
    I have following processes:
    Requester (BPEL) > EBS (OSB) > Provider (BPEL)
    A large payload request is received by Requester and in Provider I have db adapter calls in a loop and as per business logic it has to perform more than 512 db adapter requests but this provider fails after about 3 mins. Another strange thing is that another BPEL instance also gets automatically instantiated after 3 mins which also fails.  
    I get following main exceptions in EM log:
    1.
    Message transaction status statusSTATUS_ACTIVE
    Supplemental Detail java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 9716016
    at oracle.soa.common.util.NonSyncStringBuffer.ensureFreeSpace(NonSyncStringBuffer.java:210)
    at oracle.soa.common.util.NonSyncStringBuffer.append(NonSyncStringBuffer.java:513)
    2.
    Thread ID [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'
    ECID 6cd8828aacee5923:-58ca31b1:1430a4058ba:-8000-000000000010a79e
    Message javax.xml.soap.SOAPException: OWS-12042 :read is alrady timed out
    Supplemental Detail at oracle.j2ee.ws.saaj.soap.MessageImpl.saveChangesSoapOnly(MessageImpl.java:1187)
    I have tested this on both DEV and SIT environments and getting same issue on both servers.

    Hi,
    The OutOfMerroryError is one that I encountered at my current project several times.
    When a large payload is received, it is put in memory once. But when you use this payload in a transformation or assign it is put in memory each time it is used in a copy rule. If this is done in a loop it will put it in memory as many times it is used in the transformation.
    What I understand is that the specific action is performed 512 times? If so the payload can be put in memory each time.
    The error Supplemental Detail java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 9716016] lets you know that is had 97Mb less available then needed.
    I easy option is to make your heap size of the JVM larger. The error does occur when the heap size is full.
    -Xms<size>  set initial Java heap size
    -Xmx<size>  set maximum Java heap size
    -Xss<size>  set java thread stack size
    -Xms512m -Xmx1152m -Xss256m
    Other option is to look if you can perform transformation without using the large payload. Do you need to assign the large payload for all the 512 db adapter requests?

Maybe you are looking for