BPEL process instance not created - Error

I have a BPEL Process that was working fine until I added a couple of sequence activities and I think thats when this problem started. Its wierd.
I have an XML fragment assigned to a variable and when I add a sequence and deploy it, it creates an instance but gives me the XML value error which is because of the whitespaces it adds in the bpel source. I then remove the whitespaces and deploy it. It doesn't create and instance. I add the whitespaces in and deploy it, instance gets created and gives me an error message, but when I fix the whitespaces and deploy it, instance doesn't get cretaed and I see the below message in the domain.log.
Also when I try to create an instance from the BPEL console it gives me a message saying 'Instance is being cretaed asynchronously'. My process is not an asynchronous process. I'm not sure what is happening.
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Transaction was rolled back: timed out; nested exception is: java.rmi.RemoteException: No Exception - originate from:java.lang.Exception: No Exception - originate from:; nested exception is:
     java.lang.Exception: No Exception - originate from:
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:152)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
     at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
     at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
     at java.lang.Thread.run(Thread.java:534)
Appreciate all your help.
Thanks
-Prapoorna

If you try what Anirudh suggested you may be able to get some more information.
I am guessing the problem is with the second operation of your web service. You can try throwing a try / catch any exception (bad standards, but sometimes useful for tracking down a problem) in your web service function and returning the exception values.
You can also try throwing a catchall in your BPEL process and use ora:getFaultAsString() to receive the error message. If you are using 10.1.3.1 this requires patch 5672007

Similar Messages

  • In-Flight BPEL Process Instances not getting Completed

    Hi,
    I have BPEL P.M. 10.1.3.1.0 running. In BPEL Console I can see few process in
    In-Flight BPEL Process Instances section. But in realty those process should be in completed section. When I login as bpeladmin in worklist application, I see those process are in completed status.
    What can be issue? Any one come across this? Any patch available from metalink to resolve this?
    Need help resolving this issue.
    Regards,
    Jigar

    I see this too sometimes. In my case it's mostly due to the fact that the first activity that takes places after the callback fails. E.g. a transform that fails with a type error.
    Check the bpel domain log file to find any errors in your bpel that's receiving the callback. There's probably something wrong with an assign or transform there.
    The domain logfile can be found @: $ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
    HTH,
    Bas

  • BPEL process instance getting created twice

    Hi,
    We have B2B - BPEL integration developed using AQ and we are using this for importing 850 Purchase Orders. It is a simple flow involving dequeuing 850 transaction message by the AQ adapter and processing the message through Receive, Transform and Invoke activities to invoke a PL/SQL procedure to insert data into the Order Management Open Interface tables.
    The issue we are facing is that the BPEL process instance is getting generated twice resulting in duplicate rows in the interface tables.
    Please if any one faced this kind of issue, let me know the solution.
    Regards,
    Balu

    This issue is closed. We were able to identify to cause for the issue. The EDI document came in with two POs which generated two separate messages.

  • Error in posting message to BPEL process instance

    Hi
    There is following Error associated with BPEL Process while invoking another BPEL Process called-Request For Invoice Information The SOA Server Log associated with this error is as follows-
    [2012-11-06T10:08:37.157+05:30] [soa_server1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 74be42f58e7a71c3:-749bd11d:13abbc92686:-8000-000000000000c717,1:31260] [APP: soa-infra] <.> Error in posting message to BPEL process instance.[[
    Error in posting message to BPEL process instance 200458 for callback operation onTaskCompleted. The task is associated with workflow default/RequestForInvoiceInformation!1.0/RequestForInvoiceInformationHumanTask.
    This could be caused if the BPEL instance is terminated. If it is not, this is possibly a system error.
    ORABPEL-30015
    Error in posting message to BPEL process instance.
    Error in posting message to BPEL process instance 200458 for callback operation onTaskCompleted. The task is associated with workflow default/RequestForInvoiceInformation!1.0/RequestForInvoiceInformationHumanTask.
    This could be caused if the BPEL instance is terminated. If it is not, this is possibly a system error.
         at oracle.bpel.services.workflow.task.impl.WorkflowCallback.onTaskComplete(WorkflowCallback.java:113)
         at oracle.bpel.services.workflow.task.impl.TaskService.invokeCallbacks(TaskService.java:6911)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:7628)
         at oracle.bpel.services.workflow.task.impl.TaskService.localHandleRoutingSlipInterpretationResult(TaskService.java:3564)
         at oracle.bpel.services.workflow.task.impl.TaskService.handleRoutingSlipInterpretationResult(TaskService.java:3688)
         at oracle.bpel.services.workflow.task.impl.TaskService.evaluateRoutingSlipTaskAssignment(TaskService.java:3490)
         at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcomeAndEvaluateRoutingSlip(TaskService.java:3445)
         at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcome(TaskService.java:3153)
         at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2011)
         at sun.reflect.GeneratedMethodAccessor1826.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy246.updateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.updateTask(TaskServiceBean.java:214)
         at sun.reflect.GeneratedMethodAccessor1825.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         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.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.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         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 $Proxy307.updateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_399vcw_EOImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_399vcw_EOImpl.updateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_399vcw_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.NullPointerException
         at oracle.fabric.CubeServiceEngine.post(CubeServiceEngine.java:626)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doCallbackPost(AsynchronousMessageHandler.java:76)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:195)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215)
         at sun.reflect.GeneratedMethodAccessor1589.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy310.post(Unknown Source)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.postToMesh(WorkflowServiceEngine.java:1560)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.doCallback(WorkflowServiceEngine.java:1683)
         at oracle.bpel.services.workflow.task.impl.WorkflowCallback.postToFabric(WorkflowCallback.java:346)
         at oracle.bpel.services.workflow.task.impl.WorkflowCallback.onTaskComplete(WorkflowCallback.java:109)
         ... 58 more
    Thanks
    Snehal

    The log entry shows that user : WALMART is missing on your user-properties.xml file.
    Please check that you have this user properly configured with jazn. Which version of BPEL you are using and what are the changes you are trying to do to the deployed project ?

  • When is an BPEL process instance created? Multiple creations?

    Assume I have a BPEL process which a
    RECEIVE at first, then some assignments and finally a PICK.
    In the first RECEIVE and the later PICK I can enable the checkbox
    "create instance". What is the difference?
    When I call the BPEL process from the BPEL console it is instanciated. Ok.
    But what happens if the workflow arrives at the PICK?
    Is it instantiated again?
    How comes?
    Similar question: Assume I disable "create instance" in the first RECEIVE
    and enable it only in the later PICK. Does the BPEL process start only
    from the PICK stage and disregard the preceeding commands ?
    Peter

    Hi,
    The createInstance flag tells the bpel engine it has to create a new instance of this process, and not to correlate the message to a created bpel instance.
    If you insert a pick with createInstance attribute, your process will be hang for ever. You won't be able to send a valid message to you pick since all your messages will go to the first receive activity.
    For your other question, activities other than start activities (scope,sequence, empty, receive, pick) must not be performed before start activities.
    The bpel process should not even build since all your previous activities won't be after a start activity (except if these are <empty> ...).
    Raphaël
    http://bpelsoa.blogspot.com

  • Instance not created in process chain

    Hi,
    we running a process chain in that 1 local chain failing due to instance not creating.
    in job log it was showing "perivous job not at finished" But pervious chain completed.
    it is the meta chain.
    how to trigger next chain?
    thnaks

    thnak

  • PHP always invokes Two BPEL process Instances

    Hello All:
    I have a BPEL process that I want to invoke from a PHP form. The problem that I'm having is that every time that I invoke the BPEL process from PHP, two instances of that BPEL process get created and invoked in the BPEL manager.
    Has anyone experienced this problem? I know that when I log into the BPEL console and initiate a test instance, I only get one, so my feeling is that it may be PHP. Here is a list of my environments:
    BPEL Server Environment
    OS Version - Microsoft Windows XP
    Oracle SOA Suite v10.1.3.1.0
    Oracle BPEL Console v10.1.3.1.0
    Client Environment
    Server Software - Apache/2.0.55 (Win32)
    OS Version - Microsoft Windows XP
    PHP Version - 5.1.4
    Zend Engine Version - 2.1.0
    Here is my PHP code for invoking the BPEL process:
    <?php
    $wsdl = 'http://localhost:8888/orabpel/default/ChangeCustomerName/1.0/ChangeCustomerName?wsdl';
    try {
         $client = new SoapClient($wsdl);
         $return = $client->process(array("cust_account_id"=>167484,"new_cust_name"=>"TESTING>"));
         if ($return->return_code == 'E') {
         echo 'Error: '.$return->return_message;
         } else {
         echo 'Success!';
    } catch (SOAPFault $e) {
    var_dump($e);
    ?>
    Again the problem is not that I can't invoke a BPEL process or that the BPEL process does not function properly, it is that when I do invoke it from PHP, I get two instances in BPEL.
    Thanks,
    Ben

    If you are using a tool like: soapui.org (Opensource SOAP client tool), and create a soap request, do you get the same behavior. If so, there is an issue in BPEL, otherwise in your PHP environment.

  • Service reads data but Bpel process does not start

    i have a very simple project. I have db2(as400) adapter and it reads data, i will receive data, transfom and send to oracle database. I deployed the project successfuly but when instance start i see the service reads the data but bpel process does not start and and there is no error. At the flow chart there is only readAS400 partnerlink, there is no bpelprocess. In the partnerlink i am usin polling, i read the data's with 1 and update to 2. It reads but dont update to 2.
    In deploy step and when instance starts there is no errors. But when i am deploying i get a warning but i dont know it's related with this situation.
    (Warning: property "activationAgent.readAs400.className" may not be understood by BPEL component BPELProcessEqpType - it will likely be ignored.)
    Do you have any suggestion ? Thanks in advance.

    check the recovery console, the bpel process possibly is going into manual recovery,
    Another thing you might wanna try is using checkpoints in your process..
    also, instead of getting the db adapter to instantiate the process, try a simpler process just to see if the db adapter is working or not..
    A normal process, which you manually instantiate from em console, with the db adapter in it after the recevie activity
    Edited by: AshishSharma on Jun 24, 2010 5:48 PM

  • Some failed BPEL processes are not tracked in BPEL Console (not hydrated)

    Hi all.
    I'm experiencing a problem at a customer which has a standalone BPEL install (they use BPEL 10.1.3.1 only)
    The customer is complaing that, due to some process errors, the BPEL process fails but, the process final state is not hydrated to database, so it's not possible to track the process execution.
    I built a simple test case and tested against BPEL 10.1.3.1 and 10.1.3.3. The test consists of:
    1 - A synchronous BPEL process using an Assign activity.
    2 - In the assign, I force an error condition, for example copying the expression parseEscapedXML('some bad xml string') to a variable.
    3 - I execute the BPEL process using the console
    4 - The process finishes with error, but you don't get any instance in the "Recently Completed BPEL Process Instances"
    This is a critical problem as we cannot track both what was successfully executed and what has failed.
    Failed instances like this one are obviously logged in appserver files, but this is not an accpectable monitoring alternative.
    This is even more critical because the customer does not have Enterprise Service Bus to mediate execution, where I could certainly track those failed ones.
    Any ideas?
    Is it possible to force hydration of all types of failed processes?
    Thanks
    Denis
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Additional info: Having the process "In Flight" due to the checkpoint and subsequent "error", if I manually abort the instance and visualize the audit flow, I can see which activity has caused the error.
    For example:
    1 - I execute the process. It executes the checkpoint() and the ora:parseEscapedXML(), which causes the process to terminate unexpectedly.
    2 - The process remains "In-Flight". If I go to the audit flow, it shows that the process has reached the checpoint activity, and nothing further.
    3 - I manually abort the instance
    4 - I check the audit flow again. This time I can see the flow beyond the checpoint, until the activity that caused the process to terminate (in this case the assign containing the parseScapedXML)
    What I conclude is that, when I manually abort the instance, BPEL hydrates the process part that was only "in memory" (the actual point where the process has stoped)
    Denis
    Message was edited by:
    [email protected]

  • BPEL Console In-Flight BPEL Process Instances

    Hi!
    We are using BPEL Console 10.1.3.4.0 to monitor all BPEL Processes, but we cannot see any In-Flight BPEL Process Instances in the Dashboard.
    Can anybody tell me what's wrong
    Thanks in advance!
    /Nick

    So, you have BPEL flows that are starting and completing, but do you have any flows that you think will run long enough for you to see them on In-flight section of the dashboard.
    In our project, the only flows that I typically see there are flows that are waiting on a receive, or on a "wait activity", other flows synchronous/asynchronous do not execute for long enough for them to be visable as being in-flight, unless I 'catch' then just after they have started.

  • ASE instance not available *** ERROR:ASE instance possibly left running when system went down(system crash?). Notify Database Administrator

    Hi Gurus,
    I made some changes in rz10 for client copy like:
    icm/host_name_full [email protected]
    login/accept_sso2_ticket 1
    login/create_sso2_ticket 2
    icm/server_port_1
    PROT=HTTPS,PORT=443$$,PROCTIMEOUT=600,TIMEOUT=600
    icm/server_port_0
    PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
    login/no_automatic_user_sapstar 0
    After to make changes effective, i stopsap & startsap.
    But unfortunately db is not coming up. I checked startdb.log it showing
    error as " ASE instance not available
    *** ERROR:ASE instance possibly left running when system
    went down(system crash?).
    Notify Database Administrator."
    Please help us to resolve this issue, i have also added startdb.log for
    your reference.
    Regards,
    Piyush

    Hi Piyush,
    Did you solved this issue.
    We are facing the same issue and only this thread is there in SCN for this issue.
    If you solved this issue,Kindly share the solution.
    Thanks and Regards,
    Mathan A

  • BPEL Processes are not showing in BPEL Console after OPMN restart

    Hi All,
    BPEL Processes are not showing in BPEL Console after OPMN restart. It was showing earlier before restart.
    Can some one help on this?
    Thanks

    Vikky,
    Are you using 10g?
    If BPELConsole is up but you don't see any process, you can go to the log files and see what is the problem.
    It might relates to permissions, or DB issues etc....
    Arik

  • API / Webservice to access the state information of a bpel process instance

    Hi,
    i have a question about the ccBPM runtime API.
    Is there a API or Webservice provided by SAP XI/PI, which accesses the state information of a bpel process instance.
    "access" means:
    1. At which activity is the current process instance located
    2. Access to the context information of the process
    Thanks and best regards
    Di

    Hi Swarup,
    Thanks for your quick reply.
    I designed a simple BPM process with less than 10 activities. To monitor the process running state i want to build a small AddOn instead of using the standard xi monitoring tool because of its complexibility.
    Thus i am looking for some useful informations about a api or webservice provided direktly by sap, which enables me to access (read only) the state information of a process instance. for exmaple at which activity is the current process instance located?
    Best regards
    Di

  • How to update the payload of a BPEL process instance

    Hi I have another question.
    How do I update the payload of a BPEL process instance without the activity being a Human Task. I know there are ton's of example showing how to update the payload of a user task using BPEL API's. But in my case I need to update the payload of a BPEL process instance which has no human task.

    Thanks
    For confirming that the payload in the BPEL process instance is read-only. Now I can see what alternatives I come up with besides the DB save option.
    Guys if you can take the time to answer/comment on another question I have posted in this forum that will be great
    here is the link
    Multi step Human Task
    Regards,
    Jayesh Nazre
    MCSD, MCSE, SCJP, PMP

  • How to handle no of BPEL process Instances

    Hi,
    I am facing issue at my cleint. Here is the scenario
    1) I have Business Event
    2) BPEL is subscribed to event using Oracle Application Adapter
    3) No every time new message comes in queue, causes new BPEL process Instances
    4) So suppose there are 1 million message per day then BPEL Server is dying.
    What is the best way to handle it?

    This is managed via the dspMaxThreads and ReceiverThreads parameters, by default these are set to poor values, dspMaxThreads by default is set to 100 (domain level) whereas by default ReceiverThreads is set to 40. According to the performance guide the total of dspMaxThreads for all domains should be <= ReceiverThreads, so making some adjustment to the dspMaxThreads parameter should help.

Maybe you are looking for