Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BizTalk - SAP connection issue

401 views
Skip to first unread message

nbusy

unread,
Feb 8, 2010, 12:33:01 AM2/8/10
to
Hi,

We've got an issue in our production BizTalk environment. The issue is
related to SAP connection.
BizTalk Server 2006 R2, BizTalk Adapter 3.0 for mySAP (BizTalk Adapter Pack
v.1).

Inside SAP we use two RFC destinations (connection type T) for outbound
IDOC's going to BizTalk - BIZTALKRFCDESTINATION and BIZTALKRFCDESTINATION-HV.
Every destination has it's own unique Program ID (BizTalkIDOCS &
BizTalkIDOCS-HV).

In BizTalk, for every RFC destination there is a receive port and 6 (six)
receive locations (WCF) with URI, like:
sap://Client=300;lang=EN@a/sapserver/30?ListenerGwHost=sapserver&ListenerGwServ=sapgw30&ListenerProgramId=BizTalkIDOCS&Id=01
sap://Client=300;lang=EN@a/sapserver/30?ListenerGwHost=sapserver&ListenerGwServ=sapgw30&ListenerProgramId=BizTalkIDOCS-HV=01
, where Id=01..06 is a number of corresponding receive location.
Binding details are:
idleConnectionTime=00:15:00
maxConnectionsPerSystem=50
closeTimeout=00:01:00
openTimeout=00:01:00
receiveTimeout=23:59:59
sendTimeout=23:59:59

Also in BizTalk, there are 3 send ports for sending IDOC's and 1 send port
for BAPI's (all connected to the same sap system). Plus a couple of send
ports connected to another SAP system (BI).

BizTalk hosts are: ReceiveHost, ReceiveHost_SAP, ProcessHost, SendHost,
SendHost_BI, TrackingHost.
One BizTalk Server x32 under VMware vShere.
One SQL Server 2005 x64 (phisical box).

It all worked fine for nine months with a rare connection drop between
BizTalk and SAP. When it happened, we used to restart BizTalk host instances.
Starting from last week, restarting the host instances does not help to get
it working as normally.
Now, we can get it working stable with only 4 receive locations enabled (out
of 12 as before).
Enabling any more receive location leads to the connection drop for one (or
more) currently enabled receive locations.

Error messages in the application event log on BizTalk Server are:

Source: BizTalk Server 2006
Type: Warning
Event ID: 5740
The adapter "WCF-Custom" raised an error message. Details
"System.InvalidOperationException: Error sending reply to SAP. A response for
this RFC Server request has been sent before.
at Microsoft.Adapters.SAP.SAPInboundCountractReply.AdapterReply(Message
message, TimeSpan timeout)
at Microsoft.Adapters.AdapterUtilities.AdapterInboundReply.Reply(Message
message, TimeSpan timeout)
at
Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestContext.Reply(Message message, TimeSpan timeout)
at
Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestContext.Reply(Message message)
at
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc&
rpc)".

Source: BizTalk Server 2006
Type: Error
Event ID: 5815
A response message sent to adapter "WCF-Custom" on receive port
"SAP.rcvIdoc" with URI
"sap://Client=300;lang=EN@a/sapserver/30?ListenerGwHost=sapserver&ListenerGwServ=sapgw30&ListenerProgramId=BizTalkIDOCS&Id=02" is suspended.
Error details: System.ApplicationException: The response message body was
not read. (This may indicate the connection has been closed.)
MessageId: {7DAB9A88-1B46-423C-8E8E-15A5F4B1FA75}
InstanceID: {F8CAC774-FEA7-48F4-AA46-A3840F169809}

Other kind of errors (in different variations are):

Source: BizTalk Server 2006
Type: Error
Event ID: 5649
The receive location "SAP.rcvIdoc_WCF-01" with URL
"sap://Client=300;lang=EN@a/sapserver/30?ListenerGwHost=sapserver&ListenerGwServ=sapgw30&ListenerProgramId=BizTalkIDOCS&Id=01"
is shutting down. Details:"System.InvalidOperationException: Error sending
reply to SAP. A response for this RFC Server request has been sent before.
at Microsoft.Adapters.SAP.SAPInboundCountractReply.AdapterReply(Message
message, TimeSpan timeout)
at Microsoft.Adapters.AdapterUtilities.AdapterInboundReply.Reply(Message
message, TimeSpan timeout)
at
Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestContext.Reply(Message message, TimeSpan timeout)
at
Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestContext.Reply(Message message)
at
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc&
rpc)".

Source: BizTalk Server 2006
Type: Error
Event ID: 5749
A request-response for the "WCF-Custom" adapter at receive location
"sap://Client=300;lang=EN@a/sapserver/30?ListenerGwHost=sapserver&ListenerGwServ=sapgw30&ListenerProgramId=TRSBizTalkIDOCS&Id=04"
has timed out before a response could be delivered.

Any help and ideas are highly appreciated.

Regards,
Nick

0 new messages