BPEL instance recreation for used correlation set.

Hi,
In our project we have deployed two composites in the first one we have used a fileadapter,mediator,webservice the flow is like from Fileadapter-->mediator-->webservice(1^st^ Composite) .
In the second composite bpel interface is web service and wrting to an outbound location using a file adapter. The flow is like webservice-->BPEL-->Fileadapter(2^nd^ Composite).
To achieve message aggregation,In the BPEL we have used co-relation set on ID.When we put file in inbound location having same unique ID it will be processed within the same BPEL instance and files having different ID will have different bpel instance.
So it's working as expected after deployment only once.The message are aggregated.But when we are putting some new files in the inbound location having same ID(i:e new instance to be created)there is no files are aggregated at outbound location.In console we can see the flow from fileadapter-mediator-webservice invocation but it's invoking the bpel component..
I am using BPEL instance corelation set to aggregate multiple message segment from same caller for 5 mins.It works fine no issues.
For the same corelation ser if I repeat the same requests after 10 mins it won't instantiate BPEL also does not give any error .
To make it work we have to redeploy the 2^nd^ composite everytime.
So can anybody please help us out on this how to resolve this issue.
Thanks In Advance!:)

Hi,
Even I am getting the same exception. Even tough my Process doesn't contain any conflicting Receive there is a pick activity that receives the Incoming call with two different messages. And logically it should not generate a conflicting receive.
Did anyone get the root cause of this problem. If someone can update this . It will be really helpful. I am trying to create the PL for the particular branch instead of the global PL as suggested in one of he blogs. I will also update if i get any new clues.
Thanks in advance.
Yogesh

Similar Messages

  • BPEL instance recreation for corelation set.

    Hi,
    In our project we have deployed two composites in the first one we have used a fileadapter,mediator,webservice the flow is like from Fileadapter-->mediator-->webservice(1^st^ Composite) .
    In the second composite bpel interface is web service and wrting to an outbound location using a file adapter. The flow is like webservice-->BPEL-->Fileadapter(2^nd^ Composite).
    To achieve message aggregation,In the BPEL we have used co-relation set on ID.When we put file in inbound location having same unique ID it will be processed within the same BPEL instance and files having different ID will have different bpel instance.
    So it's working as expected after deployment only once.The message are aggregated.But when we are putting some new files in the inbound location having same ID(i:e new instance to be created)there is no files are aggregated at outbound location.In console we can see the flow from fileadapter-mediator-webservice invocation but it's invoking the bpel component..
    I am using BPEL instance corelation set to aggregate multiple message segment from same caller for 5 mins.It works fine no issues.
    For the same corelation ser if I repeat the same requests after 10 mins it won't instantiate BPEL also does not give any error .
    To make it work we have to redeploy the 2^nd^ composite everytime.
    So can anybody please help us out on this how to resolve this issue.
    Thanks In Advance!:)

    Hi,
    try the BPEL forum
    BPEL
    Frank

  • Can we put time on receive activity using correlation sets ?

    I am using correlation sets for po process using ponumber.
    In our process we send po message out and then wait(receive) for the response.
    The receive activity will go into dehydration while waiting
    for the response with the ponumber.
    Is there any way to put a time on this receive activity so that we
    can continue with the flow after certain time.
    I was able to terminate the whole process by putting alarm
    around the receive, but I want the process to just stop the
    receive activity and continue with rest of the process.

    Hi,
    By substituting receive with pick/onMessage/onAlarm, you should be able to implement the behavior you are looking for.
    -Edwin

  • How to use Correlation set to persist record in BPEL for multiple request

    Hi ,
    I need to persist record in BPEL as it a stateful.I am using soa suite 11.1.1.5 v.The purpose is to persist multiple messages from single service/partnerLink(JMSAdapter)and aggregated to form a group message using BPEL correlation set concept
    There are 5 message in a JMS queue like 1st message ->one,2nd message->two,3rd message->three,4th message->four,5th message->empty
    All are text messages.Last message/string is an empty message.
    IS it possible in bpel to fetch all the 5 message(using JMS adapter) under one single instance and append all messsage until empty string is not coming?
    My final output would be one single message:*onetwothreefour*

    Can you contact me offline @ [email protected] ?

  • Correlation set "Correlation_set" is not initialized. It cannot be used in a receiving activity. Fault is thrown.

    Hello,
    My bpel goes something like this:
    Main processing
    Receive activity (associated correlation set with initiate set to Yes)
    on Event - activity 1
    Receive activity is main. If I keep activity1 correlation set - initiates as Yes. then process will work but onEvent - activity1 will create new instance and will not update existing instance.
    To update the existing instance, I nned to make its instantiate value as "No".
    After changing instantiate value to "No", When the BPEL process is started, with the first message (main receive activity), I get the following error message:
    Correlation set "Correlation_set" is not initialized. It cannot be used in a receiving activity. Fault is thrown.
    Is there something I am missing?
    Thanks,
    Amit Pamecha.

    Hi Amit,
    Please refer the following section in SOA Developer Guide.
    Using Correlation Sets and Message Aggregation - 11g Release 1 (11.1.1.7)
    Also Refer the following sample for use of correlation sets.
    bpel-305-InboundCorrelationShows how to perform message correlation within BPEL
    http://java.net/projects/oraclesoasuite11g/downloads/download/BPEL/bpel-305-InboundCorrelation_1.2.zip

  • BPEL orchestration, correlation sets.

    Hi,
    i'm a beginner, i have to coordinate those three projects:
    is it possible with bpel 2.0?
    i tried using correlation sets but bpel engine stop during the invoke in "proc.bpel".
    i think it happens because "proc.bpel" doesn't know where to redirect its message (Auth first receive or Auth second receive?)
    Thanks.

    I have three bpel processes: Portal.bpel , Auth.bpel , Proc.bpel
    the full orchestrated sequence of calls is the following:
    -Portal invokes first Auth
    -Auth receives the call and then reply to Portal
    -Portal then calls Proc waiting for a Reply.
    -Proc, before replying to Portal, has to invoke Auth.
    in this exaple, Auth has two Receive in its process: the first from Portal, the second from Proc.
    When Proc calls Auth is not able to distinguish which Receve to point, so Auth.bpel process fails.
    I've tryied to map the two different variables received by Auth (one from Portal, the other from Proc) into two different correlation sets, but it doesen't work.
    sorry for my bad english.
    thank you very much

  • Correlation sets

    Hi,
    Is it possible to use correlation sets for correlation multiple messages.I mean more than two messages.If so how to achieve this.For example I should return a response only after say 10 number of messages of the same group have arrived.

    My understanding is correlation sets should be used to 'rejoin' processes based on a unique id. Once the id has been matched, this is a trigger for the process to continue. I have not seen a use case that allows you to wait for multiple correlations before returning. You could have a while loop, which counts the number of invokes and recieves and completes after 10, but this does not feel right to me as unless you can ensure each call will return in order, it may involve a lot of potential pitfalls.
    Sorry if this is not too helpful, but I would revisit the requirement.

  • Build up correlation set problem

    Hi everyone,
    I follow "Using Correlation Sets Example" in Developer's Guide as a model to build my own simple process.
    But got a compiling error said:"Error:null", that's all.
    Does anyone know what's going on here??? Do I miss something??
    Any document else?
    I would be happy on any reply..
    Thanks,
    Elvis.

    Check your wsdl!
    When I have this problem - I see 2 problems with wsdl (BPEL Desinger damage it, I don't touch it!):
    1) missed xml header string (1-st string):
    <?xml version="1.0" encoding="UTF-8"?>
    2) added import of itself:
    <import namespace="http://xmlns.oracle.com/<BPEL_ProcessName>" location="<BPEL_ProcessName>.wsdl"/>
    If it is you case, remove this import and add xml header string.
    Error must gone now.
    Sometimes it happens with BPEL Designer - this may be a bug...
    ORACLE - do you here??!!
    Check it please ;-)
    P.S. By the way. In my case this happens in 10.1.2.0.2
    Message was edited by:
    occ2000

  • Simple (I hope) Correlation Set question

    Hi,
    I have three composites A, B and C
    Composite A calls Composite B
    Composite B may call direct back to A, or it may call C
    Composite C will always call back to A
    I need to use Correlation Sets to make this work.
    Composite A has a wsdl (a.wsdl) which includes a Response Message (which B or C will use)
    Composite B has a wsdl (b.wsdl) which includes a Request Message. (A will call it’s request message)
    Composite C has a wsdl (c.wsdl) which includes a Request Message. (B will cal it’s request message)
    This is my first attempt at using Correlation Sets, so my logic may have some mistakes.
    My first goal is to get composites A and B working in the test case where B calls A back directly.
    I am using the ID of the original message as a single correlation property.
    I think I need to add the following lines somewhere amoung these three wsdl’s:
    <bpws:property name="COR_ABMID" type="xsd:string"/>
    <bpws:propertyAlias
    propertyName="tns:COR_ABMID "
    messageType="tns:requestMessage"
    part="part1"
    query="/inpl:message/inpl:header/icabmcommon:ABMID"
    xmlns:icabmcommon="http://ic.ac.uk/AIAMetaData/AIAComponents/ApplicationObjectLibrary/IC/V1/IC_ABM_COMMON"
    />
    <bpws:propertyAlias
    propertyName="ebmabcs:COR_ABMID "
    messageType="ebmabcs:ProcessTransactionRequestResponseMsg"
    part="part1"
    query="/abm:messageResponse/abm:body/abm:P_CORRELATION_ID"
    />
    The problem is that the above code references both the request message in b.wsdl and the response message in a.wsdl.
    Do I need to add them all to a.wsdl, add them to b.wsdl or add them to a combination of both a.wsdl and b.wsdl?
    Thanks in advance for your advice
    Robert

    I have adventually got this working by leavign my MDS wsdl's completly alone and allowing JDeveloper to make lots of reference wsdl's and other changes.
    Using source control and backing up every single JDeveloper interaction is essential to get this stuff working

  • BPEL instance number in the XSL

    How can I reference the current BPEL instance number in an XSL?
    I figure it would handy to have the unique BPEL instance number for trouble shooting if there is a problem with the interface.

    hi
    I am facing problems using getInstanceID inside XSLT
    the expression not only returns null, but also produces problem in transforming remaining nodes.
    I need to use this inside XSL map since i have multiple inputs ( using for-each in transform) and for each of these, i need instance id to be assigned
    Is there any way?

  • Using Correlation in Initiator Task

    Hi All,
    I have a Manual BPM Process. At anypoint and time, to gain access to existing instance I'm using Event Sub-Process inside the same BPM Process.
    To hook up with the right instance I'm using Correlation in Event Sub-Process. It's start node activity uses the correlation property.
    Now the problem is, where do I initiate the correlation property, since the process is kicked of by the initiator. If I initiate correlation in the Human Task I'm receiving Correlation Violation Exception.
    Please share your thoughts.
    Two Cents,
    Karthick

    Hi,
    I had faced the same problem earlier also. The solution is very simple. You have to create another correlation with same properties  as the first one but with a different name. Now you will definitely be able to select the correlation.Select any one of the 2 correlations as they are doing the same tasks.
    Hope it helps you buddy!!!!
    Thanks
    Biswajit

  • Python script to automate the manual recovery of BPEL instances in SOA 11g

    I have a requirement for automating the manual recovery of BPEL instances pending for recovery at a particular time. It will be called inside a cron job.
    Any help will be much appreciated.
    Thanks in advance,
    Ravi Prakash

    Hi,
    When I try to recover the instance that is waiting for manual recovery, I didn't see anything happening.
    Also the the fault policy is active and working fine during the retry intervals. That means If I disable one of the webservices and enable them during the retry it is success after some failure retries.
    Any ides why the recovery not working in SOA 10.1.3.3
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using the same correlation set to multiple instances of the same process

    Hi all,
    Assuming that I have a Purchase Order with multiple items and I have a BPEL process that is triggered for each item.
    When the Purchase Order is cancelled by the customer, I want to cancel all BPEL process that is still running. I'm using SOA Suite 11.1.1.2.
    My first attempt was to use an event handler associated to a cancellation operation, but I couldn't do this because when the second BPEL instance was started, a conflictingReceive BPEL Fault is triggered. This occurs because BPEL can't have more than one active receive/on message using the same correlation set.
    Another way to do this is using a different correlation set for each instance (somethig like a composite key - Purchase Order ID + Item ID, i.e), but in this way I need to know all composite key in advance and send one message to each instance specifically.
    Anyone have any suggestion of how to cancel more then one instance of the same BPEL process using Event or a generic way that does not need to send one message for each instance?
    Events work very well to start more then one BPEL process but does not work well to receive an intermediate message during process execution because in this case we need correlation set to associate the event with the correct instance and BPEL does not support more then one instance of the same BPEL process waiting for the same correlation set.
    Any suggestion will be very welcome.
    Thanks in advance,
    Rafael

    Never mind. I got it.
    I put the iisforward.dll and .ini is a seperate folder, and edited the iisproxy.ini's to include the portnumber like this. And I changed the hostheaders in IIS to Site1, Site2 etc
    vhost1=Site1:80
    Site1:80=C:\Sites\Site1\iisproxy.ini
    vhost2=Site2:80
    Site2:80=C:\Sites\Site2\iisproxy.ini
    vhost3=Site3:80
    Site3:80=C:\Sites\Site3\iisproxy.ini

  • BPEL PM looking for correlation id

    Hi.
    I have BPEL process with 2 receive activities and correlation set. In first initialize I set correlation id.
    For example: process is Ordering and correlaion id is Order number. Admin sometimes have to look at instance of order.
    Is there posibility in BPEL PM or Console find instance with given correlation id.

    Great tip,
    more you can read here
    http://orasoa.blogspot.com/2007/01/overule-bpel-instance-name.html
    http://blogs.oracle.com/rammenon/2007/05/22#a11
    but coleague swear that there is some possibility to see correlation id in BPEL console
    May be ESB console trackable values can be used this way but I don't know how.

  • BPEL Process instance termination based on correlation

    Hi All
    Looking for a sample BPEL (not BPM) Process for instance termination based on correlation (say while an order process in running, customer can cancel order anytime).
    Thanks a lot in advance.
    regards
    sibendu

    Hi,
    Inorder to work with correlation sets, you need to define what is the unique element you want to share across multiple instances....so how to execute a long running process...you can do many things like userRegistration, AuctionSystem, VotingSystem with correlations...
    For that, define the correlation set property and choose a unique id for that...,then define the correlation set and add the correlation set property which you have defined earlier...Now associate this correlation set property in all the messages you exchange with your BPEL ...See the exact syntax in Oracle DOcumentaion and work on your flow...
    Thanks,
    N

Maybe you are looking for

  • Can't rename folder in main directory and changes need to be authenticated

    This just started today: I can't rename folders in my main directory, and I can't move anything in or out without authenticating. Yesterday I had remote tech support working to fix Parallels, and I suspect that the tech support guy changed a setting,

  • Error in File ****.rpt: The table could not be found in

    Hi , I have a Crystal Report which uses a stored procedure to get it's data. The stored procedure has no parameters but it is pretty complex and gives a resultset in the end with a select statement. I designed the report in CR 11.5.12.1838. The repor

  • Why can't I play the games in General Knowledge for Dummies?

    As soon as I click on themed questions or anything (apart from Hangman), the ap closes and I don't know who to contact for a refund of purchase of game.  Tried enquiring through Twitter and then noticed that last tweet from Game Center was in 2012!

  • How do I cut pieces from a picture?

    I have a clip where I need footage of the floor. Part of the carpet has spots on it. I want to copy nice sections of the carpet, then mask out the bad section and have the good pieces pieced together below the mask. It should be possible and easy, bu

  • Where is Address Book data located?

    I know the Address Book application is located in applications but I can't find the old address book data from my previous internal hard disc (which information I am now accessing via an external reader). Thanks all!