BPEL Errors

I've successfully deployed the sun bpel engine on servicemix. I get the following error when processing the response message from a another bpel (or service) on the bus invoked by original called bpel. It seems as though the bpel engine might not setting/processing all required atrributes for message exchange to correctly identify the original endpoint. Any solution for this?
java.lang.NullPointerException at com.sun.jbi.engine.bpel.impl.EndpointStatisticsHelper.getOutboundEndpointStatus(EndpointStatisticsHelper.java:91)
INFO: BPEL service engine started with following configurations
        Persistence Enabled : false
        Monitor Enabled : false
        Persistence Database NonXA JNDI Resource Name : jdbc/bpelseNonXA
        Persistence Database XA JNDI Resource Name : jdbc/bpelseXA
        Engine Expiry Interval (failover setting) : 60 seconds
        Debug Enabled : false
        Debug Port : 3,343
        Thread Count 10
        Engine Installed on Application Server Cluster : false
Dec 5, 2007 1:09:05 PM com.sun.jbi.engine.bpel.BPELSEInOutThread run
INFO: Started BPEL service engine in-out thread
Dec 5, 2007 1:09:05 PM com.sun.jbi.engine.bpel.BPELSEInOutThread run
INFO: Started BPEL service engine in-out thread
Dec 5, 2007 1:09:05 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: Starting BPELSE deploy process
Dec 5, 2007 1:09:05 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Retrieving document at 'EchoService2.wsdl', relative to 'file:/C:/apache-service
mix-3.2.1/data/smx/service-assemblies/ServiceMix%20Sun%20BPEL%20Example/version_
1/sus/sun-bpel-engine/EchoService2/EchoService2Wrapper.wsdl'.
Dec 5, 2007 1:09:06 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.EngineHelper deploy
INFO: Loaded bpel processes to engine
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: Activated an endpoint. Service name {http://j2ee.netbeans.org/bpel/EchoSer
vice2}EchoService2Link, endpoint name EchoService2Role_myRole
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: BPELSE deploy process finished
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: Starting BPELSE deploy process
Dec 5, 2007 1:09:06 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Retrieving document at 'EchoService2.wsdl', relative to 'file:/C:/apache-service
mix-3.2.1/data/smx/service-assemblies/ServiceMix%20Sun%20BPEL%20Example/version_
1/sus/sun-bpel-engine/CallEchoService2/EchoService2Wrapper.wsdl'.
Dec 5, 2007 1:09:06 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Dec 5, 2007 1:09:06 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Retrieving document at 'CallEchoService2.wsdl', relative to 'file:/C:/apache-ser
vicemix-3.2.1/data/smx/service-assemblies/ServiceMix%20Sun%20BPEL%20Example/vers
ion_1/sus/sun-bpel-engine/CallEchoService2/CallEchoService2Wrapper.wsdl'.
Dec 5, 2007 1:09:06 PM com.sun.bpel.model.impl.DefaultWSDLResolverImpl parseWSDL
INFO: Using DefaultParseContext for wsdl
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.EngineHelper deploy
INFO: Loaded bpel processes to engine
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.EngineHelper deploy
INFO: Consumes Endpoint, service name {http://j2ee.netbeans.org/bpel/CallProxySe
rvice2}EchoService2Link, endpoint name EchoService2Role_partnerRole
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: Activated an endpoint. Service name {http://j2ee.netbeans.org/bpel/CallPro
xyService2}CallEchoService2Link, endpoint name CallEchoService2Role_myRole
Dec 5, 2007 1:09:06 PM com.sun.jbi.engine.bpel.BPELSEDeployer init
INFO: BPELSE deploy process finished
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in org.spr
[email protected]52e: defining b
eans [org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint,org.apache.s
ervicemix.http.endpoints.HttpSoapConsumerEndpoint#1]; root of factory hierarchy
INFO  - jetty                          - jetty-6.1.5
INFO  - jetty                          - Started SelectChannelConnector@localhos
t:28181
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEInOutThread processMsgEx
INFO: Pattern for exchange Id ID:129.2.134.164-116ab7f0043-10:0 is http://www.w3
.org/2004/08/wsdl/in-out
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.EngineChannel twoWayInvoke
INFO: Sending a two  way outbound message to the NMR. MessageExchangeId is ID:12
9.2.134.164-116ab7f0043-20:0, service name is {http://j2ee.netbeans.org/bpel/Cal
lProxyService2}EchoService2Link, endpoint name is EchoService2Role_partnerRole.
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEInOutThread processMsgEx
INFO: Pattern for exchange Id ID:129.2.134.164-116ab7f0043-20:0 is http://www.w3
.org/2004/08/wsdl/in-out
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.EngineChannel reply
INFO: Sending Reply for MessageEx id ID:129.2.134.164-116ab7f0043-20:0
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEInOutThread processMsgEx
INFO: Pattern for exchange Id ID:129.2.134.164-116ab7f0043-20:0 is http://www.w3
.org/2004/08/wsdl/in-out
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEInOutThread processMsgEx
WARNING: Failed to process response for InOut Message M Ex ID:129.2.134.164-116a
b7f0043-20:0
java.lang.NullPointerException
        at com.sun.jbi.engine.bpel.impl.EndpointStatisticsHelper.getOutboundEndp
ointStatus(EndpointStatisticsHelper.java:91)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processResponse(BPELSEInOut
Thread.java:431)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThr
ead.java:257)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:
161)
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEHelper sendError
WARNING: Setting MessageEx id ID:129.2.134.164-116ab7f0043-20:0 with error: null
Dec 5, 2007 1:09:33 PM com.sun.jbi.engine.bpel.BPELSEInOutThread processMsgEx
INFO: Pattern for exchange Id ID:129.2.134.164-116ab7f0043-20:0 is http://www.w3
.org/2004/08/wsdl/in-out

That definitely sounds incorrect. But I have few questions,
The code just makes use of the service and endpoint and nothing else. It is using the same service and endpoint that the bpel-se set on the message exchange. So it is odd that it should fail!! unless somewhere in the round trip of the invoke these value got changed. While I am sure that no one should be changing these values on ME, maybe someone does. Could you please verify that didn't happen? Is it possible for you to verify?
Did you try the same BPEL-SE outside of service mix and does it happen?
thanks,
Kiran Bhumana.

Similar Messages

  • ORA-01403: no data found BPEL Error on DB Adapter

    Dear All,
    I am using a DBAdapter to call a Stored Procedure in a Package. One of the parameter of the stored procedure is of table type. While invoking the BPEL Process, it shows the following error:
    Fault Error.com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{code=<code>1403</code> ,summary=<summary>file:/u03/soauser/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_InventoryProduct_1.0_579640da6283d0dbd00cca17cf50e0f7.tmp/InvProductDBService.wsdl [ InvProductDBService_ptt::InvProductDBService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'InvProductDBService' failed due to: Error while converting to a Java struct object. Unable to convert the XSD element P_ITEM_TBL_ITEM whose user defined type is APPS.XXHDNL_INV_MTL_SYSITEMS_PKG_2. Cause: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 1 [Caused by: ORA-01403: no data found ORA-06512: at line 1 ] ; nested exception is: ORABPEL-11802 Error while converting to a Java struct object. Unable to convert the XSD element P_ITEM_TBL_ITEM whose user defined type is APPS.XXHDNL_INV_MTL_SYSITEMS_PKG_2. Cause: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 1 [Caused by: ORA-01403: no data found ORA-06512: at line 1 ] Check to ensure that the XML data describing the user defined type matches the definition of the struct in the XSD. Contact oracle support if error is not fixable. </summary> ,detail=<detail> Internal Exception: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 1 Error Code: 1403</detail> }} </ErrorDescription>
    What could be the possible solution for this to get fixed. Please update..
    Many thanks in advance....

    This is a PL/SQL error, it occurs when a cursor (SQL statement) is called and returned no values, typically you should have an exception handler in the PL/SQL to mange this. But sometimes you want the PL/SQL to fail.
    The parameters you are using to invoke the PL/SQL procedure returned no values, therefore to fix provide information that does return values, or in the PL/SQL put an exception handler in to manage the no-data-found error, e.g.
    begin
      Select ...
      Into ..
      From ..
      Where ..
    Exception
      when no_data_found then
    end;cheers
    James

  • Bpel- Error invoking Webservice

    Hi
    Getting error message while invoking a webservice from Bpel.
    The service is deployed in local, hence have given the localhost in wsdl url.
    http://localhost:8081/PASJava/ExposedComputation?wsdl
    <messages>
    <input>
    <Invoke2_processExposedComputation_InputVariable>
    <part name="parameters">
    <processExposedComputation/>
    </part>
    </Invoke2_processExposedComputation_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://localhost:8081/PASJava/ExposedComputation</summary>
    </part>
    <part name="detail">
    <detail>Unable to access the following endpoint(s): http://localhost:8081/PASJava/ExposedComputation</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    Pls suggest.

    The error message is :
    <Error> <oracle.soa.bpel.engine.dispatch> <AdminServer> <orabpel.invoke.pool-4.thread-15> <<anonymous>> <> <1b8b91afeba98e17:-7d3b7bde:139e761e976:-8000-0000000000005636> <1348224359520> <BEA-000000> <failed to handle message
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://localhost:8081/PASJava/ExposedComputation</summary>
    ,detail=<detail>Unable to access the following endpoint(s): http://localhost:8081/PASJava/ExposedComputation</detail>
    ,code=<code>null</code>}
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:338)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1059)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:586)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2543)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1165)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1071)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4430)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4361)
         at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:698)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:555)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:673)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
         at sun.reflect.GeneratedMethodAccessor793.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy274.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)

  • BPEL error handling

    Hi All,
    I am trying to develop a BPEL which has a while loop to insert 5 records. While inserting the 3rd record its failing(its expected as iam simulating the error scenario). I have a catch block to catch the error.
    In the catch block iam invoking a DB adapter to insert the error details in the error table. And then iam throwing the error using throw activity with rollback to rollback all the previous two records which were inserted.
    Observation: It has rolled back the previous two records which were inserted and also its rolling back the error details record which was inserted in the catch block.
    Can any one tell me how to handle such a situation in BPEL?

    1. You could create Non-XA /Local Data source & use it in db adapter for inserting into error details.. This make sure that error details are committed irrespective of BPEL transaction.
    2. you could create a PLSQL API using autonamous transaction to insert error details and call that PLSQL procedure from BPEL.
    3. You could move logic of inserting into error tables in a different one way async process(which will create a new transaction) and use one way invoke.
    -Sridhar

  • BPEL - Error while working with XML Arrays

    Hi,
    I am getting an error when i try to do the following Copy Operation.
    <copy>
    <from expression="ora:getElement('Invoke2_OutputVariable','LinetDetailsResponse','/ns8:LinetDetailsResponse/ns8:lineDetails/ns8:item/ns8:telNo',bpws:getVariableData('Counter'))"/>
    <to variable="outputVariable" part="payload"
    query="/ns3:Response/ns5:LineDetailsInfo[bpws:getVariableData('Counter')]/ns5:lineID"/>
    </copy>
    The error seems to be with the bpws:getVariableData('Counter') function in the 'copy to' section. If I hard code the value instead of using the function, it works. The exact error message is
    "XPath query string returns zero node.
    The assign activity of the to node query is returning zero node.
    Either the to node data or the xpath query in the to node was invalid.
    According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 308 in the BPEL source."
    Could someone suggest what is the issue?
    Regards,
    Shyam
    Edited by: user8310006 on Jul 13, 2010 5:50 AM

    It is not able to find a variable where it has to copy data.
    <to variable="outputVariable" part="payload"
    query="/ns3:Response/ns5:LineDetailsInfo[bpws:getVariableData('Counter')]/ns5:lineID"/>
    try to do this
    <to variable="outputVariable" part="payload"
    query="/ns3:Response/ns5:LineDetailsInfo[$Counter]/ns5:lineID"/>
    or try this
    <to variable="outputVariable" part="payload"
    query="/ns3:Response/ns5:LineDetailsInfo[$bpws:getVariableData('Counter')]/ns5:lineID"/>
    -Yatan

  • BPEL Error in SOA approval process

    Hi,
    In my composite workflow, i
    have added a java code to get manager email id from manager login to send an email notification to manager.
    I have set Oimclient.jar and Jps-manifest.jar in class path and successfully deployed the workflow.
    When i have run my approval process, the request id status is Failed and when i see the log in Enterprise manager getting the following error
    <bpelFault><faultType>0</faultType><runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary"><summary>oracle/iam/platform/OIMClient</summary></part><part name="detail">
    <detail>java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient at orabpel.approvalprocess.ExecLetBxExe6.execute(ExecLetBxExe6.java:177) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELxExecWMP.__executeStatements(BPELxExecWMP.java:42) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2543) at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1165) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1071) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220) at
    Thanks,
    Madhavi
    Edited by: Madhavi Panuganti on Mar 13, 2012 3:39 AM

    we have set the bpelc class path
    then we have added oimclient.jar to SCA-INF/lib in OIM_HOME/workflows/new-workflow/process-template/<Workflowname>/SCA-INF/lib
    intially we created the project in OIM server machine and zipped it and taken it to my localbox (where my Jdeveloper exists) i have customized the workflow and deployed the same to SOA server, i only set the jasr files in project properties section
    Now am i adding the oimclient.jar at correct place...
    pls respond

  • Error Handling in BPEL & ESB - Rejection Handlers

    Hi guys
    I have been trying to evaluate various ways for handling errors/exceptions in BPEL and ESB in Oracle SOA Suite 10.1.3.4 (Basic installation).
    What i have found is that in ESB, errors can be handled at two levels: ESB routing service errors using ERROR_TOPIC and Adapter errors using RejectionHandlers. AND
    in BPEL errors can be handled using in built try/catch (calling error hospital from the catch) and adapter erros using RejectionHandlers.
    I tried using Rejection handlers (bpel, wsif, file) in BPEL and ESB. In BPEL they all are working fine when registered in bpel.xml.
    But in ESB only the file handler is working. What i did in ESB is:
    I set up an ESB which is polling a file adapter and simply putting the data into a table in database.
    Then i created a BPEL (or a Webservice) which is based on http://localhost:8888/orabpel/xmllib/jca/RejectionMessage.wsdl file, taking
    {http://xmlns.oracle.com/pcbpel/errorHandling}RejectedMessage as input.
    Then I registered Rejection Handler in ESB's file adapter's .esbsvc (or Enpoint property- rejectedMessageHandlers):
    "wsif://http//localhost8888/Error_Service/RejectionHandlerPort?wsdl|handleRejection|message"OR "bpel://default:welcome1|BPEL_Error_Handler|handleRejection|message"
    I generated error in ESB by changing a column name of the table
    For bpel rejection handler:
    i was getting error: "<ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Rejection handler failed
    Error while trying to hand off bad message to Rejection handler bpel://default|BPELProcess2|handleRejection|message due to: java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
    at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
    at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)"
    It was solved by adding in server.xml - <application-server ... global-jndi-lookup-enabled="true">. But now i am getting
    "Error while trying to hand off bad message to Rejection handler bpel://default:welcome1|BPEL_Error_Handler|handleRejection|message due to: java.lang.LinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome. Please address the underlying issue or correct/redeploy the process."
    *For wsif rejection handler*:
    getting error: "Error while trying to hand off bad message to Rejection handler wsif://http//localhost8888/Error_webservices/RejectionHandlerPort?WSDL|handleRejection|message due to: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type
    Please address the underlying issue or correct/redeploy the process."
    I followed: Link:[http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf]
    Same bpel/wsif handlers pointing to same BPEL/J2EE services, if configured for BPEL adapters, works absolutly fine and gives proble in ESB.
    Am i missing something in ESB or is there any patch need to be applied? Please help me there.
    Thanks in advance.
    Inder

    Hi
    I even installed SOA Suite 10.1.3.4 MLR#5 Advanced installation with Oracle Express dehyderation store.
    I was able to use WSIF rejection handler with this upgrade... but bpel rejection handler was still a failure.
    So basically i re-visited ESB documentation. it says that ESB will not support bpel rejection handler.
    At least not upto now.
    So Summary:
    For BPEL we can use - file, wsif, bpel & aq rejection and fatal message handler.
    For ESB we can use file, WSIF (10.1.3.4 with MLR#5) & aq rejection and fatal message handler.
    Thanks
    Inder
    Keep going...

  • Compilation error with BPEL Process:::

    Hi All ,
    I am nadly stuck at compilation of a BPEL error . The error message is like this :
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/C:/Documents%20and%20Settings/ashsriva/Desktop/jdev10/jdev/mywork/Application1/BPELProcess2/bpel/BRMBaseServices.wsdl", message part element "{http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes}PCM_OP_READ_FLDS_inputFlist" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    I have already put all the xsd files in the bpel directory but still this error keeps showing , Please can anybody help me out with this , I am badly stuck at this .
    Regards

    This error is not due to the folder is having spaces or not.
    This error may occur due to the duplicate elements, multiple reference of wsdl, xsd or due to invalid message or element type.
    See the following blog for a related article:
    http://soa-howto.blogspot.com

  • BPEL 10.1.3.5: WSIFOperation returns error "Start of root element expected"

    We have a customer reporting that one of the integration flow from EBS to OTM errors out with the above error. The flow works most of the time fine. But in some cases it errors out, with the error , however, there is no log in ithe OTM , for this , only the oc4j log has the following.
    It is not clear, if the BPEL errored out on the bad response from the OTM server or the BPEL failed to invoke the OTM servlet. How to determine the what is causing the issue?
    <2010-11-02 09:52:24,863> <DEBUG> <EbsCRP3domain.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: [email protected] : Could not invoke 'process'; nested exception is:
         oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.executeRequestResponseOperation(WSIFOperation_HTTP.java:501)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:480)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:529)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:266)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:828)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:411)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:200)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:4174)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1680)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com
    The OTM integration thread http://myforums.oracle.com/jive3/thread.jspa?messageID=5042541 has the complete log file from oc4j
    Also the customer bug: 10247951
    Edited by: user519303 on Nov 4, 2010 8:04 PM

    The content has the delivery informatiuon for the orders. The content differs for the errored ones, in the sense that it is for different delivery. The namespace etc are the same. There are about hundred GLogXMLElement in the payload.
    <Transmission xmlns:ns1="http://xmlns.oracle.com/apps/otm" xmlns="http://xmlns.oracle.com/apps/otm">
    <ns1:TransmissionHeader>
    <ns1:UserName>STI.ADMIN</ns1:UserName>
    <ns1:Password>CHANGEME</ns1:Password>
    </ns1:TransmissionHeader>
    <ns1:TransmissionBody>
    <ns1:GLogXMLElement>
    <ns1:TransactionCode>IU</ns1:TransactionCode>
    <ns1:LocationGid>
    <ns1:Gid>
    <ns1:DomainName>STI</ns1:DomainName>
    <ns1:Xid>CUS-11726</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationGid>
    <ns1:LocationName>Starbucks Fresh - Dallas</ns1:LocationName>
    <ns1:Address>
    <ns1:CountryCode3Gid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>USA</ns1:Xid>
    </ns1:Gid>
    </ns1:CountryCode3Gid>
    </ns1:Address>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>ORIGIN</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>CUSTOMER</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSID</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>S58551</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSNM</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>Starbucks Fresh - Dallas</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRole>
    <ns1:LocationRoleGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSTOMER</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRoleGid>
    </ns1:LocationRole>
    <ns1:Corporation>
    <ns1:CorporationName>Starbucks Fresh - Dallas</ns1:CorporationName>
    </ns1:Corporation>
    </ns1:Location>
    </ns1:GLogXMLElement>
    </ns1:TransmissionBody>
    </Transmission>

  • BPEL Compiler Error

    I am trying to create synchronus BPEL Process .I am getting the input from a routing BPEL and then after transforming the incoming xml i am giving it back to the routing BPEL .
    But i am getting a compiler error saying that the variable defined with a particular xsd is not defined.
    Error :-
    Project: D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.jpr
    D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.bpel
    Error(30): [Error ORABPEL-10010]: unresolved element [Description]: in line 30 of "D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.bpel", XML element "{http://www.openapplications.org/oagis/9}ProcessReceiveDelivery" of variable "Transform_Output" is not defined. [Potential fix]: Make sure the XML element "{http://www.openapplications.org/oagis/9}ProcessReceiveDelivery" is defined in one of WSDLs that are referenced by the deployment descriptor.
    I am not understanding this.
    This is my BPEL file :
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Mon Nov 05 13:58:09 IST 2007
    // Author: m1004429
    // Purpose: Synchronous BPEL Process
    -->
    <process name="RRToOAG"
    targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ccf="http://clickcommerce.com/integration/xpathfunctions"
    xmlns:ns4="http://clickcommerce.com/RoutingBpel" xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:ns3="http://www.openapplications.org/oagis/9" xmlns:ns2="http://clickcommerce.com/rrXML" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/RRToOAG" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="routingBPEL" partnerLinkType="ns4:RoutingBpel" myRole="RoutingBpelRequester" partnerRole="RoutingBpelProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation --><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="SimpleVariable" type="ns1:string"/>
    <variable name="Transform_Input" element="ns2:rrXML"/>
    <variable name="Transform_Output" element="ns3:ProcessReceiveDelivery"/>
    <variable name="receiveInput_onResult_InputVariable" messageType="ns4:RoutingBpelRequestMessage"/>
    <variable name="replyOutput_onResult_OutputVariable" messageType="ns4:RoutingBpelResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in RRToOAG.wsdl
    -->
    <receive name="receiveInput" partnerLink="routingBPEL" portType="ns4:RoutingBpelCallback" operation="onResult" variable="receiveInput_onResult_InputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_Input">
    <copy>
    <from variable="receiveInput_onResult_InputVariable" part="payload"/>
    <to variable="SimpleVariable"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('SimpleVariable')"/>
    <to variable="SimpleVariable"/>
    </copy>
    <copy>
    <from expression="ora:parseEscapedXML(bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Input"/>
    </copy>
    </assign>
    <assign name="Strip_Empty_Elements">
    <copy>
    <from expression="ccf:strip(bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Input"/>
    </copy>
    </assign>
    <assign name="TransformRRToOAG">
    <copy>
    <from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Output"/>
    </copy>
    <bpelx:annotation>
    <bpelx:pattern>transformation
    </bpelx:pattern>
    </bpelx:annotation>
    </assign>
    <assign name="AssignOutput">
    <copy>
    <from expression="ora:getContentAsString(bpws:getVariableData('Transform_Output','/ns3:ProcessReceiveDelivery'))"/>
    <to variable="replyOutput_onResult_OutputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="routingBPEL" portType="ns4:RoutingBpelCallback" operation="onResult" variable="replyOutput_onResult_OutputVariable"/>
    </sequence>
    </process>
    And this is my WSDL file :
    <definitions
    name="RRToOAG"
    targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG"
    >
    <types>
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <element name="RRToOAGProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="RRToOAGProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <xsd:import namespace="http://clickcommerce.com/rrXML"
    schemaLocation="http://localhost/orabpel/xmllib/xsd/RRXML/rrXML.xsd"/>
    </xsd:schema>
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <xsd:import namespace="http://www.openapplications.org/oagis/9"
    schemaLocation="http://localhost/orabpel/xmllib/xsd/OAGIS/BODs/Standalone/ProcessReceiveDelivery.xsd"/>
    </xsd:schema>
    </types>
    <message name="RRToOAGResponseMessage">
    <part name="payload" element="client:RRToOAGProcessResponse"/>
    </message>
    <message name="RRToOAGRequestMessage">
    <part name="payload" element="client:RRToOAGProcessRequest"/>
    </message>
    <portType name="RRToOAG">
    <operation name="process">
    <input message="client:RRToOAGRequestMessage"/>
    <output message="client:RRToOAGResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="RRToOAG">
    <plnk:role name="RRToOAGProvider">
    <plnk:portType name="client:RRToOAG"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Has anyone of you encountered this error before ? If so, kindly let me know what solution you deployed to get rid of this error ?

    I guess you have the openApplication XSD in a seperate XSD?
    If so you have to include the XSD in your WSDL of the process. You can only use schemas you included in the WSDL of your process.
    Rgds,
    Martin

  • Error while invoking external WS call from BPEL2.0

    Hi,
    I have a BPEL process from where I am making external WS call.
    I have the WSDL file & the Endpoint URL for the external WS.
    So,I have follow the below steps at BPEL editor.
    1. Synchronous BPEL process[it includes 'receiveInput' & 'replyOutput'].
    2. Added a "Partnet Link"[Created using external WSDL & Endpoint URL] at the Right hand side of BPEL Editor
    3.Added "Invoke" node between 'receiveInput' & 'replyOutput' and then pointed to the newly created "PartnerLink"
    While rebuilding the .jpr file I am getting the below error.
    **C:\JDeveloper\mywork\CustomerDetails\CustomerDetails.bpel**
    **Error(75): Element 'scope' not expected.**
    Can Any one help me to resolve the issue ??
    Note: I have been using JDev 11.1.1.6 and have gone through the below URL for similar kinda sample.
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_sync.htm#CIHIEIHD
    Cheers,
    Deba

    Hi Deba,
    Just so I get my facts straight, when you look at the BPEL source code, what do you see? You should be seeing, first, a sequence, then, the receive activity, and then your invoke activity and finally reply. Isn't it?
    As far as the error message suggests, looks like you have placed a "scope" - structured activity, at a place it does not belong.
    HTH
    Cheers
    Swagat

  • 10.3.1.3 Bpel Console Problem : PCBPEL_10.1.3.3.0_GENERIC_070615.0525

    Hi,
    I am using the fault policy in the BPEL, I am getting some strange error.
    In my BPEL process I am calling the another BPEL process using the Invoke activity. The second BPEL process is throwing the business exception. In my fault policy file, I says if any fault occured to the humanIntervention.
    So when the error occurred, the first BPEL process invoke activity is waiting for the human action. The moment I clicked on the activity label in the Activity tab, I am getting this error.
    bq. bq. bq. bq. bq. bq. bq. bq. bq. BPEL Error*
    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.3.0
    Build: 0
    Build time: Fri Jun 15 06:05:31 PDT 2007
    Build type: release
    Source tag: PCBPEL_10.1.3.3.0_GENERIC_070615.0525
    Exception Message:
    [http://javax.servlet.ServletException] Missing fault policy information. Cannot find fault policy information "bpel://localhost/default/SaveVendorPaymentInformation_Windstar_ABC_Provider~1.0/370046-BpInv0-Bp ..._policyUsed" for the faulted activity
    Exception Trace:
    javax.servlet.ServletException: Missing fault policy information. Cannot find fault policy information "bpel://localhost/default/SaveVendorPaymentInformation_Windstar_ABC_Provider~1.0/370046-BpInv0-Bp ..._policyUsed" for the faulted activity at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:866) at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at ngRecoverActivity.jspService(_ngRecoverActivity.java:367) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) 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:623) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160) at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51) 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:453) at displayActivity.jspService(_displayActivity.java:216) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) 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:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) 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:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Hi,
    I am using the fault policy in the BPEL, I am getting some strange error.
    In my BPEL process I am calling the another BPEL process using the Invoke activity. The second BPEL process is throwing the business exception. In my fault policy file, I says if any fault occured to the humanIntervention.
    So when the error occurred, the first BPEL process invoke activity is waiting for the human action. The moment I clicked on the activity label in the Activity tab, I am getting this error.
    bq. bq. bq. bq. bq. bq. bq. bq. bq. BPEL Error*
    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.3.0
    Build: 0
    Build time: Fri Jun 15 06:05:31 PDT 2007
    Build type: release
    Source tag: PCBPEL_10.1.3.3.0_GENERIC_070615.0525
    Exception Message:
    [http://javax.servlet.ServletException] Missing fault policy information. Cannot find fault policy information "bpel://localhost/default/SaveVendorPaymentInformation_Windstar_ABC_Provider~1.0/370046-BpInv0-Bp ..._policyUsed" for the faulted activity
    Exception Trace:
    javax.servlet.ServletException: Missing fault policy information. Cannot find fault policy information "bpel://localhost/default/SaveVendorPaymentInformation_Windstar_ABC_Provider~1.0/370046-BpInv0-Bp ..._policyUsed" for the faulted activity at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:866) at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at ngRecoverActivity.jspService(_ngRecoverActivity.java:367) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) 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:623) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160) at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51) 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:453) at displayActivity.jspService(_displayActivity.java:216) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) 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:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) 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:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

  • BPEL File Adapter Logical Path Issue

    I am trying to write the BPEL Error Messages using a file adapter. But I could not parameterize the logical directory. I need a solution of changing it in the BPEL console after deploying it
    I am Invoking a FileAdapter Web service using logical direcotry, in the FileService partnerlink I set the file_loc property with type"LogicalDirectory" and set the value to " D:/BPEL_Errors" etc. This is working fine but except in the BPEL Console I could not edit it, All the Partner Link properties seems to be read only and not editable. I tried creating a user property for the BPEL process which can be editable but How do I refer this user property in partner link since I cannot use XPATH expression there?.
    I guess this should be a very generic problem all I am looking for is parameterizing the File Location. Any Ideas?
    Thanks,
    Chitra

    Thanks James. It would be really nice if the first option works, do you have any idea why its not editable. I am having the following in bpel.xml
    <partnerLinkBinding name="FileService">
    <property name="wsdlLocation">FileService.wsdl</property>
    <property name="BPEL_LOG">D:\JDeveloper\jdev\mywork\BPEL_LOG</property>
    When I deploy the above, In the console I see BPEL_LOG as non editable field. Is am doing anything wrong?.
    Regarding the second option , I guess you are talking about modifying the Outbound message header by adding a new property called directory, as mentioned in the following link.
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CACFFAHI
    Since there are many bpel processes which use the fileservice, I need to edit the fileAdapterOutboundHeader.wsdl in multiple places. Please let me know whether I can make the first option to work

  • 10.1.3.3 fault management to simplify our complex error hospital pattern

    We have designed an error hospital pattern on 10.1.3.1, this consists of :
    1. A loop around key components of each process which may fail and need retry (e.g. invokes, database operations)
    2. Within each error loop a fault handler, this catches faults as they are thrown and passes them onto another BPEL error handling process (with a nested fault handler in case this invoke fails which spits error out to a file), the error handler can reply with retry (loop around again) or cancel (exit loop), if no response is received an automated retry occurs
    3. An error service process which creates a human task for an error to be dealt with
    4. A web app which allows users to process the tasks created by the error service, user can inspect data, see fault detail and mainly just select to cancel or retry the failed operation (including multi select if for example hundreds of processes had hit the same error)
    This has been refined and is now operating nicely in production, but the development (items 1 and 2 above) and testing effort involved is high - frequently more than the actual business logic. In a 3GL this error handling would be simplified by having a nice reusable piece of code (proceudre or method call) that could go in the error handling loop, rather than putting a whole set of logic (invoke, pick, handling of faults in the error handling code, etc).
    I'm aware of the fault management framework in 10.1.3.3 which does a subset of our functionality, we are now looking back at the error hospital we have created and wondering if we could simplify. The main stumbing block I see with the fault management framework is that we need to decide whether to do an automated retry after some interval or whether to await human action, we want to do both, await human activity but if they don't action it retry the operation. I'm thinking that we could achieve everything that we have got by a slight manipulation of the error management framework, as follows :
    A. Define faults such that all faults cause human intervention.
    B. Create a daemon process which scans for activities requiring human intervention and automatrically triggers a rety after a configurable period (so that things like database errors will get auto retried)
    C. Adapt our web app to look for and operate on activities outstanding rather than workflow tasks.
    Questions:
    i) To support B/C above is there a java api this daemon can use or is it a question of updating the rdbms
    ii) Am I underestimating what can be done with the java action fault policy ?
    iii) To make our existing approach easier, is there a way of doing an invoke and pick operation actually within an embedded java routine to minimise the amount of code we have in each error handling block
    Hope this makes sense, thanks in advance - there seem to be a lot of knowledgeable people out there in this forum.

    Hi,
    The next blogs might be interesting for you. It addresses your questions.
    http://technology.amis.nl/blog/?p=2485
    http://www.it-eye.nl/weblog/2007/09/10/oracle-bpel-10133-fault-policy-management/
    Kind regards,
    Harm

  • Embedded Java And BPEL

    Hi All
    I need some very urgent help. I had been working on TIBCO and XI till now and in a project currently using Oracle Fusion. I need to query a data from an LDAP service and post a collection of employees into a JMS Queue as an XML. Now I tried using Embedded java to query the LDAP service and that works fine and it returns me the employee details. I have an XSD file that represents how the data needs to be presented. I imported the XSD file into my project and created a variable of element type and chose the schema to be the XSD which I am pasting below. I tried all kinds of ways to populate the data but I always get a selection failure error.
    I then just tried a simple setVariableData method to set the username and again i get the same error. How can I set the variable so that it returns me a collection back. Please help. I am pasting both the XSD as well as the java code that I tried to use. It would be great if someone could let me know what I have done wrong or is there any ways of doing this.
    Thanks so much
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.macerich.com/o2c"
    targetNamespace="http://www.macerich.com/o2c"
    elementFormDefault="qualified">
    <xsd:complexType name="LDAPEmployeeType">
    <xsd:sequence>
    <xsd:element name="UserId" type="xsd:string"/>
    <xsd:element name="firstName" type="xsd:string"/>
    <xsd:element name="lastName" type="xsd:string"/>
    <xsd:element name="operation" type="xsd:string"/>
    <xsd:element name="effectiveStartDate" type="xsd:date"/>
    <xsd:element name="effectiveEndDate" type="xsd:date"/>
    <xsd:element name="email" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="LDAPEmployeeCollection">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="LDAPEmployee" type="LDAPEmployeeType" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Status" type="xsd:string"/>
    </xsd:schema>
    Java Code I have written
    try
    setVariableData("Variable_1","LDAPEmployeeCollection","/ns1:LDAPEmployee/ns1:UserId")
    catch(Exception e)
    setVariableData("Variable_2",e.toString());
    addAuditTrailEntry(e);
    }

    Hi Marc
    I tried what you had suggested but i always get a BPEL error stating a selection failure.
    Im pasting my Java Code here with
    try
    java.util.Hashtable env = new java.util.Hashtable();
    env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(javax.naming.Context.PROVIDER_URL, "ldap://saturn:389");
    env.put(javax.naming.Context.SECURITY_AUTHENTICATION, "simple");
    env.put(javax.naming.Context.SECURITY_PRINCIPAL, "serenecorp\\rmohammed");
    env.put(javax.naming.Context.SECURITY_CREDENTIALS, "s3r3n3!");
    // Create initial context
    javax.naming.directory.DirContext ctx = new javax.naming.directory.InitialDirContext(env);
    //System.out.println(ctx.lookup("OU=Consultants,DC=serenecorp,DC=com "));
    // Specify the ids of the attributes to return
    String[] attrIDs = {"sn", "givenName", "mail", "createTimeStamp"};
    javax.naming.directory.SearchControls ctrls = new javax.naming.directory.SearchControls();
    ctrls.setReturningAttributes(attrIDs);
    // Specify the attributes to match
    //Attributes matchAttrs = new BasicAttributes(true);
    //matchAttrs.put(new BasicAttribute("sAMAccountName", "jale*"));
    String filter = "(&(sAMAccountName=*)(createTimeStamp>=20061116221624.0Z ))";
    //matchAttrs.put(new BasicAttribute("createTimeStamp", "> 20061115221624.0Z"));
    setVariableData("Variable_3","test2");
    // Search for objects that have those matching attributes
    //NamingEnumeration answer = ctx.search("OU=Consultants,DC=serenecorp,DC=com", matchAttrs, attrIDs);
    javax.naming.NamingEnumeration answer = ctx.search("OU=Consultants,DC=serenecorp,DC=com", filter, ctrls);
    javax.xml.parsers.DocumentBuilderFactory domFactory = null;
         javax.xml.parsers.DocumentBuilder domBuilder = null;
         domFactory = javax.xml.parsers.DocumentBuilderFactory.newInstance();
    domBuilder = domFactory.newDocumentBuilder();
         org.w3c.dom.Document newDoc = domBuilder.newDocument();
         org.w3c.dom.Element rootElement = newDoc.createElement("LDAPEmployeeCollection");
    rootElement.setAttributeNS("ns1","ns1","http://www.macerich.com/o2c");
    newDoc.appendChild(rootElement);
    while (answer.hasMore())
    setVariableData("Variable_3","test3");
    javax.naming.directory.SearchResult sr = (javax.naming.directory.SearchResult)answer.next();
    System.out.println(">>>" + sr.getName());
              javax.naming.directory.Attributes attrs = sr.getAttributes();
    if (attrs == null)
    System.out.println("No attributes");
              else
    org.w3c.dom.Element rowElement = newDoc.createElement("LDAPEmployeeType");
    rowElement.setAttributeNS("ns1","ns1","http://www.macerich.com/o2c");
                   /* Print each attribute */
                   for (javax.naming.NamingEnumeration ae = attrs.getAll(); ae.hasMore();)
    javax.naming.directory.Attribute attr = (javax.naming.directory.Attribute)ae.next();
    String id =attr.getID().toString();
    if(id.equals("sn"))
    id = "UserId";
    else if(id.equals("givenName"))
    id ="firstName";
    else if(id.equals("mail"))
    id ="email";
    else if(id.equals("createTimeStamp"))
    id="effectiveStartDate";
    System.out.println("attribute: " + attr.getID());
    System.out.println("Value: " + attr.get());
    org.w3c.dom.Element curElement = newDoc.createElement(id);
    curElement.appendChild(newDoc.createTextNode(attr.get().toString()));
    rowElement.appendChild(curElement);
    setVariableData("Variable_3","test4");
    rootElement.appendChild(rowElement);
    // Print the answer
    //printSearchEnumeration(answer);
    javax.xml.transform.TransformerFactory tranFactory = javax.xml.transform.TransformerFactory.newInstance();
    javax.xml.transform.Transformer aTransformer = tranFactory.newTransformer();
         javax.xml.transform.Source src = new javax.xml.transform.dom.DOMSource(newDoc);
    javax.xml.transform.Result dest = new javax.xml.transform.stream.StreamResult(new java.io.File("c:/test.xml"));
    aTransformer.transform(src, dest);
    org.w3c.dom.NodeList nl = newDoc.getElementsByTagName("LDAPEmployeeCollection");
    org.w3c.dom.Node nd = nl.item(0);
    System.out.println("XML---"+rootElement.toString());
    setVariableData("Variable_1","LDAPEmployeeCollection",newDoc);
    // Close the context when we're done
    ctx.close();
    catch (Exception e)
    setVariableData("Variable_3",e.toString());
    addAuditTrailEntry(e);
    I tried numerous things and today is the final day for my code completion. So i am in a bit of trouble. I just cant figure out what I have done wrong here. I have created a DOM document as you had suggested and then done a setVariableData onto the Variable_1 that i had created selecting the xsd that I had pasted in my previous post as the schema for the variable. I have the namespace set corretly as well. Any suggestions.
    Thanks so much in advance
    Message was edited by:
    user593748

Maybe you are looking for