Running BizTalk 2013r2 standard.
I have a WCF-Custom Oracle send port to select data from an Oracle database. This is bound to an orchestration which has been working great until last week.
It has timeouts set as follows:
In the event of a timeout, I would like the adapter to retry. Problem is, even when a select request has been running for many hours, it doesn't time out.
The following screen grab taken from the admin console shows the message with a status of "In process" that was sent at 5am (it is now 10:36am).
Querying the service instances shows the same (the dehydrated instance is an orchestration bound to the send port)
I know the connection to the Oracle database can be unreliable. That would be ok if the adapter would timeout and retry.
My understanding from the MSDN doc (https://msdn.microsoft.com/en-us/library/dd788467.aspx) is that the adapter should work against the OpenTimeout value of 30 minutes. Can anyone see where I went wrong?
Change of understanding! After reviewing WCF traces from this morning's data build, I can see that the problem is not that the adapter doesn't timeout but rather that the send port fails to complete after receiving the select response.
The following shows the Request written and closed. However, the response is written but not closed:
When I look at the trace for a successful Oracle select triggered from a different orchestration then I see:
The orchestration that makes the select is as follows:
The expression shape between the SendSelect and RcvPromResult contains the following trace statement which I do get to see output if debigview: " Microsoft.BizTalk.CAT.BestPractices.Framework.Instrumentation.TraceManager. WorkflowComponent.TraceInfo( "Promo request call made");"
However, I don't get the output from the statement within the "Trace Result" expression shape
The logical send is called from a scope shape for which an exception handler routes to the esb exception framework. This exception handler does not get triggered
Any ideas on why the problem connection is not being closed after receiving the select result?