Show TOC

Procedure documentationRunning the Configuration Check Locate this document in the navigation structure

 

You can check the configuration of the SAP Web Dispatcher to ensure that your settings will work when the Dispatcher is up and running.

You can run the error search check.

Prerequisites

You have imported the SAP Web Dispatcher and made the basic configuration settings.

Procedure

Start the SAP Web Dispatcher from the command line as follows:

sapwebdisp pf=<profil> -checkconfig

The following points are checked:

  • Does the configuration of the maximum number of sockets in the operating system permit the required number of configured connections?

  • If the information about the application servers is configured in a file and in the wdisp/server_info_location parameter, check the syntax and semantics of this file.

  • If the information about the application servers is configured in the message server:

    • Test the connection to the HTTP port of the message server

    • Fetch and check the data from the message server with the configured URL (msgserver/text/logon?version=1.2)

  • Test the connection to all the application servers found (/sap/public/icman/ping)

  • If the file is configured with wdisp/group_info_location: Syntactic/semantic check of the group file. Otherwise fetch and check the data from an application server with the configured URL (/sap/public/icf_info/icr_groups). Check that the ICF nodes are activated.

  • If the file is configured with wdisp/url_map_info_location: Syntactic/semantic check of the group file. Otherwise fetch and check the data from an application server with the configured URL (/sap/public/icf_info/icr_urlprefix). Check that the ICF nodes are activated.

Result

The result of the check is shown in the command line. Warnings and errors are indicated.

You can then change the configuration and run the check again.

Note Note

The SAP Web Dispatcher will not be started. Once the configuration is correct, you can start it as described in Operating the SAP Web Dispatcher.

End of the note.

Example

The output might look like this:

Syntax Syntax

Configuration check: Example
  1. Checking SAP Web Dispatcher Configuration 
    =========================================
    WARNING: maximum number of sockets supported on this host (1021) less than 
    configured: 8192 Checking server info file: info.icr Server info file 
    "info.icr" is OK Contents of server info file:
    +---------------------+---------------------+---------+----------+
    |    instance name    |    hostname         |HTTP port|HTTPS port|
    +---------------------+---------------------+---------+----------+
    |       sap007_SID_12 | sap007.wdf.sap.corp |    8888 |    8444  |
    |      sidmain_SID_53 |sidmain.wdf.sap.corp |    8080 |    8443  |
    |       sap195_SID_53 |sap195.wdf.sap-ag.de |    8080 |    8443  |
    |       sap206_SID_53 | sap206.wdf.sap.corp |    8080 |    8443  |
    |       sap251_SID_53 |              sap251 |   50053 |   44353  |
    +---------------------+---------------------+---------+----------+
    
    Checking ABAP servers with URL "/sap/public/icman/ping":
    Checking ABAP server sap007.wdf.sap.corp:8888...OK 
    Checking ABAP server sidmain.wdf.sap.corp:8080...OK 
    Checking ABAP server sap195.wdf.sap-ag.de:8080...OK 
    Checking ABAP server sap206.wdf.sap.corp:8080...OK 
    Checking ABAP server sap251:50053...OK no server group "!J2EE" defined
    
    Checking group info file: group_location.txt Group info file 
    "group_location.txt" is OK 
    Contents of group info file:
    +---------------------+----------+
    |     group name      | #entries |
    +---------------------+----------+
    |               !DIAG |       5  |
    |              !DIAGS |       5  |
    |                !ALL |       5  |
    |                HTTP |       1  |
    |               HTTPS |       1  |
    |           HTTPSTEST |       1  |
    +---------------------+----------+                    
    Checking url map file: url_location.txt
    Url map info file "url_location.txt" is OK Contents of url map file:
    +---------------------+---------------------+--------------------+
    |        URL          |        Group        |   virtual host     |
    +---------------------+---------------------+--------------------+
    |            /myecho/ |                     |                *:*;|
    |              /test/ |                     |                *:*;|
    |               /sap/ |                     |                *:*;|
    +---------------------+---------------------+--------------------+
    
    Check ended with 0 errors, 1 warnings
    
End of the code.