none
Running Orchestration instances in Breakpoint RRS feed

  • Question

  • Hi,

    I have some occhestrations instances(same orchestration) (arround 1000), those are in Running state with Break point in production environment.

    I am clearing the messages by given step( for single orchestration instance.)
    Orchestration debugger - Debug -attach - continue

    Is there any way (or script), I can do it one go for all instance rather tan one by one.

    Thanks in advance.

    Surjit

    Tuesday, February 9, 2010 11:20 AM

Answers

All replies

  • Hi Surjit,

    You review this: http://msdn.microsoft.com/en-us/library/cc825581(BTS.10).aspx. I am not aware/know any script for this, maybe another forum member could help you on this.

    Kind Regards,

    Steef-Jan Wiggers
    http://soa-thoughts.blogspot.com/
    BizTalk Server
    Tuesday, February 9, 2010 11:41 AM
    Moderator
  • Thanks Steef,

    Reviewed the article,It is a warning not to put class level breakpoint in production, human interaction is required to resume . For my case it is arround 1000 such instance ,Manually through orchestration debugger it will take lot of time so I though a script could help. Let me check in another forum.


    The breakpoint will be active for all subsequent messages. Messages can only be resumed through human interaction using the Orchestration Debugger.
    Warning 
    Class-level breakpoints should be used with caution in production environments, especially in high-volume environments. 


    Cheers,
    Surjit

    <!---->
    Tuesday, February 9, 2010 1:24 PM
  • Hi Surjit,

    I thought of alternatives in your case, through using WMI or go into BizTalk databases to do some kind of automation done to remove the breakpoints for you instances. You could review this post: http://amit-rohilla.spaces.live.com/blog/cns!2CEC2165026E6288!301.entry, it explains how to see status of running instances. You might be able to use WMI also to remove breakpoints. Might be worth to check out.

    Kind Regards,

    Steef-Jan Wiggers
    http://soa-thoughts.blogspot.com/
    BizTalk Server
    Tuesday, February 9, 2010 2:08 PM
    Moderator
  • One way is to stop the orchestration that would suspend your messages. Then you can remove your breakpoints from HAT. The messages suspended will be in a resumable state. You can resume them again after removing breakpoints.

    Beware that before suspending all the instances do this on test for one message if it succeeds then go for production.

    Abdul Rafay - MVP & MCTS BizTalk Server
    blog: http://abdulrafaysbiztalk.wordpress.com/
    Please mark this as answer if it helps.
    Tuesday, February 9, 2010 7:15 PM
  • Hi Surjit,

    I found a way of resuming the instances in breakpoint via .NET code. See this post:
    http://connectedthoughts.wordpress.com/2010/02/10/resume-orchestration-instances-in-breakpoint-via-code/


    Regards,
    Thiago Almeida - http://connectedthoughts.wordpress.com
    • Proposed as answer by eliasen Wednesday, February 10, 2010 7:50 AM
    • Marked as answer by gsurjit Wednesday, February 10, 2010 3:22 PM
    Tuesday, February 9, 2010 8:44 PM
    Answerer