6.2.11

SAP Note 21971 - Connection between SAP GUI and application server terminated

Symptom:

The connection between the application server and the SAP GUI is terminated.

Entries in the system log:
Syslog Q04 (Connection to user xxx, Terminal xxx terminated)

Entries in trace file dev_disp (for example):
***LOG Q0I => NiPRead: recv (232: Connection reset by peer) [niuxi.c ..
***LOG Q04 => DpRTmPrep, NiRead (220 user 46 terminal ) [dpxxdisp 4924]

Note: The error number (in this case 232) is platform-specific

Other terms

recv, writev, NiRead, NiWrite, connection termination, WAN Router

Reason and Prerequisites

The application server receives a message from the network layer of the operating system (TCP) stating that the connection to the SAP GUI has been terminated.

Possible causes:
a) The frontend host was turned off or the operating system (for example, Windows) was shut down even though SAP GUIs were active.

b) Network problems (router, WAN and so on)
c) The SAP GUI process on the frontend stopped or terminated the connection without logging off from the application server.

Solution
Unfortunately, the application server cannot use the return codes of the TCP layer to determine the cause (this can be compared with the "click" on a telephone if one person puts down the receiver unexpectedly or when there is interference on the line).
Therefore, you must determine the cause on the frontend.
a)-
b) If a dialog box, which refers to a terminated connection, also appears on the frontend, this is a sure indicator of a network problem.


c) If the SAP window disappears without leaving any messages, this indicates that there is a problem in the SAP GUI.


In a customer message, give us a detailed description of the symptom on the frontend (error dialog box and so on).

For every GUI termination, the dispatcher Trace file dev_disp contains a row such as:

RM-T17, U319, 604 WEDLICH, atalanta, 16:24:10, M0, W1, VF02, 3/0

Meaning:
SAP GUI 17 (internal from dispatcher's point of view)
User 319 (within the application server)
Client 604
Username WEDLICH
Terminal-ID atalanta
Time 16:24:10
Mode 0 (last active)
Workprocess 1 (last active)
Transaction VF02
Session no. 3 (internal imode level 0)

If the user name entry is missing, the termination occurred before the user logged on.

If the terminal ID entry is missing, the terminal has not transferred an ID (the host name on Windows).

No comments:

Post a Comment