cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web Dispatcher : 500 dispatching error

Former Member
0 Kudos

Hello,

I installed SAP Web Dispatcher on one server. These are my parameters found in my profile (sap web dispatcher profile) among others:

  • rdisp/mshost = PROD-SHOW-S71
  • ms/http_port = 8100
  • icm/server_port_0 = PROT=HTTP,HOST=show-router01,PORT=81$$
  • icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=81$$
  • icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=81$$
  • wdisp/system_0 = SID=S71, MSHOST=PROD-SHOW-S71, MSPORT=8100, SRCURL=/S71/
  • wdisp/system_conflict_resolution = 1

On my SAP-system I have the following parameters in my profile as shown by RZ10:

  • rdisp/msserv = 0
  • rdisp/msserv_internal = 3901
  • ms/server_port_0 = PROT=HTTP,PORT=81$$
  • icm/server_port_0 = PROT=HTTP, PORT=80$$, TIMEOUT=240, PROCTIMEOUT=600
  • icm/server_port_1 = PROT=SMTP, PORT=25000
  • icm/server_port_2 = PROT=HTTPS, PORT=80$$, TIMEOUT=240, PROCTIMEOUT=600
  • rdisp/mshost = PROD-SHOW-S71
  • rdisp/msserv = sapmsS71
  • rdisp/msserv_internal = 3900

I only selected these parameters because I think they are the important ones..

Now using my web browser I want to access my SAP-system with this link: http://16.58.245.70:8100/S71/

The IP 16.58.245.70 belongs to my sap-system. with /S71/ I want my dispatcher to get me to my sap-system. In the future I want to have my dispatcher direct me to other sap-systems depending on http://16.58.245.70:8100/<xx>/

Unfortunately I get an 500 dispatching error.

Error log shows this:

[Thr 3248] Mon May 12 18:45:04 2014

[Thr 3248] *** ERROR => no valid destination server available for '!J2EE' rc=4 {00030049} [http_route.c 3462]

[Thr 3248] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3486]

[Thr 3248] *** WARNING => original destination was '!J2EE' [http_route.c 3489]

[Thr 3248] *** ERROR => no valid destination server available for '!ALL' rc=4 {00030049} [http_route.c 3462]

[Thr 3248] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3486]

[Thr 3248] *** WARNING => original destination was '!ALL' [http_route.c 3489]

[Thr 3248] *** ERROR => no valid destination server available for '!ALL' rc=4 {00030049} [http_route.c 3462]

[Thr 4776] Mon May 12 18:45:05 2014

[Thr 4776] *** ERROR => No matching target system for request '/favicon.ico' [icrxx.c      5079]

[Thr 4776] *** ERROR => IcrFindTargetSystem() failed. [http_plg.c   9178]

[Thr 4776] *** ERROR => No target SAP system for request {0004004a} [http_route.c 2546]

Please help me

Accepted Solutions (1)

Accepted Solutions (1)

Sriram2009
Active Contributor
0 Kudos
Former Member
0 Kudos

Thank you. As far as I can see these are depicting my error message. I installed web dispatcher using provisioning manager so I guess the patch level is correct. A restart of my sap system is at the moment not possible as people are working on it thus I have to try that later in the evening. I will report back.

Former Member
0 Kudos

Try to remove the /S71/ prefix and retry. For some reason Web Dispatcher thinks that your SAP system is AS JAVA not AS ABAP. Probably because of the prefix.

Former Member
0 Kudos

http://16.58.245.70:8100

This still causes a dispatching error after changing the mentioned parameter.

Former Member
0 Kudos

Share the output of -configcheck.

Former Member
0 Kudos

Forget it I got it working. It was a Patch level problem. After applying the latest kernel part I and kernel part II it worked

Answers (1)

Answers (1)

Former Member
0 Kudos

Before you configure URL rewriting or redirects, make sure Web Dispatcher can connect to your SAP system by running sapwebdisp pf=<profile> -checkconfig. It appears that your config is wrong:

ms/http_port = 8100 (Web Dispatcher)

ms/server_port_0 = PROT=HTTP,PORT=81$$ (SAP system)

unless your SAP system number is actually 00. I assume it is 71, change to

ms/http_port = 8171 (Web Dispatcher)

and retry.

Former Member
0 Kudos

Thanks I will try to do a -checkconfig. In the mean time my SAP system has indeed 00 as instance number. S71 is its SID.

EDIT: There are no errors and no warnings after checking with -checkconfig