none
Can we supress this behavior in BizTalk: On Retry BizTalk logs a warning RRS feed

  • Question

  • Hi,

    I have set retry on my send ports, and on each retry failure BizTalk logs a warning by design.

    Can we supress this behavior by any means, I don't want warnings to be logged at retry failure however I m fine with the error logged at retry count exceeds.

    Regards,

    Vikingssss


    • Edited by vikingss Monday, January 30, 2012 11:34 AM
    Monday, January 30, 2012 11:34 AM

Answers

  • Hi,

    Leonid I agree. To implement a Retry Pattern in an orchestration, see this post.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly


    BizTalk
    Tuesday, January 31, 2012 7:27 AM
    Moderator
  • Hi,

    This should be possible. You need to have some custom logic for the same.

    1) Capture all the errors within Orchestration -  If you are calling a web service that is causing is the issue. Make sure you capture all the errors that web service can throw, Refer below link for details

    http://masteringbiztalkserver.wordpress.com/2010/11/21/catching-soap-faults-from-wcf-service-in-biztalk-orchestration/ 

    2) Create a custom table where you can store the error type and  unique identity associated with message. (Before sending the message to service make sure you generate some unique id) once you capture the error then within the catch block you can write unique id and error message in custom table.Keep the retry count within the SSO config store.This way if you can track how many times error has occured for a send port.

    You can now decide when you want to log error or warning.

    I hope this will help you in right direction.


    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/
    Tuesday, January 31, 2012 5:19 AM
  • This kind of retry could be implemented with orchestration. Loop the requests to Send port (with Retry on in = 0 of course). Make retry counter and delay configurable!

    In this case you could implement some sofisticated retry logic, with increased delay between retries, for example. All errors and warnings will be under your complete control.


    Leonid Ganeline [BizTalk MVP] BizTalk: Advanced Questions
    Tuesday, January 31, 2012 5:36 AM
    Moderator
  • Hi,

    Very true Leonid, if the number of retries are more this will be surely an issue as vikingss would be running into a lot of warnings. 

    @vikingss what type of send port is this? If it's WCF by any chance you can think about using the biztalk config file by setting the switchvalue in system diagnostics. 


    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    My Blog:dpsbali-biztalkweblog
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Tuesday, January 31, 2012 8:20 AM
  • Hi,

    I suggest look at this post by Richard explaining using a switch through BRE.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly

     


    BizTalk
    Monday, February 6, 2012 7:36 PM
    Moderator

All replies

  • Warning log can be helpful in letting you identify that retries are happening. It can be a housekeeping problem when your logs are growing if it is a lot retries the server goes into. You can try to identify the retry cause if you don't already know that but these warning's as such shouldn't be an issue.
    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    My Blog:dpsbali-biztalkweblog
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Monday, January 30, 2012 12:29 PM
  • Actually these warnings could be the issue if the retry set up to big number. At last it is the isssue for Vikingss.
    Leonid Ganeline [BizTalk MVP] BizTalk: Advanced Questions
    Monday, January 30, 2012 8:52 PM
    Moderator
  • Hi,

    This should be possible. You need to have some custom logic for the same.

    1) Capture all the errors within Orchestration -  If you are calling a web service that is causing is the issue. Make sure you capture all the errors that web service can throw, Refer below link for details

    http://masteringbiztalkserver.wordpress.com/2010/11/21/catching-soap-faults-from-wcf-service-in-biztalk-orchestration/ 

    2) Create a custom table where you can store the error type and  unique identity associated with message. (Before sending the message to service make sure you generate some unique id) once you capture the error then within the catch block you can write unique id and error message in custom table.Keep the retry count within the SSO config store.This way if you can track how many times error has occured for a send port.

    You can now decide when you want to log error or warning.

    I hope this will help you in right direction.


    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/
    Tuesday, January 31, 2012 5:19 AM
  • This kind of retry could be implemented with orchestration. Loop the requests to Send port (with Retry on in = 0 of course). Make retry counter and delay configurable!

    In this case you could implement some sofisticated retry logic, with increased delay between retries, for example. All errors and warnings will be under your complete control.


    Leonid Ganeline [BizTalk MVP] BizTalk: Advanced Questions
    Tuesday, January 31, 2012 5:36 AM
    Moderator
  • Hi,

    Leonid I agree. To implement a Retry Pattern in an orchestration, see this post.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly


    BizTalk
    Tuesday, January 31, 2012 7:27 AM
    Moderator
  • Hi,

    Very true Leonid, if the number of retries are more this will be surely an issue as vikingss would be running into a lot of warnings. 

    @vikingss what type of send port is this? If it's WCF by any chance you can think about using the biztalk config file by setting the switchvalue in system diagnostics. 


    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    My Blog:dpsbali-biztalkweblog
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Tuesday, January 31, 2012 8:20 AM
  • Hi All,

    Thanks for giving input.

    Bali, Yes I am using WCF Send Ports.

    Can you please explain in bit more details how to set switch value in system Diagnostics.

     

    Regards,

    Vikingss

    Wednesday, February 1, 2012 9:34 AM
  • Hi,

    I suggest look at this post by Richard explaining using a switch through BRE.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly

     


    BizTalk
    Monday, February 6, 2012 7:36 PM
    Moderator