Skip to Content
author's profile photo Former Member
Former Member

Web Dispatcher Not forwading XML document to SAP XI

Hi Everyone,

We have a web dispatcher that is accepting an HTTP Post over SSL and forwarding this connection to our SAP XI system. Our client post to the box and we see the ssl information in the log and then a string of information about connecting to our J2EE Engine where XI resides.

Here is a snippet from the SWD log:

[Thr 6768] IcmPlCheckRetVal: Next status: WAIT_FOR_DATA(5)

[Thr 6768] IcmHandleNetWrite(id=0/6): HandleServData returned: 5

[Thr 6768] Address Offset IcmWriteToConn:

[Thr 6768] -


[Thr 6768] 030718FC 000000 c1003297 8535ef16 f9aae7c8 34f128ef |..2..5......4.(.|

[Thr 6768] 0307190C 000016 778dba96 22a728b5 96357d83 75e173a8 |w...".(..5}.u.s.|

[Thr 6768] 0307191C 000032 668a1525 5d1fa229 42312e5a e837a4c3 |f..%]..)B1.Z.7..|

[Thr 6768] 0307192C 000048 25cd16a2 7bee0812 965c59d9 c3af4d79 |%...{....\Y...My|

[Thr 6768] 0307193C 000064 2a17300d a7057b2e 9f5c452c e2b795ff |*.0...{..\E,....|

[Thr 6768] 0307194C 000080 33f3a39f 57c3a039 1fb0c0dd 1c25416d |3...W..9.....%Am|

[Thr 6768] 0307195C 000096 fafa2ac6 ddc3c4f3 b4507205 f5332181 |..*......Pr..3!.|

[Thr 6768] 0307196C 000112 12bb6b77 2eba8afa 084e260f db56666f |..kw.....N&..Vfo|

[Thr 6768] 0307197C 000128 6811e524 1c9d315c 0a324594 1050b990 |h..$..1\.2E..P..|

[Thr 6768] 0307198C 000144 4fb501e7 4224449b 206368c5 969d3b7a |O...B$D. ch...;z|

[Thr 6768] 0307199C 000160 b0e220c8 01fa8b78 e7ae629e 7020b726 |.. ....x..b.p .&|

[Thr 6768] 030719AC 000176 bc0b4c60 82565941 9489134b cdf256e8 |..L`.VYA...K..V.|

[Thr 6768] 030719BC 000192 5e80f602 7d080dce 20ea88b4 7e7b690c |^...}... ...~{i.|

[Thr 6768] 030719CC 000208 4106caca 670aa222 4264014c 62dbfd21 |A...g.."Bd.Lb..!|

[Thr 6768] 030719DC 000224 7ef8388a 8f0ff98a 4e36e1d0 d99eb46f |~.8.....N6.....o|

[Thr 6768] 030719EC 000240 a4aa0d74 2f2a796d 8635fe94 7db1886f |...t/*ym.5..}..o|

[Thr 6768] -


[Thr 6768] IcmWriteToConn(id=0/6): prepared to write data to partner (len = 1372)

[Thr 6768] NiIWrite: write 1372, 1 packs, RAW_IO, hdl 10, data complete

[Thr 6768] IcmWriteToConn(id=0/6): wrote data to partner (len = 1372)

[Thr 6768] MPI<d>0#10 DiscardOutbuf l0 0 0 111868 0 0 -> 030718A8 0

[Thr 6768] NiIPeek: peek successful for hdl 11 / socket 131040 (r)

[Thr 6768] IcmReadFromPartner(id=0/6): read with maximum timeout 500

[Thr 6768] IcmReadFromPartner(id=0/6): request new MPI (0/0)

[Thr 6768] MPI<d>0#11 GetOutbuf -1 111868 65536 (0) -> 030718C8 0

[Thr 6768] IcmReadFromPartner(id=0/6): connection broken (len=0,0)

[Thr 6768] ConnPoolCloseNiHdl:

[Thr 6768] Pool Entry: 0999C0D0:

[Thr 6768] NI: 11, SSL: 00000000, allocated: 1, inuse: 1, desc: 08242DF0

[Thr 6768] NiICloseHandle: shutdown and close hdl 11 / socket 131040

[Thr 6768] IcmReadFromPartner(id=0/6): connection broken (buf_used=0)

[Thr 6768] PlugInStopConn: close connection

[Thr 6768] PlugInStopConn: shutdown backend connection

[Thr 6768] ConnPoolCloseNiHdl:

[Thr 6768] Pool Entry: 0999C0D0:

[Thr 6768] NI: -1, SSL: 00000000, allocated: 1, inuse: 1, desc: 08242DF0

[Thr 6768] IcrDetachFromServer: closing port 50001/1/0

[Thr 6768] IcmConnPoolFreeEntry: free conn pool entry 0999C0D0[0] in pool 08242D90 (nihdl=-1, ssl=00000000)

[Thr 6768] HTR: decrement load factor: 4000 -> 0 (d=4000)

[Thr 6768] ICR: IcrDetachFromServer -> 0

[Thr 6768] MPI<c>1#23 Close( 1 ) del=0 -> 0

[Thr 6768] MPI<c>1#25 Delete( 1 ) -> 0

[Thr 6768] MPI<c>1#24 Close( 1 ) del=1 -> 0

[Thr 6768] MPI<d>0#12 Close( 0 ) del=0 -> 0

[Thr 6768] MpiIFreeAllBuffers(): free 1120360

[Thr 6768] MPI<d>0#14 Delete( 0 ) -> 0

[Thr 6768] MPI<d>0#13 Close( 0 ) del=1 -> 0

[Thr 6768] NiICloseHandle: shutdown and close hdl 10 / socket 131032

[Thr 6768] IcmConnClose: Connection 0/6 closed

[Thr 6768] IcmConnFreeContext: context 0 released

[Thr 6768] IcmServDecrRefCount: IB2.SERV1.mydomain.com:44380 - serv_ref_count: 1

[Thr 6768] IcmWorkerThread: Thread 8: Waiting for event

[Thr 876] Tue Apr 01 12:38:19 2008

[Thr 876] NiIPeekListen: peek successful for hdl 4 / socket 131232 / socket -1

[Thr 876] SetQoS not possible, no QoS Provider available

[Thr 876] NiIInitSocket: set default settings for socket 131032

[Thr 876] NiIAccept: connect from: host 10.22.4.197, port C8.7C/51324, fam 2 (low adr..high adr)

[Thr 876] NiCreateHandle: state hdl 10 / socket 131032 NI_INITIAL

[Thr 876] nilh-localCheck: using local address list

[Thr 876] NiIAccept: took local port AD.5C/44380

[Thr 876] NiSetStat: state hdl 10 NI_CONNECTED

[Thr 876] NiIBlockMode: switch off block-mode for hdl 10 / socket 131032

[Thr 876] IcmExternalLogin: Connection request from Client received

[Thr 876] IcmConnCheckStoredClientConn: next client timeout check in 75 sec

[Thr 876] IcmServIncrRefCount: IB2.SERV1.mydomain.com:44380 - serv_ref_count: 2

[Thr 876] IcmQueueAppend: queuelen: 1

[Thr 7876] IcmWorkerThread: worker 9 got the semaphore

[Thr 876] IcmCreateRequest: Appended request 20

[Thr 7876] REQUEST:

Type: ACCEPT CONNECTION Index = 19

[Thr 876] IcmConnIntegrateServer: accepted connection from 10.22.4.197 on service 44380

[Thr 7876] CONNECTION (id=0/7):

used: 1, role: 1, stateful: 0

NI_HDL: 10, protocol: 16

host: 10.22.4.197:44380

status: NOP

connect time: 01.04.2008 12:38:19

MPI request: <0> MPI response: <0>

request_buf_size: 0 response_buf_size: 0

request_buf_used: 0 response_buf_used: 0

request_buf_offset: 0 response_buf_offset: 0

[Thr 7876] MPI:0 create pipe 02F60180 1

[Thr 7876] MPI<e>0#1 Open( ANONYMOUS 0 1 ) -> 0

[Thr 7876] MPI<e>0#2 Open( ANONYMOUS 0 0 ) -> 0

[Thr 7876] MPI:1 create pipe 02F60298 1

[Thr 7876] MPI<f>1#1 Open( ANONYMOUS 1 0 ) -> 1

[Thr 7876] MPI<f>1#2 Open( ANONYMOUS 1 1 ) -> 1

[Thr 7876] IcrHostStrToInt: hostname 10.22.4.197 = addr -989587958

[Thr 7876] RoutePlugInStartConn: Accepted connection from client: 10.22.4.197, -989587958

[Thr 7876] RoutePlugInStartConn: masked client ip: 10.22.0.0, 5642

[Thr 7876] IcrClientTabGetEntry: entry->key.client_ip: 5642, inst_name: J2EE2045300

[Thr 7876] RoutePlugInStartConn: tab entry for 10.22.4.197 found: instance->J2EE2045300

[Thr 7876] found matching port: prot=1 vhost=-1 port=50001 f=8

[Thr 7876] IcmIConnPoolAllocEntry: no unused entry for pool 08242D90 found (reuse conn: 0)

[Thr 7876] IcmIConnPoolAllocEntry: try to create new entry for pool 08242D90

[Thr 7876] IcmConnPoolAllocSlot: allocated entry 0999C0D0[0] of pool 08242D90

[Thr 7876] nihsl-getHostAddr: found hostname 'My.SAP.XI.System' in cache

[Thr 7876] nihsi-getHostAddr: hostname 'My.SAP.XI.System' = addr IP.of.My.SAP.XI.System

[Thr 7876] nihsi-getServNo: servicename '50001' = port C3.51/50001

[Thr 7876] NiCreateHandle: state hdl 11 / socket -1 NI_INITIAL

[Thr 7876] NiIBlockMode: switch off block-mode for hdl 11 / socket -1

[Thr 7876] NiLowLevCon: connect to: host IP.of.My.SAP.XI.System, port C3.51/50001, fam 2 (low adr..high adr)

[Thr 7876] NiIInitSocket: set default settings for socket 131024

[Thr 7876] NiISocket: hdl 11 got socket 131024

[Thr 7876] NiPConnect: connect in progress

[Thr 7876] SiPeekPendConn: connection of socket 131024 established

[Thr 7876] NiLowLevCon: took local port 06.9B/1691

[Thr 7876] nilh-localCheck: using local address list

[Thr 7876] NiSetStat: state hdl 11 NI_CONNECTED

[Thr 7876] IcmConnPoolConnect: Connection to host: My.SAP.XI.System, service: 50001 established (nihdl=11)

[Thr 7876] IcmConnPoolNewEntry: created new entry 0999C0D0[0] for pool 08242D90 (nihdl=11, ssl=00000000)

[Thr 7876] ICR: IcrAttachToServer('J2EE2045300' 1 4 1 port:50001/1/0) 0-> 0

[Thr 7876] RoutePlugInStartConn: routing 10.22.4.197 to destination J2EE2045300

[Thr 7876] IcmPlCheckRetVal: Next status: READ_REQUEST(1)

[Thr 7876] IcmReadFromConn(id=0/7): request new MPI (0/0)

[Thr 7876] MPI<e>0#3 GetOutbuf -1 111868 65536 (0) -> 030718C8 0

[Thr 7876] IcmReadFromConn(id=0/7): connection broken (len=0,0)

[Thr 7876] NiICloseHandle: shutdown and close hdl 10 / socket 131032

[Thr 7876] IcmReadFromConn(id=0/7): connection broken

[Thr 7876] PlugInStopConn: close connection

[Thr 7876] PlugInStopConn: shutdown backend connection

[Thr 7876] ConnPoolCloseNiHdl:

[Thr 7876] Pool Entry: 0999C0D0:

[Thr 7876] NI: 11, SSL: 00000000, allocated: 1, inuse: 1, desc: 08242DF0

[Thr 7876] NiICloseHandle: shutdown and close hdl 11 / socket 131024

[Thr 7876] IcrDetachFromServer: closing port 50001/1/0

[Thr 7876] IcmConnPoolFreeEntry: free conn pool entry 0999C0D0[0] in pool 08242D90 (nihdl=-1, ssl=00000000)

[Thr 7876] HTR: decrement load factor: 4000 -> 0 (d=4000)

[Thr 7876] ICR: IcrDetachFromServer -> 0

[Thr 7876] MPI<e>0#4 Close( 0 ) del=0 -> 0

[Thr 7876] MpiIFreeAllBuffers(): free 1120360

[Thr 7876] MPI<e>0#6 Delete( 0 ) -> 0

[Thr 7876] MPI<e>0#5 Close( 0 ) del=1 -> 0

[Thr 7876] MPI<f>1#3 Close( 1 ) del=0 -> 0

[Thr 7876] MPI<f>1#5 Delete( 1 ) -> 0

[Thr 7876] MPI<f>1#4 Close( 1 ) del=1 -> 0

[Thr 7876] IcmConnClose: Connection 0/7 closed

[Thr 7876] IcmConnFreeContext: context 0 released

[Thr 7876] IcmServDecrRefCount: IB2.SERV1.mydomain.com:44380 - serv_ref_count: 1

[Thr 7876] IcmWorkerThread: Thread 9: Waiting for event

We checked the J2EE logs on the XI server but we do not see any activity. Is the document making to XI or is this failing in SWD?

Thanks for the help.

PS Here is my SWD config:

  1. Profile generated by sapwebdisp bootstrap

  1. unique instance number

SAPSYSTEM = 5

  1. add default directory settings

DIR_EXECUTABLE = .

DIR_INSTANCE = .

  1. Accessibility of Message Servers

rdisp/mshost = MY.XI.SERVER.IP

ms/http_port = 8110

  1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

  1. configuration for default scenario (medium size)

icm/max_conn = 500

icm/max_sockets = 1024

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

icm/conn_timeout = 60000

mpi/total_size_MB = 80

#maximum number of concurrent connections to one server

wdisp/HTTP/max_pooled_con = 500

wdisp/HTTPS/max_pooled_con = 500

  1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=ROUTER,PORT=44380,TIMEOUT=3000

icm/server_port_1 = PROT=HTTP,PORT=64000

icm/HTTPS/verify_client=0

  1. SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt

Edited by: Joe Wright on Apr 1, 2008 7:51 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 06:16 AM

    Hi

    Did you check the connectivity i.e web dispatcher with any other system(LandScape).

    For example CRM for FICO.

    Thanks

    Sukrut S

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.