Single orchestration instance and Sequential convoy

Hi
I had read some Biztalk documents, I saw that talk about single orchestration instance and sequential convoy. But
I'm not sure with what situation use them?
1. What are scenarios use single orchestration?
2. What are scenarios use a sequential convoy?
Thanks in advance!

A single orchestration or a singleton provides you with a mechanism to control the throughput of message through the system. The behaviour of BizTalk is to trigger a thread for every message instance and when handling Message Batches, this is often not a
good thing as after debatching you land up with lots of messages, each of which trigger off an instance of the subscription.
A convoy is a more generalized pattern. If a convoy is deployed for the same message, it becomes a singleton. A convoy can be used to sequentially process different (but interlinked) messages. To take a very loose example, the entire process from order placement
to goods shipment to invoicing to payment can be implemented as a convoy with each different type of message being handled by one instance and being received from a single port. A convoy can also be used to implement the gather portion of the scatter-gather
pattern which is usefull when you want to aggregate the results of a batched processing, etc.
Regards.

Similar Messages

  • Sequential convoy issue

    I have an issue with an orchestration.
     I am using WCF-SQL receive adapter to poll some records. I splitted the message based on Richard Seroter’s blog (http://seroter.wordpress.com/2010/04/08/debatching-inbound-messages-from-biztalk-wcf-sql-adapter/).
    Then I am trying to group the messages based on some field using sequential convoy pattern. I created a correlation set and initialized the correlation set on the first receive shape and then followed the correlation set in the second receive shape which is
    in branch of a listen shape.  I can see the promoted property and the value of the promoted property is exactly same for some messages.
     So they are supposed to go to same orchestration. The problem is that the incoming splitted messages still activated new orchestration instances. The convoy is not working.
    Any suggestions about what could be wrong?
    Thanks,
    David
    David

    It is possible that the messages are getting debatched at a speed which results in multiple messages with the same correlation pattern getting instantiated at the same time. So when BizTalk Checks for an existing subscription (for the convoy) it does not
    find one and creates a new instance of the convoy.
    To test this out, I'd suggest you first put in two distinct records. This should result in four distinct instances. Then you again insert records matching to two of previous and then a new one. You should see your convoy working and a new instance being
    created of the new instance. If you do observe this pattern then you would be sure that the timing the messages are hitting the messagebox is causing the confusion.
    What you might have to do is first implement a singleton, which will force BizTalk to process the messages sequentially and then pass it through to a convoy.
    Regards.

  • Sequential Convoy and Long running transaction: Messages still referenced

    Hi everyone<o:p></o:p>
    Being a BizTalk developer since 2006, this thing still stumps me.<o:p></o:p>
    I have a sequential convoy singleton orchestration that debatches messages using a rcvPipeline. The orchestration is needed in a FIFO scenario. In order to execute a rcvPipeline
    within an orchestration I need to encapsulate it within an atomic transaction scope. <o:p></o:p>
    In order to have an atomic scope the orchestration needs to be long running. I have also encapsulated the atomic transaction within a scope (using long running transactions) to have
    exception handling.
    <o:p></o:p>
    Everything works fine except for one major detail:
    When the orchestration executes the messages are still in the messagebox. I can even click on the orchestration instance in the MGMT console and look at the message! Tracking is disabled for the receive port as well as for the orchestration. Still, the messages
    does not get cleaned up.
    <o:p></o:p>
    I have set my DTA-purge to 1 hour and it works fine, but the messages are still in the orchestration.<o:p></o:p>
    My guess is that the long running transactions does not complete (although it looks like they should) and since the transaction is not completed the messages are not removed from
    the message box.
    So, to summarize: Is it possible to combine long running transactions and a singleton orchestration?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

    So after a day of looking for the solution it is quite clear that you are right in that the atomic transaction does not commit. I added a compensation block with trace info and it is never hit.
    I also experimented with Isolation level on the atomic transaction and that did nothing.
    Lastly I also made the sendport direct bound and also tried "specify later binding" to a physical port.
    The messages are still being referenced by the orchestration! What can I do to make the atomic transation commit?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

  • DEV and QA within single oracle instance

    We need to have our DEV and QA in a single oracle instance. Scripts that refer to tables names in DEV will be copied over to QA for QA testing when unit testing in DEV has been completed. In DEV, we extract data from 5 source systems, one for each US state, which use the same application so the source table names are identical, and therefore in our staging area we have a schema per state such as TX, GA, MD and we extract data into staging tables that are identical to the source tables. Since we do cross state aggregation our scripts have to refer to TX.employee and GA.employee in the same sql statement.
    What is the best design for this using SCHEMAS, VIRTUAL PRIVATE DATABASES, VIEWS , SYNONYMS etc?
    Thanks in anticipation
    Edited by: user4900730 on Mar 22, 2011 2:53 PM

    user4900730 wrote:
    Just for my knowledge, if I did find myself in this situation would VIRTUAL PRIVATE DATABASES make sense here?I suppose you could potentially use VPD. But that would create major problems if you ever wanted to make schema changes-- you couldn't add a new column to a table in DEV, for example, without that column also being available in QA. You couldn't have code in DEV that didn't exist in QA. I suppose you could get really fancy and use 11g's edition-based redefinition to have a dev edition and a qa edition but I'd hate to think how you'd promote code to prod in that sort of environment. Plus, editions is an enterprise feature (at least, I'm not sure if it's an extra-cost option) which would tend to be beyond the pocketbook of a company trying to save on licensing costs by combining dev & qa in a single non-VM server (let alone in the same instance).
    You could potentially have your application use all dynamic SQL so that dev could use the DEV_TX schema while QA used the QA_TEX schema and it was just the TX schema in prod, but that obviously gets old really fast. You could create a single set of synonyms so that the TX_FOO synonym points to DEV_TX.FOO for the dev users and TEST_TX.FOO for the test users but then you'd have to remove the schema qualifiers from all your SQL statements.
    In short, an application like you describe trying to share an instance would be a rather massive undertaking.
    Justin

  • Migrating cProject and cFolder into a single server instance

    Hi,
    Has anyone had the experience to migrate cProjects and cFolderon seperated server instances into a single server instance? How data migration can be performed assuming cProjects server will be upgraded to 4.5 and the cFolders content will be ported over? is this something do-able? Or it is easier to upgrade cFolder first and migrate the cProjects data over?
    Since documents link in cFolder/cProjects could be captured in transaction table, how to resolve it?
    Would like to hear from anyone with such experiences... thank you.
    Yeu Sheng

    Hi,
    Is your new server Unix based? Are you planning to have 2 separate instances with separate DBs or are you planning to do a MCOD? Can you more details on what you mean by "2 in 1"?
    -RK

  • Sequential convoy scinario ,example and steps

    Hi all,
    I Am trying to implement sequential convoy for my knowledge.
    1-in which scenario I will use sequential convoy please give me an example(as i know that if we want to execute a process in predefined steps then we will follow sequential convoy).
    2-how we will implement this in our application ? what are the steps..
    Below are the steps which I am following for creating my test application
    a) created 4 schema
         1-firstname schema (id,fname)
         2-lastname schema (id,lname)
         3-Property schema(id) for corelation
         4-output schema (id,fullname)
    b)Orchestaion
    i have created 3 message.
    msgFname,msgLname,msgFullname.
    in designing of orchestation
    first draged a recive shape with activate ="true" and message type is "msgFname"  initialize corelation here
    draged a recive shape below the first recive shape with activate ="false" and message type is "msgLname" will following corelation here
    will do mapping with final output msg (msgfullname).and will send final output.
    while i m deploying application I m getting error
    "in a sequential convoy the ports must be identical"
    Please help me to overcome from this issue.
    Thanks
    Manoj Ruwali

    Hi
    Please check below few links about sequential convoy, I am sure they will be useful.
    http://abdulrafaysbiztalk.wordpress.com/2009/11/07/enterprise-integration-pattern-part-5-aggregator-sequential-convoy/ 
    http://msdn.microsoft.com/en-us/library/aa561843.aspx 
    http://msdn.microsoft.com/en-us/library/ms942189(v=bts.10).aspx 
    HTH,
    Naushad Alam
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or
    Mark As Answer
    alamnaushad.wordpress.com
    My new TechNet Wiki
    "BizTalk Server: Performance Tuning & Optimization"

  • Single OIF instance as both SP and IdP

    Is it possible to have a single OIF instance to be both a SP and an IdP simultaneously while integrated with OAM?
    I am running into errors and thought i would find out if this is even supported.
    If so, any special steps/tricks I should be aware of.
    Thanks,
    Raj

    I have got this working by myself :)

  • Single DB Engine and multiple DB Instances approach

    Hi Tech Arch gurus,
    Need some advice from all of you. We are currently planning to install SAP  training systems to latest versions.
    We are getting recommendations to goahead with Dedicated host for Oracle Installation where we have Single DB Engine and multiple DB Instances for all different 7 SAP Servers (ECC6, CRM7, BI/NW7.3, SOLMAN7.01, SRM7, EP/NW7.3, PI7.1).
    Certain things that need to be clarified before we go ahead with this:
    1.     How complex/simple is this approach ?
    2.     If there are some issues noticed in the future (Performance issues etc) in this landscape , how much effort will be required to migrate out a DB instance for an SAP product to another machine. We would be having both ABAP and Java stack for our systems.
    3.     We would later plan for adding some more systems into the landscape like SAP MDM, SAP CE, SAP BPC etc. If we add all these systems with a single DB engine, would there be performance issues etc. (We are operating under assumption that underlying hardware of the DB engine will be powerful enough)
    Can you please provide some expert guidance on this approach?
    Your response would be much appreciated.
    Thanks,
    MD

    As a consultant I never dared to do different from what SAP says in guides or notes, at least when it comes to PRD systems.
    For QA and Test Systems, discussions might be needed with the customer, depending on how important these systems are,
    and for sandboxes I already did some stuff, that will even scare some Oracle guys
    As Stefan says, the technical setup is not that complicate at all.
    But I never had to fight for a support call in a non-supported Environment, so I can't say.
    I always decided to be on the safe side.
    If you have your Oracle License directly from Oracle you might disscuss such special support issues with these guys.
    The problem is: If you get a call, and the first level support guy from SAP spots the non-supported environment, it MIGHT be possible that you need to escalate and may be pay for the support, but I suppose they will not let your system die
    May be some of the SAP moderator guys can throw a comment in on this.
    Volker

  • Dbca on single instance and crs problem

    Hi,
    in a machine was removed the crs software.
    I want to creata a single database instance on a single machine.
    The SO is RH 5.5 and the db is 11.2.0.2.
    I don't know what was done, but now, if i try to create a database with dbca, i get the following error:
    oracle.ops.mgmt.has.ClusterUtilException: PRKH-1010 : Unable to communicate with CRS services.
    PRKH-3003 : An attempt to communicate with the CSS daemon failed
    at oracle.ops.mgmt.has.ClusterUtil.<init>(ClusterUtil.java:69)
    at oracle.sysman.assistants.util.hasi.HAUtils.<init>(HAUtils.java:236)
    at oracle.sysman.assistants.util.hasi.HAUtils.getInstance(HAUtils.java:263)
    at oracle.sysman.assistants.util.NetworkUtils.getAllListeners(NetworkUtils.java:343)
    at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:333)
    at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:811)
    at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:258)
    at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
    PRKH-1007 : Exception Caused by:
    oracle.ops.mgmt.has.HASContextException: PRKH-3003 : An attempt to communicate with the CSS daemon failed
    at oracle.ops.mgmt.has.HASContextNative.allocHASContext(Native Method)
    at oracle.ops.mgmt.has.HASContext.<init>(HASContext.java:128)
    at oracle.ops.mgmt.has.HASContext.getInstance(HASContext.java:256)
    at oracle.ops.mgmt.has.ClusterUtil.<init>(ClusterUtil.java:67)
    at oracle.sysman.assistants.util.hasi.HAUtils.<init>(HAUtils.java:236)
    at oracle.sysman.assistants.util.hasi.HAUtils.getInstance(HAUtils.java:263)
    at oracle.sysman.assistants.util.NetworkUtils.getAllListeners(NetworkUtils.java:343)
    at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:333)
    at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:811)
    at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:258)
    at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
    at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
    Can anyone help me?
    Edited by: Davy on Oct 25, 2010 6:08 AM

    In 11gR2, you installed the grid infrastructure when you did your cluster install. This took care of CRS and ASM. Now you've removed CRS. If you're still using ASM, this would cause a problem because that still relies on the grid infrastructure.
    is there more info you can provide on the steps you took to get where you are? It may be good to just reinstall the grid infrastructure before proceeding.
    Dave<br>davelehr.com

  • Single SOA Suite Install with multiple oc4j instances and java processes

    We right now have 5 BPEL processes and 5 ESB processes all running under one java.exe process. We would like to seperate some of
    them out into their own java.exe processes without having to install more
    %ORACLE_HOME% instances of SOA Suite. I can create an oc4j instance but of
    course it doesn't have any SOA Suite stuff deployed to it. I tried to see what
    the install would do with this new oc4j instance but it wants to create a new
    %ORACLE_HOME% with an entire installation of SOA Suite.
    Is there some sort of way to clone oc4j instances that have SOA Suite deployed to them so that you
    don't need multiple %ORACLE_HOME% instances?
    ### How is this Issue Impacting Your Business ###
    We really don't want to have a lot of %ORACLE_HOME% instances to have to maintain. We are
    migrating projects over from our current integration server product and we'll
    have potentially dozens more BPEL and ESB projects. We definitely want to
    group and isolate projects so that outages of one project do not bring down
    others that are unrelated.
    We are currently experiencing periodic problems with one BPEL project that requires recycling but all the other BPEL and ESB
    projects get recycled also. If we could put this project into it's own java
    process without creating another SOA SUITE instance, it would be a big
    help.
    ANSWER
    =======
    You can create multiple domains in BPEL or create multiple systems/groups in ESB to group different projects.
    MY REPLY:
    =========
    We have been using systems/groups in ESB but they all run under the save java.exe process. I would assume that having a seperate domain in BPEL would also run in that same java.exe process.
    Right now, the one BPEL project we have a problem with will gobble up all the JDBC connections from time to time and that requires a recycle of SOA Suite, which means all BPEL and ESB projects that run in that java.exe process get recycled also. We're working that issue in a different ticket.
    It would be nice if the SOA Suite installation would install against a new oc4j instance and not assume it has to create a complete %ORACLE_HOME% instance. The components of SOA Suite seem to be J2EE based components.
    Scenario: I already have an oc4j instance called oc4j_soa and a complete %ORACLE_HOME% installation of soa suite. I then create a new oc4j instance from Enterprise Manager. Then I would deploy the esb-dt, esb-rt, orabpel, etc. components of SOA Suite to that new oc4j instance and modify the necessary config file so that it can work with OHS and the SOA Suite Databases. Is this possible?
    Does anyone have any experience with this or do people typically install multiple complete installation of SOA Suite with mulitple Oracle Homes?

    Hi,
    yes, on metalink you get in touch with real experts....
    You have to install serveral application servers to get different ORACLE_HOMEs.
    For each one, you can install a BPEL PM.
    But: For each BPEL PM you need your own database instance, or you have to configure them as a clustered BPEL installation.... (but i do not know if this work with non RAC DBs)

  • Multiple Orchestration instances getting generated

    I had a orchestration which query's for a particular WCF Service, If this service is live, then no issue, let's say a scenario where the
    service is down, then control will goto my exception block, inside exception block i had a suspended shape, just to suspend the instance, so that when the service the up, the Biz Admin will again resume the service.
    The issue we are facing is when service is down, Multiple Orchestration instances keep on generating, to talk to the service we are using a
    dynamic port, we are setting the properties of the port inside expression shape "TransportType" "Address".
    any pointers on resolving the issue(we just want one suspended orchestration instance) not multiple instances being generated,

    It a normal behavior and   happens when your receive location is being triggered by messages and your service is down .The service will give a exception and you are getting suspended messages inside your BizTalk.
    Better way is to have a sequential convoy working for your Scenario having delay shape .You can also have a loop shape which will be used to auto trigger the service after the delay time specified in delay shape.
    Another approach is to use ping pong tool to validate the web service . What you need to do is to add the ping pong assembly  in your Orchestration and send request to web service.
    https://gallery.technet.microsoft.com/WebService-PingPong-f734800e
    Thanks
    Abhishek

  • Problem when handling multiple messages using sequential convoy

    Hi Guys,
    We receive two files from FTP server. One is Order file and other one is notes file which is optional one. If the note flag in order file is 1 then we should process notes file as well. Here we implemented sequential convoy and it was working fine when we
    receive order file first and then notes file. it is throwing error when we receive notes file first as we set initialize correlation for Order file.  Please share your ideas what to do when we receive notes file first than order file?. Thanks!!

    Hi,
    i added debug points and ran it. i dropped one order file and one note file but it is initializing active instance for both order and note files. Here is the order of logs.
    Initialized Order
    Initialized Note
    followed Note

  • How to integrate Single Sign-On and JSF?

    Hi all,
    We are going to develop a web application using Oracle technologies, including ADF and JSF.
    But we´ll need to secure our website using Oracle Identity Manager (Single Sign-On). I am having difficulties to find any resource explaining how to do that.
    Also, the IM (SSO) will run on a Oracle AS instance and our web app (ADF+JSF) will run on a separete OC4J instance, due to ADF version. Is this a problem?
    Thanks

    We too are in the process of implementing iStore with SSO features.
    And if you believe me it seems to me as nightmare.
    In our scenerio we are intgrating this SSO with Third party access control too (AD and Siteminder). I would request you to please respond me on the following mail id , so we can share our experince which will help us in our implementation
    [email protected]
    regards and thanks in advance
    Vikas Deep

  • Starting single sign-on and directory service

    i am trying to install oracle 9i infrastructure on my clean win2000 box with 2.4 GHz proc and 1GB RAM.
    i am getting falilure messages for the following:
    infrastructure instance configuration assistant: failed
    oracle 9i application server randomize password: failed
    single sign on configuration assistant: failed
    infrastructure mod-osso configuration assistant: failed
    OPMN configuration assistant: failed
    log file says:
    Configuration failed for IAS
    IAS Instance creation failed
    Configuration failed for JAZN
    JAZN configuration failed: unable to establish a directory context.
    Configuration succeeded for IASProperty
    Configuration failed for IAS
    Configuration failed for JAZN
    after which single sign-on and directory service dont start. which means no connectivity :(
    can somebody please guide me about how to avoid this failure in installation or how to manually start these after installation.
    it would be a great help
    ashish

    Hi,
    we're having exactly the same problem.
    Could you tell me what the problem is with the network ?
    You say configure it properly but what do you mean ?
    It's installed on a Windows 2000 Server machine, it's own DNS.
    Thanks,
    Yuri Arts

  • Single Sign-on and HTTP Server not started

    I have installed oracle9iAS on SuSE Linux Enterprise Server 8 (SLES 8) which is certified by Oracle to run oracle9iAS. Everything was working propely after installation but when I restarted the server, the listener, the iasdb instance, and the EM started properly but when I went to http://servername:1810 and clicked on start all i got them all started but the HTTP Server and the Single Sign-on. When I tried to start the HTTP Server individually i got the following error:
    oracle.sysman.emSDK.util.jdk.EMException: The opmn request has failed. From opmn: HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html Response: 0 of 1 processes started. Check opmn log files such as ipm.log and ons.log for detailed.
    I checked the log and its showing the following:
    03/10/25 16:44:23 Connection 0,192.168.10.11,6200 message missing 'Content-Lengt
    h'
    GET /dms0/Spy?recurse=all&format=xml&operation=get&value=false&units=true&descri
    ption=true&name=%2F HTTP/1.1
    Host: linux2.future:6200
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: RPT-HTTPClient/0.3-3
    Cache-Control: no-cache
    Pragma: no-cache
    Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
    I tried to start it from command line with the command
    $dcmctl start -ct ohs
    and it returned ADMN-906025
    Anyone can help me solving this problem??

    This error Can be caused by a syntax error in your httpd.conf file, check it / correct it try reloading OHS.
    Ensure that emctl is not running when you run any dcmctl commands! If you have already run any dcmctl commands with emctl running that can cause your problem - if so to fix it solution is really to re-install.

Maybe you are looking for

  • FCP Display Gamma and brightness shiftsng a broadcast

    I am well aware of the standard recommendations for using a video monitor for critical evaluation of color and density. Having said that, however, I have been working on using a well calibrated Sony Trinitron computer monitor, and I have found a way,

  • Can I Embed a URL into Flash?

    Hi All, I have a dynamic graphic that is updated periodically.  I want to know if I can embed the URL into Flash.  The URL is: http://cache.www.gametracker.com/server_info/68.232.170.145:16567/banner_560x95.png?random =751479 I'm using CS4 but am dev

  • Built in Bridge on TC endpoints

    Hey, I am just new to the video side of things and I am trying to find out what TC endpoints have the 4 party built in bridge.  Is there a document that can show me this? Thanks, Cameron

  • Improvements of NWDI in NW2004s vs NW2004

    Hello, we are studying to upgrade the Netweaver Application Server in order to gain improvements in NWDI. We are using NW2004 support package 15, wich is the las sp to make changes in NWDI (at least that says the doc I've read about the support packa

  • SCCM 2012 connector not working roperly in Service Manager 2012 Sp1

    I'm using SCSM 2012 Sp1 and I've SCCM 2012 in my environment. I already configured the SCCM connector in SCSM. But it not showing the software inventory on the software tab. Reather then software inventory it showing every things. Please any one help