Problem
- The processing of ADC Event takes long time and users are getting error.
- On the device (browser), get error "Please report the following error: Server Error" and users need to restart the application.
- There is error in NLINK event log "Timeout occurred while waiting for processing to be completed"
- The NLINK ADC to SAP Solution will automatically log users off if there is no activity for a specified period of time. If this timeout is not managed and set properly, users can be logged-off sooner than they would like.
Solution - Problem 1
The problem typically occurs when specific ADC Event takes long time complete processing and send back response to device. The processing of NLINK Event has to occur with the in the time specified in the "Synchronous Message Timeout" value. This setting is found in NCM under the 'Advanced Properties' tag of System Properties. By default it is set to be 60 seconds.
If processing of Event takes longer then this time period, then change the value to suitable higher value. But it is recommended that the underlying reason for Event taking long time be addressed rather then changing this value to be higher.
This value indicates upper bound for timeout if Event does not complete. If Event takes lesser time to process then timeout will not be used.
Solution - Problem 2
There are 3 separate timeout values in the NLINK ADC to SAP Solution that need to be set properly. The first is set in the NLINK Configuration Module (NCM) and the other two are set through Microsoft’s IIS Manager.
NLINK Idle Session Timeout (minutes)
This setting is found in the NCM under the Advanced Properties tab of the System Properties. By default it is set to 60 minutes.
IIS Session State Timeout (minutes)
Use the Microsoft IIS Manager, find the ADC Website/Application (under the default website).
IIS Application Pool Idle Timeout (minutes)
Find out which Application Pool is being used for the ADC Website/Application under the IIS Manager Advanced Settings. Locate this Application Pool under the Applications Pool tree. Under its Advanced Settings, set this timeout value.
If, for some reason, any other web sites/applications are using this Application Pool, a new Application Pool can be created and assigned to ADC.
To set the IIS Session State Timeout & IIS Application Pool Idle Timeout in IIS 6, follow these instructions:
IIS Session State Timeout
- Bring up IIS 6 Manager
- Select the ADC web site under “websites” and then right-click and select Properties
- Edit the IIS Session Timeout by going to the ASP.NET tab and selecting the “Edit Configuration” button.
- Under the “State Management” tab, set the (IIS) Session Timeout value
IIS Application Pool Idle Timeout
- Bring up IIS 6 Manager
- Select the ADC web site under “websites” and then right-click and select Properties
- On the “Virtual Directory” tab find the Application Pool name and write it down
- Click on the Properties of the Application Pool used for ADC
- Set the “Idle Timeout” value under the “Performance” Tab
Related articles