cancel
Showing results for 
Search instead for 
Did you mean: 

Webdispatcher problem: Forwarding http requests don't work

Former Member
0 Kudos

hi experts,

i'am trying to configure my webdispatcher in order forwarding http requests to my sap netweaver message server (AS JAVA instance).

here is my profile file:

SAPSYSTEMNAME = WDP

SAPGLOBALHOST = myWebDispatcherHost

SAPSYSTEM = 10

INSTANCE_NAME = W10

DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64

DIR_EXECUTABLE = $(DIR_CT_RUN)

#----


  1. Accesssability of Message Server

#----


rdisp/mshost = mysapdevServer

ms/http_port = 8121

#----


  1. Configuration for medium scenario

#----


icm/max_conn = 500

icm/max_sockets = 1024

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

mpi/total_size_MB = 80

#----


  1. SAP Web Dispatcher Ports

#----


icm/server_port_0 = PROT=HTTP,PORT=81$$

icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/portal

MyTrace file i got it from web administration screen after lanching this address on my navigator http://myWebDispatcherHost/

[Thr 2876] Mon Jul 07 16:36:34 2008

[Thr 2876] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 3748] Mon Jul 07 16:36:36 2008

[Thr 3748] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 3464] Mon Jul 07 16:43:55 2008

[Thr 3464] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 3464] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 2876] Mon Jul 07 16:43:59 2008

[Thr 2876] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 3852] Mon Jul 07 16:47:42 2008

[Thr 3852] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

Can you give me some advices to go throug this issue

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

pr_srinivas
Contributor
0 Kudos

Once your Web Dispatcher installation is completed

1) Stop Default Website which isusing port 80

2) Edit sapwebdisp.pfl - Just Change only 2 entries

rdisp/mshost = <IP Adddress of the host where Java Instance is running>

ms/http_port = 81<SCS Instance Number of Java >

3) execute "webd.bat" - which starts daemon "WebDispatcher"

Rgds

Former Member
0 Kudos

step1 and 2 OK

But step3 i don't find webd.bat ? where is't ?

regards,

pr_srinivas
Contributor
0 Kudos

Innthe same folder where .pfl is exiting

it is a batch file to start the Web dispatcher

i beleive you installed on windows if yes sear for webd.bat

Rgds

Former Member
0 Kudos

hi,

I confirm you that the OS is Win2K3 Server

here is the content of my profile's folder: D:\usr\sap\WDP\SYS\profile

DEFAULT.PFL

START_W10_SEPFRTNOVA

WDP_W10_SEPFRTNOVA

perhaps i forgot a configuration step ??

Thanks

Former Member
0 Kudos

Hi Srinivas,

We have installed web dispatcher on cluster nodes... and web dispacther is unable to connect to message server.

We are on cluster CI ,DI and SQL server runs on different systems.

I have installed web dispatcher on CI & DI.. on CI web dispatcher is up and DI is coming down after couple of minutes if we try to bring it up.

dev_webdisp:

*********************************************

[Thr 3636] Wed Jul 30 14:59:51 2008

[Thr 3636] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 5 / sock 131344

(SI_ECONN_REFUSE; I4; ST; 10.16.148.36:8100) [nixxi.cpp 2764]

[Thr 3636] *** ERROR => Connection request from (-1/65535/0) to host: nbcdqsasc10b.corp.irvineco.com, service: 8100 failed (NIECONN_REFUSED) [icxxconn.c 2731]

[Thr 3636] *** ERROR => IcmConnClientRqCreate() failed (rc=-8) [icrxx.c 4919]

[Thr 3636] *** ERROR => Could not connect to SAP Message Server at nbcdqsasc10b.corp.irvineco.com. URL=/msgserver/text/logon?version=1.2 [icrxx.c 2301]

[Thr 3636] *** ERROR => rc=-1, HTTP response code: 0 [icrxx.c 2302]

[Thr 3636] *** ERROR => see also OSS note 552286 [icrxx.c 2303]

[Thr 7944] Wed Jul 30 15:00:48 2008

[Thr 7944] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 7252] Wed Jul 30 15:00:57 2008

[Thr 7252] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 10200] Wed Jul 30 15:01:07 2008

[Thr 10200] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

[Thr 1868] Wed Jul 30 15:01:18 2008

[Thr 1868] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]

michael_mulvey
Employee
Employee
0 Kudos

Hi,

If the webdisp cannot connect to the message server then this is the first thing to get working.

The first thing I would check is that the wedisp is configured correctly with the following command:-

sapwebdisp pf=<Profile> -checkconfig

And check the output of this command. You should notice that the message server is not reachable.

fPlease attach the output of this command and I will review it. Could you also provide the information below:-

(1) Value of ABAP message server port

(2) Value of Java message service port

(3) ABAP ICM HTTP listening port

(4) Java HTTP listening port

Note: The listening port of the message server on the ABAP stack should be used to connect the webdisp.

P.S. ERROR => htmlEncode: called with empty string

Excerpt from SAP Note 851852

Was fixed in ICM Patch Collection XVIII (SAP Kernel 7.00 patch level 84). I would recommend that you update your webdisp to the latest 7.00 version. The latest webdisp is backwards compatible with all older versions regardless of the release of the backend