SAP jobs terminated successfully but execution in Dollar Universe is still in "running" status.

Document ID : KB000085515
Last Modified Date : 30/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Error Message :
In 'universe.log' file : 
###########################################################################################
<< 2013-02-17 23:15:27 0009564/uxjobend /u_io_callsrv /000000000 - u_connect error : (WinSock): Connection refused (host 
[S0140BEL])
<< 2013-02-17 23:15:27 0009564/uxjobend /CALL_UXIOSRV /000000000 - u_io_callsrv(on S0140BEL,GRBELP,X) returns error -1
<< 2013-02-17 23:15:27 0008064/uxjobend /u_io_callsrv /000000000 - u_connect error : (WinSock): Connection refused (host 
[S0140BEL])
<< 2013-02-17 23:15:27 0008064/uxjobend /CALL_UXIOSRV /000000000 - u_io_callsrv(on S0140BEL,GRBELP,X) returns error -1
########################################################################################### 

Patch level detected:Dollar Universe 5.3
Product Version: Dollar.Universe 5.3.3 FX25002

Description :SAP jobs terminated successfully but execution in Dollar Universe is still in "running" status.
Environment:
OS: Windows
OS Version: All
Related configuration item(s): SAP Manager 4.4.1
Cause:
Cause type:
Configuration
Root Cause: It can occurs when the Dollar Universe IO server is overloaded and cannot answer in time for the jobs ending (sent by uxjobend process).
Resolution:
1) In the DUAS Company 'def' files, define the following variables :
U_CONNECT_ITER_INTERVAL 2001
U_CONNECT_ITER_NBMAX 20

U_CONNECT_ITER_INTERVAL
Interval between the connection retries to the IO server. It is recommended to use 2001 for Windows or 2 for UNIX.
This is to make sure we avoid a retry and a new job starting exactly at the same time.

U_CONNECT_ITER_NBMAX
Number of retries if a connection to the IO server fails.The recommended value is 20.

Do the same in the file 'uxsetenv.bat' :

U_CONNECT_ITER_INTERVAL=2001
U_CONNECT_ITER_NBMAX=20


2) On SAP Manager side, edit the files ''uxsetenv.bat' and 'SAP.def' and define the following variables :

U_RFC_TIMEOUT: Indicates the timeout (in seconds) for an ''idle'' Manager for SAP RFC connection. The default value is 3600 (1 hour).
UXSAP_CYCLE_RETRY: Delay in seconds between two connection retries.
UXSAP_NB_CONNECT_RETRY: Number of times that the Manager will attempt to connect to SAP before giving up.


Exemple :
U_RFC_TIMEOUT un-comment the variable and set it to 3600
UXSAP_CYCLE_RETRY 4
UXSAP_NB_CONNECT_RETRY 5

Fix Status: No Fix
 
Additional Information:
Workaround :
N/A