cancel
Showing results for 
Search instead for 
Did you mean: 

Webdispatcher ports

Former Member
0 Kudos

Hello,

I'm following the guide SAP Web Dispatcher for Fiori Applications and I get some doubts about the ports used.

Firstly, we need to check the message server port with the FM (RSM51000_CHANGE_PARAMETER) I get ms/http_port 8102

sapwebdisp.pfl was configured with this parameters:

HOST:wddadm 141> sapwebdisp pf=sapwebdisp.pfl -checkconfig

Checking SAP Web Dispatcher Configuration

=========================================

maximum number of sockets supported on this host: 8192

Server info will be retrieved from host: HOST:8102 with protocol: http

Checking connection to message server of system ERP...OK

Retrieving server info from message server...OK

Message Server instance list of system ERP

+---------------------+---------------------+---------+----------+

|    instance name    |    hostname         |HTTP port|HTTPS port|

+---------------------+---------------------+---------+----------+

|      HOST_ERP_01 |HOST.domain |    8001 |          |

+---------------------+---------------------+---------+----------+

Checking ABAP servers with URL "/sap/public/icman/ping":

Checking ABAP server http://HOST.domain.com:8001...OK

Checking J2EE servers with URL "/favicon.ico":

No server group "!J2EE" defined

Retrieving group info with HTTP from server HOST.domain.com:8001...OK

Defined server groups:

+---------------------+----------+

|     group name      | #entries |

+---------------------+----------+

|               !DIAG |       1  |

|                !ALL |       1  |

|              PUBLIC |       1  |

+---------------------+----------+

Retrieving url info with HTTP from server HOST.domain.com:8001...OK

Url map info file "/sap/public/icf_info/icr_urlprefix" is OK

Contents of url map file:

+---------------------+---------------------+--------------------+

|        URL          |        Group        |   virtual host     |

+---------------------+---------------------+--------------------+

|         /rspcm_web/ |                     |                *:*;|

|          /sap_java/ |                     |                *:*;|

|           /spnego2/ |                     |                *:*;|

|            /test30/ |                     |                *:*;|

|            /spnego/ |                     |                *:*;|

|              /nwbc/ |                     |                *:*;|

|               /ui2/ |                     |                *:*;|

|               /srm/ |                     |                *:*;|

|               /sap/ |                     |                *:*;|

|               /rpr/ |                     |                *:*;|

|                /rp/ |                     |                *:*;|

+---------------------+---------------------+--------------------+

Server info will be retrieved from host: HOST:8102 with protocol: http

Checking connection to message server of system ERP...OK

Retrieving server info from message server...OK

Message Server instance list of system ERP

+---------------------+---------------------+---------+----------+

|    instance name    |    hostname         |HTTP port|HTTPS port|

+---------------------+---------------------+---------+----------+

|      HOST_ERP_01 |HOST.domain |    8001 |          |

+---------------------+---------------------+---------+----------+

Checking ABAP servers with URL "/sap/public/icman/ping":

Checking ABAP server http://HOST.domain.com:8001...OK

Checking J2EE servers with URL "/favicon.ico":

No server group "!J2EE" defined

Retrieving group info with HTTP from server HOST.domain.com:8001...OK

Defined server groups:

+---------------------+----------+

|     group name      | #entries |

+---------------------+----------+

|               !DIAG |       1  |

|                !ALL |       1  |

|              PUBLIC |       1  |

+---------------------+----------+

Retrieving url info with HTTP from server HOST.domain.com:8001...OK

Url map info file "/sap/public/icf_info/icr_urlprefix" is OK

Contents of url map file:

+---------------------+---------------------+--------------------+

|        URL          |        Group        |   virtual host     |

+---------------------+---------------------+--------------------+

|         /rspcm_web/ |                     |                *:*;|

|          /sap_java/ |                     |                *:*;|

|           /spnego2/ |                     |                *:*;|

|            /test30/ |                     |                *:*;|

|            /spnego/ |                     |                *:*;|

|              /nwbc/ |                     |                *:*;|

|               /ui2/ |                     |                *:*;|

|               /srm/ |                     |                *:*;|

|               /sap/ |                     |                *:*;|

|               /rpr/ |                     |                *:*;|

|                /rp/ |                     |                *:*;|

+---------------------+---------------------+--------------------+

Checking external servers with URL "/":

Checking external server http://HOST.domain.com:8001...ERROR: illegal OK code: 404

Impromptu CCC initialization by 'rscpCInit'.

  See SAP note 1266393.

What can I check?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

This appears twice:


Checking connection to message server of system ERP...OK

And there would be an external system defined as well:


Checking external servers with URL "/":

It seems that your "sapwebdisp.pfl" has multiple systems defined (several "wdisp/system_X") parameters.

Please remove all of them except the one that is correctly pointing to your ERP system.

Regards,

Isaías

Former Member
0 Kudos

Thanks,

I've configured the next entries on sapwebdisp.pfl

# Backend System

wdisp/system_0 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/opu/odata, SRCSRV=*:*, SSL_ENCRYPT=0

wdisp/system_1 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/public/bc/;/sap/bc/, SRCSRV=*:*, SSL_ENCRYPT=0

wdisp/system_2 = SID=D00, EXTSRV=http://development.domain.com:8050, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana, SSL_ENCRYPT=0

There are two entries for the same system pointing to differents applications and the last one is for the analytical fiori apps pointing directly to Hana XS.

Regards.

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

You cannot define the same system twice.

You should merge the systems 0 and 1, and rename the system 2 to 1:

wdisp/system_0 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/opu/odata;/sap/public/bc;/sap/bc, SRCSRV=*:*, SSL_ENCRYPT=0

wdisp/system_1 = SID=D00, EXTSRV=http://development.domain.com:8050, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana, SSL_ENCRYPT=0

In addition, what is the HANA version? And what is the Web Dispatcher release? Maybe you should be using "XSSRV" instead of "EXTSRV" at the definition of the HANA system (read the SAP notes 1855097 and 2088121).

Regards,

Isaías

Former Member
0 Kudos

Thanks Isais,

The web dispatcher version is 742_319 and hana system is revision 102.

I'm going to check the notes.

Thanks again

isaias_freitas
Advisor
Advisor
0 Kudos

You are welcome!

You can definitely replace EXTSRV by XSSRV with the HANA/Web Disp. versions you are using .

Regards,

Isaías

JPReyes
Active Contributor
0 Kudos

BTW for the dual entry,


wdisp/system_0 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/opu/odata, SRCSRV=*:*, SSL_ENCRYPT=0

wdisp/system_1 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/public/bc/;/sap/bc/, SRCSRV=*:*, SSL_ENCRYPT=0

You can change to a single entry and set up a URL filter to block any other paths,

Read, SAP Web Dispatcher as a URL Filter - SAP Web Dispatcher - SAP Library

Regards, Juan

Former Member
0 Kudos

Hello Isaias,

I'm a bit confuse.

I've merged wdisp/system_0 with wdisp/system_1

wdisp/system_0 = SID=SID, NR=00, MSHOST=host.domain.com, MSPORT=8102, SRCURL=/sap/opu/odata;/sap/public/bc/;/sap/bc/, SRCSRV=*:*, SSL_ENCRYPT=0

#wdisp/system_1 = SID=D00, EXTSRV=http://host.domain.com:8050, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana;/sap/opu/odata, SSL_ENCRYPT=0

wdisp/system_1 = SID=D00, XSSRV=http://host.domain.com:8050, PINGURL="/public/ping", SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana;/sap/opu/odata;/sap/bc,

On wdisp/system_1 entry what port I need to declare? The Web Dispatcher port or XS engine?

I've tried with XS engine port (8000) but then it didn't work but I don't understand...

Thanks

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Ruben,

You have merged the wrong parameters .

Initially, you had wdisp/system_0 and wdisp/system_1 both pointing to the same ABAP system. You also had wdisp/system_2 pointing to the HANA...

I have suggested for you to merge the original wdisp/system_0 and wdisp/system_1 parameters.

You can also replace EXTSRV by XSSRV for the HANA system definition.

The final parameters should look like:

wdisp/system_0 = SID=SID, NR=00, MSHOST=development.development.com, MSPORT=8102, SRCURL=/sap/opu/odata;/sap/public/bc;/sap/bc, SRCSRV=*:*, SSL_ENCRYPT=0

wdisp/system_1 = SID=D00, XSSRV=http://development.domain.com:8050, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana, SSL_ENCRYPT=0

For the XSSRV address, you need to define the address and port of the HANA Web Dispatcher (the Web Dispatcher that runs within the HANA).

Regards,

Isaías

IanSegobio
Advisor
Advisor
0 Kudos

Hello Ruben,

Do you have an entry for external servers like "EXTSRV" at the web dispatcher profile?

Is FIORI server configured this way?


Cheers,
Ian.

JPReyes
Active Contributor
0 Kudos

Hi Ruben,

What is your question?

Regards, Juan