Non/late closing conversations without fire and forget

Hello.
I have two Service Broker instances running on different Servers. Both are constructed the same way but only one of them has trouble closing conversations. This problem started to occur on the 16th of October months after the start of the Service Broker.
Both queues are in the same database. Most of the time the conversation close normal but on some days the conversations close late or never. Here is my monitoring of the conversing conversations per day:
10/16: 1
10/24: 1
11/04: 20119
11/05: 24207
11/06: 29848
11/12: 1
11/19: 1
11/27: 1
On the 28th of November in the morning I saw 10748 open conversation for the 27th but the number was decreasing down to one open conversation. As you can see on days where the problem occurs at least one open conversation remains.
I do not understand why this happens. The only difference between the two Service Broker instances is the reliability of the network over which a webservice is called on the receiving end of the Service Broker. Can this unreliability cause conversations
to remain open or close late?
Here an example for a conversation which remains open:
conversation_handle conversation_id is_initiator service_contract_id conversation_group_id service_id lifetime state state_desc far_service far_broker_instance principal_id far_principal_id outbound_session_key_identifier inbound_session_key_identifier security_timestamp dialog_timer send_sequence last_send_tran_id end_dialog_sequence receive_sequence receive_sequence_frag system_sequence first_out_of_order_sequence last_out_of_order_sequence last_out_of_order_frag is_system priority
EB108673-573A-E411-A731-2C44FD81E734 09AB4E1D-3EEF-4CAA-8358-85B50CCEE472 1 65536 EC108673-573A-E411-A731-2C44FD81E734 65536 2082-09-30 11:47:31.377 CO CONVERSING //SAPReceiverService A3869A41-8F7C-4C13-B378-C5FA0DA7492E 1 -1 00000000-0000-0000-0000-000000000000 00000000-0000-0000-0000-000000000000 1900-01-01 00:00:00.000 1900-01-01 00:00:00.000 1 0x29CB4D000000 -1 0 0 0 -1 0 0 0 5
4E7F19AB-AE65-E411-A731-2C44FD81E734 01EA85EB-A3A8-41CE-BDC0-85B5261553D3 0 65536 4D7F19AB-AE65-E411-A731-2C44FD81E734 65538 2082-11-24 15:27:35.827 CO CONVERSING //SAPSenderService A3869A41-8F7C-4C13-B378-C5FA0DA7492E 1 1 00000000-0000-0000-0000-000000000000 00000000-0000-0000-0000-000000000000 2014-11-06 12:46:36.540 1900-01-01 00:00:00.000 0 0x000000000000 -1 1 0 0 -1 0 0 0 5
Thanks in advance
Susanne

Since we don't know exactly your Service Broker applications are implemtented it is hard to tell. Could you at least give an outline of the architecture?
You have a initiating process? This process sends a message on a service. The receiving queue is in the same database? But what form of activation do you have? Internal, that is a the queue has an activation procedure? Or external, where a process calls
a stored procedure to pick up the data?
Once data has been picked up, what happens next? Does the target end the conversation? How is this handled on the initiator side? Or do you reuse conversations?
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • How to call a local protocol proxy service in Fire and Forget manner

    Hi,
    I have two proxy services ProxyA(Http proxy) and ProxyB(local protocol based). I have to call ProxyB from ProxyA but dont have to wait for the response from ProxyB, so its like a aysnc fire and forget call. I tried using publish action with the Mode set to "Request" but the ProxyA keeps waiting for the response from ProxyB. Has any body implemented such kind of scenario? Thanks for your help.
    Regards,
    Anuj

    Ok, I understand. The crucial question here is "what is a caller that you refer to?"
    Don't get me wrong, but the problem here is that you probably don't understand, what OSB is good for. OSB is an event-driven system. The event in your case is a new message in remote FTP server. You have to define what should happen when that event is fired. And that's all. You don't have to involve other client (or caller) for this case.
    You should define your FTP proxy to retrieve all relevant files from FTP server and then you should route them based on their name/content/encoding/whatever to different consumers. You can also have many proxies if you want - one for each name. It's up to you. But you don't have any "callers" in either case.

  • Immediate Response required for Fire-and-forget OSB pattern.

    Hi,
    I have a BPEL process (fire-and-forget pattern) which runs for few minutes, but want to send an immediate response back to the caller. The important condition is to have a Proxy implemented as a WSDL-based service type.
    For this, I am calling BS (of BPEL process) in request pipeline and sending a changed $body in response pipeline; but the OSB response document us null, though in response pipeline, I do see $body getting replaced.
    Any pointers will be really helpful.
    Thnx,
    Nikhil

    like AbhishekJ said
    if you defined your operation in the wsdl for the proxy service oneway and in the testconsole you do see the body is getting replaced after the routing is executed it's mostly like because of the oneway operation on your proxyservice itself, make it synchronous and do a test again?
    or put a replace with some static xml in the response pipeline, remove the route and see if if still returns null
    then you're pretty sure it's the oneway operation in the proxy wsdl itself

  • Fire and forget OSB service (wsdl based)

    Hi,
    OSB proxy service message flow comes with request and response pipeline. Thus the OSB service will always be a blocking service. The proxy service based on wsdl having only input parameter will still be blocking call for the client. Is there a way to expose a wsdl based proxy service as one way (fire & forget) ?
    Thanks,
    Viv

    You can do the same using Async WSDL service.
    Or use  the action "Reply with Success" in request pipeline after the flow. which simply means, request has been successfully submitted to OSB proxy.
    e.g.  WSDL> ProxyService> putting in JMS> Reply with Success.

  • Content conversion without delimiter and key fields

    I am pretty new to XI, so it has been very challenging till now... (and someway I want to keep it that way) But this problem has kept me awake a couple of nights, so I will unleash it to the XI experts at SDN!
    I have to read a legacy file (customers are ordering stuff) with the following content into XI. I finally found out you can use file content conversion to do the job, but I have only seen scenarios where people can use delimiters or key fields so far. I suppose XI can do this job as good as the others, but the question is how it has to be done! :-s
    Do I have to use key fields? Or can I simply state there will be 1 header line, X order lines, 1 EOF line?
    Sample content:
    100207.310551
    0107299700001
    0108658400001
    0109575600001
    1200276500001
    0109745600001
    9999999999999
    Header line containing the customer (100207) and the ticket number (300551) separated by a dot.
    In this case 5 order lines containing material (8 digits, ex 01072997) and quantity (5 digits, ex 00001)
    Line containing only 9's to indicate the end of the file has been reached.
    Thanks in advance!
    Sven

    Hi Sven,
    This FCC might help u..If your structure like ...
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:bestin xmlns:ns0="http://test.com">
    <recordset>
    <header>
    <client>100207</client>
    <ticket>310551</ticket>
    </header>
    <item>
    <material>01072997</material>
    <quantity>00001</quantity>
    </item>
    <item>
    <material>01086584</material>
    <quantity>00001</quantity>
    </item>
    <item>
    <material>01095756</material>
    <quantity>00001</quantity>
    </item>
    <item>
    <material>12002765</material>
    <quantity>00001</quantity>
    </item>
    <item>
    <material>01097456</material>
    <quantity>00001</quantity>
    </item>
    </recordset>
    </ns0:bestin>
    then
    RecordStructure----header,item
    otherwise
    RecordStructure----client,ticket,item
    client.fieldFixedLengths----give length of client
    ticket.fieldFixedLengths----
    item.fieldFixedLengths----
    client.fixedLengthTooShortHandling--Cut
    ticket........same
    item.....
    client.addHeaderLine--0
    ticket........same
    item.....
    recordsetStructureOrder---var
    Cheers!
    Samarjit
    Message was edited by:
            Samarjit Dey

  • RMBP Late 2013 crash without log and have to restart by power button

    I bought rMBP around November last year.
    As I open Chrome, it crash without log.
    The only solution is to restart it with power button.
    I can't find the report by chrome://crashes and ~/Library/Logs/.
    I think the kernel_task doesn't make it.
    Are there anyone else got the same problem and solution?
    Is there a proper noun for crash and have to restart it by power button?
    Version:10.9.1(13B3116)

    I would reformat the drive then reinstall Lion:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • When I try to add video to iMovie on iPod Touch, none of the videos show up to be added. I've restarted the iPod twice, closed all the apps and then reopened iMovie. Please help!

    When I try to add video to iMovie on iPod Touch, none of the videos on the Touch show up to be added. I've restarted the iPod twice, closed all the apps and then reopened iMovie. Please help!

    Now You lost me (without using a computer?) - Most probably due to that I've not got an iPod Touch but mine is seven Years old - so it most probably work in a totally different way.
    Sorry
    Yours Bengt W

  • AppStore asking for Credit Card information and I don't see "None" option to continue without providing credit/debit card details

    Hi,
    AppStore and iTunes on my MacBook Pro (OS X - 10.8.5) are asking for Credit Card information and I don't see "None" option to continue without providing credit/debit card details
    I tried changing country etc. but stll I can not proceed without credit card. Please help..........!! Thanks in advance.
    Regards,
    Akshay

    The post here by "TehYoyo" helped:
    https://discussions.apple.com/thread/4725517
    I had to create new apple ID as mentioned there and then the stupid "None" option showed up.  Don't understand why this though!
    Cheers,
    Akshay

  • My iphone 4 s has been losing service all day and freezing is anybody else having this prob its even to the point i cant hold a phone conversation without it cutting off.

    My iphone 4 s has been losing service all day and freezing is anybody else having this prob its even to the point i cant hold a phone conversation without it cutting off

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • I have a new Dell Inspiron 15R. I closed it without shutting it down and when I tried to start it up I get a blank screen with my cursor. What's wrong.

    I have a new Dell Inspiron 15R. I closed it without shutting it down and when I tried to start it up I get a blank screen with my cursor. What's wrong.

    You may get a reply here but it's best to post a question in the columns it naturally belongs to; in this case Dell forums.

  • Pop up dialog async call and forget

    Hello,
    I do not really have experience with dynamic VI calls, so I would like to ask for some help.
    Here is a (screenshot only) part of my MAIN VI, where I call a pop-up dialog VI using the "dynamic call and forget" method:
    I only pass one reference into this VI, the ref of the pop-up button, so when the user closes the pop-up window, I re-enable this button on the MAIN front panel. This pop-up dialog functions as a Graph monitor, it can update its Graph using an ActionEngine which is a buffer. So please ignore the missing type defs and the ActionEngines, they are not relevant in this case. Find this pop-up dialog attached.
    Actually my application just works, I only started to get some problems since when I included the "MGI Save & Restore Settings.vi" in this pop-up dialog, in order to save Graph settings to a config file (the application will be used as a built exe). When I close the pop-up VI, I can see the Graph settings are properly saved into the *.ini file under the "Documents" folder. However, when this file exists already, and I call this pop-up VI, I get the following error (so when the MGI VI is fired with the "Restore" action at the beginning of my dialog VI):
    I have three questions:
    What I do is it OK? I mean to pop-up such dialog, is it OK to use the "call and forget" method?
    When the user closes the panel of the pop-up VI, does it stay in the memory? Do I have a memory leak, or it closes properly? (I think not...)
    I do not understand the error produced by the MGI Toolkit VI, it has something to do with the dynamic call method? I even feed it with the static VI reference of the pop-up VI itself. Before I tried the "This VI" reference constant, but getting same error.
    Edit1: hmm, maybe the MGI toolkit is not compatible with Graphs with multiple Y-axis?..I will test it...
    Solved!
    Go to Solution.
    Attachments:
    popup_Graph_dialog.vi ‏46 KB

    Sam_Sharp wrote:
    A few points I noticed:
    - Using the call and forget method for launching custom dialogues is fine and something I do quite often - you just need to make sure that your called VI will shutdown correctly when your application closes (if they leave the dialogue open and close the software, for example)
    If you have a look at the attached VI, if the user closes the FrontPanel by the "cross at top right", the VI will finishes running, yes? If this dialog is open when the user closes the top level MAIN VI, how should I check it and close the pop-up VI? I could maybe check if the dialog is open via an invoke node? So maybe the best would be not to close the VI Reference after the dynamic call, but store it in a shift register, so I can use it later...hmm, I am not sure what is the most simple thing here...
    - I usually use a Strictly Typed Static VI reference (right click the Static VI Reference) for getting the name/path and the VI Type Specifier - it makes sure that your ACBR node always matches the VI you're calling and cleans up the block diagram slightly
    I will try this.
    - The references you're passing into the MGI functions: "This VI" is definitely the right reference to use as it returns the reference to the clone/instance of the VI that's running rather than a Static VI reference which refers to the Original VI. In your case you can only have one instance of the VI running (because it is non-reentrant) so I don't think it matters here (but I'm not sure?!). I think this will fix the issues with the MGI functions.
    Hmm, me neither sure what is going on But I already used the "This VI" constant, and the error was the same. Anyway, I try again, maybe I cannot remember
    - I also suspect an issue around closing the VI reference after the ACBR node and having a non-reentrant VI but I usually use reentrant VIs and allow multiple calls so I'm not exactly sure of what happens in the non-reentrant case.
    As the first point, I will only close this ref when I quit the MAIN application.
    Thanks for the suggestions! I will post back. (i hope using bold is OK

  • My Droid will not power on.  Yesterday none of the apps would work and today. Nothing at all.

    Yesterday, none of the apps on my phone would work.  Texting and calls went through fine.  This morning I woke up with the initial set up screen showing, I went through the process but, still had no access to apps.  About an hour later, the phone shut off and will not come back on.  What happened and how do I fix it or can it be fixed?

    It possible from reading your post that you may have let the phone battery go into a deep discharge state without knowing it. If that is the case your battery voltage is far to low to reboot your device in a normal manner.
    Try restarting the phone in a safe mode to reduce app use and voltage and current needed. Do this while the original AC charger is connected to your device and plug into the AC outlet, this will help sometimes to give your device an extra voltage kick to restart the normal battery cycle. However if your device has gone to low in the voltage cycle you may need a new li-ion battery installed.

  • Kindle Fire and Adobe Air plug in + Air 2.7 + gpu + landscape + full screen

    Alright I got a couple of issues here.
    First I was on air 2.7 trying to convert an app that is designed to run in gpu mode, in landscape orientation, and full screen, well this is a known bug on 2.7 and the work arounds I found did not solve my problems or I was not clear on implementing them.
    Then I figured I go 3.1, surely that issue is fixed by now, run the app on my Kindle Fire and it tells me my air is out of date so it prompts me to go to the Amazon app store for an update except when I do it just takes me to the free app of the day page and I can't manually find the air app through the built in amazon app store, I see it on the web version but cannot download it, and if I am having this problem all the users will too so some solution like getting it off the android market and putting on the fire manually is useless.
    It seems that there is no plug in available on the amazon app store that will allow the fire to run applications built in 3.1, is this true? I've seen a few posts regarding this. And if true, why and when will this be fixed? I wasted a day with this problem when I could have been doing some design.
    Any ideas or suggestions are welcome.

    A word of caution:
    the Amazon Appstore checks for Kindle Fire support AFTER it accepts app updates.  So a developer can unknowingly break KF support, and still get app updates accepted into the store!
    Here is an e-mail I just sent to Amazon's KF team:
    FYI, there is a significant loophole in your submission pipeline:
    1) All my apps use Adobe AIR.
    2) For the longest time, they were all compiled with AIR 2.7 so there was no problem.  I got a bunch of downloads, including from Kindle Fire users.
    3) A week ago, I updated most of my apps to AIR 3.1, and broke Kindle Fire support, without my realizing it, because I didn't know that the KF only supports AIR 2.7.  Unfortunately, all the updates with broken KF support were accepted into the store!!!
    4) Now I am getting users complaining that their apps no longer work on Kindle Fire.
    What should have happened: NONE of the updates should have been accepted after it was realized by your review team that they broke Kindle Fire support, while previous versions worked fine on it and KF users downloaded them.  Reviewing KF support separately, after the initial review/acceptance, is not a good process!
    In any case, I have re-submitted all my apps with the release note 'Restored Kindle Fire support'.  What I did was use 'captive runtime' for compiling all my AIR 3.1 apps, which normally means that the app will not require an external AIR runtime to function.  Hopefully, this will work this time.  If not, I am going to have to re-compile everything using AIR 2.7, which is a major drag since some of the features I depended on are part of AIR 3.1.

  • Is there a way to hide an iMessage conversation without deleting it?

    Is there a way to hide an iMessage conversation without deleting it?
    I recently went through a breakup and would like to not see my ex's face and messages every time I pull iMessage up, but I also don't want to delete them. I have the most up to date versions of iMessage on my Macbook Pro and iPhone 5C as of this post (10-5-14)

    Hi,
    iMessages account on the Mac (in the Messages app) stores the iMessages in a Chat.db item
    IF you dismiss a conversation from view  (mouse over it and use the x that appears) the chat.db will supply the "History" if and when you contact that person again.
    However it is worthwhile also creating a back up of some sort.
    As well as Time Machine it can also help to highlight the whole Chat (work from the most recent end to the "top" of the conversation to highlight it all.
    You can then Print and Save as PDF.
    You can back up your iPhone in iTunes.
    These can be used to Restore the iPhone back to that time.  (you do lose all new things added since the Backup was made.)
    There are various tools out there to extract info from iTunes Backups of iOS devices, which might help.
    Of course the Messages app on the Mac also has a Settings for Saving on close.  (it will Save if you dismiss the chat/Conversation and when the app is closed/Quit)
    Over and extended conversation or chat that lasts days or months each Session on the computer is Saved.
    Again you can dismiss the chat/conversation form view as you have saved versions (in parts) of the conversation.
    (You cannot Save a chat or conversation in Retrospect.)
    8:42 pm      Sunday; October 5, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I restored a Macbook Pro from a Time Machine backup and now none of my passwords are working (and I know they are the correct passwords).  What can I do?

    I restored a Macbook Pro from a Time Machine backup and now none of my passwords are working (and I know they are the correct passwords).  What can I do?

    First, make sure caps lock is not on.
    Another reason why the password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. You can select one of the available layouts by choosing from the flag menu in the upper right corner, if it's showing, or cycle through them by pressing the key combination command-space or command-option-space. See also this support article.
    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password. In OS X 10.10 and later, this option also works with FileVault, but only if you enabled it when you activated FileVault. It's not retroactive. Otherwise, see below.
    Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.
    Start up in Recovery mode. When the OS X Utilities window appears, select
              Utilities ▹ Terminal
    from the menu bar at the top of the screen—not from any of the items in the OS X Utilities window.
    In the window that opens, type this:
    resetp
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.
    Select the startup volume ("Macintosh HD," unless you gave it a different name) if not already selected. You won't be able to do this if FileVault is active.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
               ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but the Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as the login password), there's no way to recover it.

Maybe you are looking for

  • Can't access data after name change of account in Time Capsule

    I started using Time Capsule (TC). After transferring data to 3 different accounts. I noticed that the process of entering/ connecting to your account takes to much time. You have to connect every time to the account on TC. Because of this I changed

  • Double-sided printing P1102w

    I have two laptops and a printer P1102w on my home network. One of the laptops runs Win8 and the other one - Win7. I have installed on both laptops MS Office 2013 and I use Word to print a document. I am able to print double-sided from my Win8 laptop

  • Dialog box with default starting location?

    Running LV2010.  I want to prompt a user to save a file by opening a dialog box.  This way the user can select the file and location of the file.  Problem is, I want to open the dialog box starting in a default folder that I choose.  The LV help for

  • Display Problem in DW

    Hi Can anyone tell me why this page doesn't display correctly in DW (I'm using CS3 on Win XP). The #wrapper div shifts about 850px to the right and loses most of the contents off the r/hand edge of the screen. It displays correctly in every browser I

  • Library Filter: Metadata Browser: Add Focal Length

    Please add Focal length as an available Meta data to browse in the Library Filter. Purpose: I'm currently considering to buy a new zoom lens. To determine the best zoom range for the lens, I like to see which focal length I use most often by profilin