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:
Profile generated by sapwebdisp bootstrap
unique instance number
SAPSYSTEM = 5
add default directory settings
DIR_EXECUTABLE = .
DIR_INSTANCE = .
Accessibility of Message Servers
rdisp/mshost = MY.XI.SERVER.IP
ms/http_port = 8110
SAP Web Dispatcher Parameter
wdisp/auto_refresh = 120
wdisp/max_servers = 100
wdisp/shm_attach_mode = 6
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
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
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

Hi
Did you  check the connectivity i.e web  dispatcher with any other system(LandScape).
For example CRM for FICO.
Thanks
Sukrut S

Similar Messages

  • Web Dispatcher not doing the load balancing on the portal

    Hi Experts
    I am having a production issue where the SAP web dispatcher is not doing the load balancing on the portal.
    We have ESS/MSS portal with 1 Message server and 2 Application servers. The Web dispatcher is installed on the message server itself. Here is my Web disp profile file
    Profile generated by sapwebdisp bootstrap
    unique instance number
    SAPSYSTEM = 16
    add default directory settings
    DIR_EXECUTABLE = .
    DIR_EXECUTABLE = F:\usr\sap\<SID>\sapwebdisp
    DIR_INSTANCE = .
    Accessibility of Message Servers
    rdisp/mshost = <hostname>.com
    ms/http_port = 8111
    #Log and Trace
    rdisp/TRACE = 2
    SAP Web Dispatcher Parameter
    wdisp/auto_refresh = 120
    wdisp/max_servers = 100
    wdisp/shm_attach_mode = 6
    configuration as per SAP note 538405
    icm/max_conn      = 7000
    icm/max_sockets   = 14000
    icm/req_queue_len = 6000
    icm/min_threads   = 100
    icm/max_threads   = 300
    mpi/total_size_MB = 500
    mpi/max_pipes       = 14000
    wdisp/HTTPS/max_pooled_con = 7000
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTP,PORT=8888
    SSL
    icm/server_port_1 = PROT=ROUTER,PORT=443, TIMEOUT=60
    SAP Web Dispatcher Web Administration
    icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt
    wdisp/enable_j2ee_groups = TRUE
    wdisp/HTTPS/sticky_mask = 255.255.255.255
    In my Web dispatcher Admin page, I see all the three application servers, however the requests are going to only 1 App server. We are using ENd to End SSL configuration for the web dispatcher.
    We also have a reverse proxy in the landscape and reverse proxy is forwarding all the requests to the Web dispatcher. In Web disp Admin page>Dispatching Module>SSL End to END dispatching, I see only ONE table entry in the dispatching table and it is our Reverse Proxy.
    As all the requests are coming from only one source (Reverse proxy), it seems to me that the sap web dispatcher  is forwarding those to the same Application server every time.
    Can anyone please advise ?
    I also tried to configure logon group in NWA, the web dispatcher is detecting the logon group and all the app servers in the logon group. It still not doing the load balancing.
    I would greatly appreciate any help.
    Thanks
    Viny

    Vincent, can you please elaborate more ?  Is the web dispatcher not able to recognize stateful and stateless application requests ?
    I saw that the procedure for configuring SSL Termination on Web dispatcher is long and complicated and looks like SAP web dispatcher needs to have SSL certificate of its own. As we have no ABAP servers and only Java servers, I can not even create the PSEs using STRUST (as described in SAP help -http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/99c388d7c46bb9e10000000a42189d/frameset.htm
    We already have SSL certificates for Java App servers.
    I suppose there should be a way for web dispatcher to identify the incoming requests and forward to appropriate application servers.
    Any help is much appreciated.
    Thanks
    Viny

  • AQ Adapter error: Could not create XML document carrying AQ Headers

    I'm having problem with the AQ adapter (ADT) sample that comes with the SOA 10g install.
    I am running 10.1.3.4 on XP, using Oracle XE.
    I can use the sample sql script to enque and deque. However, when I deploy the sample ADT (BPEL project), I see errors in the opmn log. The BPEL instance is not even created.
    I see another post with similar question, Re: Debugging BPEL when using Oracle AQ but no answer.
    Any help is greatly appreciated. Thx!
    ----------------- err log --------------
    <2009-07-15 00:04:31,656> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    <2009-07-15 00:04:32,031> <INFO> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ctor: Initialized MessageReader for queue CUSTOMER_IN_QUEUE, consumer = null)
    <2009-07-15 00:12:15,984> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@e7af3a
    <2009-07-15 00:12:15,984> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.Exception: java.lang.NullPointerException
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:750)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:261)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.oc4j.sql.proxy.StatementBCELProxy.oc4j_releaseToCache(StatementBCELProxy.java:67)
         at oracle.oc4j.sql.proxy.StatementBCELProxy.oc4j_releaseTarget(StatementBCELProxy.java:79)
         at oracle.oc4j.sql.proxy.SQLBCELProxy.oc4j_close(SQLBCELProxy.java:95)
         at oracle.oc4j.sql.proxy.StatementBCELProxy.close(StatementBCELProxy.java:92)
         at oracle.AQ.AQOracleQueue.destroyStmt(AQOracleQueue.java:3099)
         at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1793)
         at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1307)
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:485)
         ... 4 more
    <2009-07-15 00:12:16,203> <FATAL> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Uncaught exception oracle.as.j2ee.transaction.tpc.ProtocolErrorWithNotification in JCA-work-instance:AQ Adapter-0 - cause: Branch [oracle.oc4j.sql.xa.EmulatedXAResource@14d9865, Xid( Global Id 34.5f.1e.a8.ff.ff.ff.ff.cd.b9.38.7d.22.01.00.00.7a.02.00.00.00.00.00.00, Format Id 1330790740, Branch Id 7c.e5.55.76.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@14d9865, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id 34.5f.1e.a8.ff.ff.ff.ff.cd.b9.38.7d.22.01.00.00.7a.02.00.00.00.00.00.00, Format Id 1330790740), type=orabpel, state=COMMITTING, time in completion or recovering=0)
    ....

    thanks for the reply. I did look into that post, and couldn't found where to set that option either.
    However, my PC was rebooted a few times today (I didn't change anything with BPEL), and I just re-ran the test now, that problem disappeared! It is working fine now.

  • Could not create XML document carrying AQ Headers

    Hi gurus,
    I’m trying to run the "Simple_XMLType_Payload" sample, and I have successfully deploy it on Oracle BPEL v10.1.3.1.0 , and after en-queue into the XMLType_Payload_In queue the recorded has been de-queued successfully, however there no instance for the BPEL has been created on the BPEL Console moreover there is no recorded inserted in XMLType_Payload_Out queue.
    After investigating the OC4j_SOA log file, I found the following error
    11/03/29 16:32:45 Confluent Monitor component started
    11/03/29 16:32:45 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    11/03/29 16:52:28 java.lang.ClassCastException: oracle.xdb.XMLType
    11/03/29 16:52:28      at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:448)
    11/03/29 16:52:28      at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:189)
    11/03/29 16:52:28      at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    11/03/29 16:52:28      at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
    11/03/29 16:52:28      at java.lang.Thread.run(Thread.java:595)
    <2011-03-29 16:52:28,082> <ERROR> <defualt.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@748771
    <2011-03-29 16:52:28,089> <ERROR> <defualt.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.ClassCastException: oracle.xdb.XMLType
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:448)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:189)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:595)

    But I have tried it on another server that also has 10.1.3.1 version but the OS version is HP-UX B.11.23 U ia64 , and it woks fine, however I’m still has the same issue on the original server that has OS version HP-UX B.11.31 U ia64 ?
    Edited by: user11096490 on Apr 4, 2011 11:06 AM

  • Error in tutorial: Could not create XML document carrying AQ Headers

    Hi,
    We try to run the AQOutboundCorrelation tutorial. After running the enqueue_reply.sql script the message was placed from the request to the reply queue and read by the AQ inbound adapter.
    Nothing happened in the flow. The following error occured in the domain log:
    Could not create XML document carrying AQ Headers
    Please help!!
    See log messages below
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_addPrimitive: field = PAYLOAD, value = Hallo
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_addPrimitive: field = RESULT, value = request received
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_getAsXML message:<<<<<<<
    <?xml version = '1.0' standalone = 'yes'?>
    <CORRELATIONREPLY_TYPE xmlns="http://xmlns.oracle.com/xdb/ANDRE">
    <PAYLOAD xmlns="">Hallo</PAYLOAD>
    <RESULT xmlns="">request received</RESULT>
    </CORRELATIONREPLY_TYPE>
    >>>>>>>>
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_readMessage: aqHeader = oracle.xml.parser.v2.XMLDocument@eabad
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_readMessage:Header<<<<<<<
    <?xml version = '1.0' standalone = 'yes'?>
    <Header xmlns="http://xmlns.oracle.com/pcbpel/adapter/aq/inbound/">
    <MessageId>CA714367FA1B4BB3B2AC0211C9ECF2DB</MessageId>
    <Priority>1</Priority>
    <Correlation>209EE57CB6AC4B2FA2034C6FA58AD24B</Correlation>
    <Attempts>0</Attempts>
    <EnqueueTime>2007-01-18T13:58:59.000+01:00</EnqueueTime>
    <OrigMessageId></OrigMessageId>
    </Header>
    >>>>>>>>
    <2007-01-18 13:58:59,187> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@12916fe
    <2007-01-18 13:58:59,187> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.NullPointerException
         at java.lang.String.<init>(String.java:479)
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:573)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:183)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    rverbeea1

    Sorry for not mentioning the product versions:
    The bpel process was build and deployed with Jdeveloper Studio edition version 10.1.3.1.0.3984 on a Bpel server/Application Server with version 10.1.3.1 (NT).

  • SAP Web dispatcher not forwarding incoming HTTP portal sessions.

    Hello,
    We are using an EP6 Portal from which Abap Web dynpros are launched. The incoming http sessions were accessing our backend ECC6 SAP system through the sap server message . The http sessions were badly dispatched between the two abap servers. We have been advised by SAP to use the sap web dispatcher instead.
    The sap web dispatcher has been correctly installed and configured (on the central abap instance ).
    I have carefully read the SAP help section concerning the server selection using the sap web dispatcher :
    http://help.sap.com/saphelp_nw04s/helpdata/en/5f/7a343cd46acc68e10000000a114084/frameset.htm
    All our settings seem to be OK :
    The incoming HTTP requests are forwarded to abap servers only.
    *In transaction SICF, all the services under the tree
    sap/public/icf_info have been assigned to the same logon group .
    The capacity of the two servers included in the logon
    group " is the same :
    server40 LB=12
    server60 LB=12
    In the Web interface, capacity equal "1" for the two servers.
    wdisp/load_balancing_strategy=  weighted_round_robin
    In the SAP web interface, the prefered server is ALWAYS the same :
    Status of Server Group "LOADIS"
    Loadbalancing Information
    Number of Servers in this group 2
    Last used Server
    Preferred next Server server40_SPA_10
    But it seems that the sap web dispatcher is not used at ALL.
    The Load distribution is still based on the SMLG workload as it was the case, before, with the sap message server. The information displayed in the web interface (preferred server) is wrong.
    The Preferred next Server is ALWAYS server40_SPA_10 (shown in the web interface), but, in fact, the http sessions are distributed between the two servers server60_SPA_00 and server40_SPA_10 depending on the server quality diplayed in transaction smlg. It was exactly the same behaviour we had before, only with the sap server message .
    Any useful help would be highly appreciated.
    Best Regards.

    Hi,
    firstly, have you checked note 1094342? What variant do you want to use? Do you terminate a SSL connection on web dispatcher and create a new one between web dispatcher and application server? It looks like the web dispatcher can't verify SSL certificate used by application server. Maybe you've already tried this but you can try to turn off SSL between dispatcher and application server. If this setup works then problem is in SSL connection. You can check what host name is used in SSL certificate and what host name is used by dispatcher. You can use parameter wdisp/ssl_certhost which sets host name which will be used for certificate validation.
    Cheers

  • Web dispatcher not starting and getting the error

    Hi everybody.i got this error when i am trying to start web dipatcher. how can i over come this?
    SAP Network Interface Router, Version 39.1 (SP3)
    command line arg 0:     ./saprouter
    command line arg 1:     -r
    command line arg 2:     -K
    command line arg 3:     p:CN=SGBWEP00, OU=0000709450, OU=SAProuter, O=SAP, C=DE
    SncInit(): Initializing Secure Network Communication (SNC)
    IBM RS/6000 with AIX (st,ascii,SAP_UC/size_t/void* = 8/64/64)
    SncInit(): Trying builtin default as a
    gssapi library name: "sncgss.o".
    ERROR => DlLoadLib: dlopen()=       0509-022 Cannot load module .
            0509-026 System error: A file or directory in the path name does not exist. -> DLENOACCESS (2,No such file or directory) [dlux.c       314]
    ERROR => SncPDLInit(): DlLoadLib("sncgss.o")=DLENOACCESS
    [sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss.o not loaded
    [sncxxdl.0604]<<- SncInit()==SNCERR_INIT
             sec_avail = "false"
    ERROR => NiSncInit: SncInit failed (rc=-1) [nisnc.c      653]
    ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp   1349]
    ERROR       SNC processing failed:
                 SncInit
    TIME        Mon Feb 23 11:21:41 2009
    RELEASE     710
    COMPONENT   NI (network interface)
    VERSION     39
    RC          -17
    MODULE      nisnc.c
    LINE        652
    DETAIL      NiSncInit: sncrc=-1
    COUNTER     3
    <<- ERROR: SncDone()==SNCERR_INIT_FIRST
    thanks

    Hello Nani,
    It looks to be a SNC Issue.
    just check wether you have the parameter snc/gssapi_lib define in ur profile of SAP system
    This parameter should be set to the path of your gssapi32.dll file
    Also u must also have a system variable defined SNC_LIB which is again to the path of gssapi32.dll
    Also make sure that gssapi32.dll exists
    Check these,ur web dispatcher might come up
    Rohit

  • Web dispatcher - not working

    Hello guys,
    we have a problem concerning our web dispatcher.
    Calling
    [Link to site|http://pc7.phoron.com/]
    we receive "The page cannot be displayed".
    The SAP Management console tells us, that the responsible web dispatcher is not working. Trying to start it with sapwebdisp pf=... everything works fine (no error message or something like that). Looking back at the console the webdisp still appears green and neither the web page nor the web administration interface is reachable.
    I don't really know why?!

    dev_webdisp:
    Wed Jun 11 07:11:29 2008
    *** ERROR => Connection request from (-1/65535/0) to host: , service:  failed (NIESERV_UNKNOWN)
    *** ERROR => IcmConnClientRqCreate() failed (rc=-8)
    *** ERROR => Could not connect to SAP Message Server at . URL=/msgserver/text/logon?version=1.2
    *** ERROR => rc=-1, HTTP response code: 0
    *** ERROR => see also OSS note 552286
    the mapping is not correct - there´s neither a target host nor a target service configured...
    check the given note.
    Markus

  • Can not generate XML Document Template

    I have the below class
    public class MyHome implements Serializable {
    ArrayList rooms;
    //getter/setter methods here
    When I right click mouse and select "Generate XML Template Document", I got the error
    Some fields could not be generated to the XML template
    c:\e200\dv900\java\classes\java\util\ArrayList.class (The system cannot find the path specified)
    Do you have any idea?

    Not with the info given...
    Which jdev version?
    Where do I find this menu, as I don't see it?
    Timo

  • Client authentication in PI when SAP Web dispatcher terminates SSL

    PI Security Experts,
    Here is our design for Third-party Peoplesoft system initiating SOAP Call to PI Web Service created on our PI server.
    1) Third-party Peoplesoft Application server initiates a SOAP call.
    2) Third-party Network Gateway has a URL server certificate from our gateway and our gateway server has a root certificate from the CA used by third-party gateway. this will be used to establish the SSL tunnel between gateway.
    3) SOAP request in our network will be routed through load balancer to SAP web dispatcher.
    4) SAP web dispatcher terminates SSL connection
    5) We will generate client cert for authentication and pass it onto third-party which they will load onto their PeopleSoft application server. SOAP call initiating from the PeopleSoft server will pass the client cert along with the message (My understanding is that the client cert will not be a part of SOAP message body. Ina other words we are not implementing message-level security. Is that true? How will the client cert be passed? How and where will a client attach the client cert with message?My understanding is that this is a network layer security and client certificate will be authenticated on PI J2ee server at SSL protocol level..Is my understanding correct?)
    6) We will also load client certificate generated for client onto J2EE server using Visual Admin and map it to PI user for authentication.
    7) SAP web dispatcher terminates SSL and passes the SOAP message to PI (J2EE) along with client cert in a http header variable.
    There is some conflicting SAP documents. some say that client cert can't be used for PI authentication if Web Dispatcher terminates SSL connection (http://help.sap.com/saphelp_nw04s/helpdata/en/ea/301e3e6217b40be10000000a114084/frameset.htm). There is some other documents that say that authentication using client cert is possible by having J2EE trusting Web Dispatcher and by passing client cert from Web Dispatcher to J2EE in a httpheader variable (http://help.sap.com/saphelp_erp2005/helpdata/en/ea/301e3e6217b40be10000000a114084/content.htm).
    Now if client cert authentication is possible even if Web dispatcher terminates SSL, what cert do we need on J2EE, a cert from Web dispatcher or a client cert that's coming in from the client appication (the one that we created and provided to our third-party)?
    If we install a cert from web dispatcher on J2EE then do we need a client cert on Web dispatcher instead of on J2EE? If so how and where do we map client cert to PI User?
    I will really appreciate any advise on whether we are going down the right path and any pointers to my questions.
    Thanks,
    Saurabh

    Hi,
    May be below links will be helpful
    Check the following links.. you will get the information all about the securities...
    http://help.sap.com/saphelp_nw04/helpdata/en/f7/c2953fc405330ee10000000a114084/content.htm
    Also read thru this link for message level security - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    Also find soeminformation in these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/882a40ce93185de10000000a1550b0/frameset.htm
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Step by step guide for SSL security
    step by step guide to implement SSL
    Please go through below link for referance (above information is from below link)
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ff/7932e4e9c51c4fa596c69e21151c7d/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/13/4a3ad42ae78e4ca256861e078b4160/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/7cddde33ff05cae10000000a128c20/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/0a2e0fef6211d3a6510000e835363f/content.htm
    General guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09f3d8e-d478-2910-9eb8-caa6516dd7d9
    Message level security
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    Regarding message level you can encrypt the message using certificates.
    For both of this basis team has to deploy the releavant certificates in XI ABAP Stack or Java stack.
    Generally if the scenarios are intra company we dont use any transport level or message level security since the network is already secured.
    Thanks
    Swarup

  • SAP WEB DISPATCHER

    Hi friends. I need to know if I can install the SAP WEB DISPATHCER in one Intel server with Linux? This configuration I'll need to configure in the HA and the DISPATCHER will running in the DMZ. Somebody can help me? Thanks for your cooperation.

    Yes, please start with this note
    Note 538405 - Composite SAP Note on the SAP Web Dispatcher
    also
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm">SAP Web Dispatcher</a>

  • Web dispatcher url Rewritting to several sap systems

    Hello SAP NW Community,
    we need a reverse Proxy to achieve   application of different SAP System via Internet. We desided to use web Dispatcher.
    The host names of sap systems should not be visible,  because of this we create the following URL Rewritting rules.
    For example:
    AAA, BBB and CCC are sap System SIDs;
    "wdisp.company.com" is the FQDN fron webdispatcher
    The "icm_filter" Looks like this:
    if% {HTTP_HOST} RegIMatch "wdisp.company.com"[and]
    If% {PATH} RegIMatch "AAA"
    RegIRewriteUrl ^/AAA/(.*)  /$1 [noescape]
    SetHeader x-sap-webDisp-target-sid AAA [break]
    the next rules are the same but for BBB and CCC.
    The idea is to rewrite in background all URLs such as:
    http(s)://wdisp.company.com/AAA/...
    to :
    http(s)://<FQDN from AAA>/...
    The result is always the same: the rewritting for AAA works fine but for BBB and CCC we get -http error 404.
    The results are independent from web browser(IE or Firefox).
    The http trace Tools- HttpWatch Basis or Firebug show also no rewritting  for BBB und CCC.
    According the documentation is web Dispatcher able to support  many "stateful" and "stateless"  connection to different backend sap System.
    Do you have any ideas why the rewritting works only for the first sap System?
    We tested with different browser and Browser sessions but the resul was the same.
    BR,
    Rumen

    Hi,
    Instead of PATH , use different pots like this, you can get the URL redirection,
    icm_filter.txt :
    if %{HTTP_HOST} regimatch wdhost.company.com* 
    SetHeader x-sap-webdisp-target-sid AAA [break]
    if %{HTTP_HOST} regimatch wdhost.company.com*
    SetHeader x-sap-webdisp-target-sid BBB [break]
    if %{HTTP_HOST} regimatch wdhost.company.com*
    SetHeader x-sap-webdisp-target-sid CCC [break]
    In Instance profile :
    wdisp/system_0 = SID=AAA,MSHOST= AAA.HostNane ,MSPORT=8111
    wdisp/system_1 = SID=BBB,MSHOST= BBB.Hostname ,MSPORT=8100
    wdisp/system_2 = SID=CCC,MSHOST= CCC.Hostname ,MSPORT=8101
    URL :
    http://wdhost.company.com:8111 --- goes to AAAhost and so on.
    regards
    Vagesan

  • Add aditional SAP web dispatcher on Server

    Hi expoerts,
    Could you guide me how to add an aditional web dispatcher on AS ABAP + Java?
    My AS is a Windows 2003 x64 with SQL Server 2005.
    Thanks!

    Hope below docs will help you
    http://sapbasis-admin.blogspot.com/
    /message/7660921#7660921 [original link is broken]
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/99d42fee2b73e7e10000000a42189b/content.htm
    Note 538405 - Composite SAP Note: SAP Web Dispatcher
    Note 928952 - Web Dispatcher Installation based on NW 7.0(2004s)
    regards
    nag

  • Certificate Revocation on SAP Web Dispatcher

    We have recently set up X.509 Certificate based authentication. The SSL handshake is performed by the Web Dispatcher. Requests are forwarded to SAP Netwewaver 2004s Portal with the certificate in the header field. All of this works "as advertised". Certificates are created by an OpenSSL based CA with the proper extensions and are mapped to UME accounts.
    Now we want add the ability to revoke certificates. One reason is, that even if a certificate is no longer mapped to an account, the Portal will still allow the user to log in and use the certificate. The certificate is not stored in the UME, but for the time of the session it looks as if the user did authenticate with a certificate.
    We have added the CRL distribtion point extension ot a certificate. We can see that the CRL is downloaded from this site. It shows up in the certificate revocation service page. However, all revoked certificates still work.
    The same CRL works correctly on an Apache test server. Here a revoked client certificate will already cause the SSL handshake to fail.
    Does it help us to have the CRL installed to the Portal server? Or is it necessary to set up revocation on the Web Dispatcher? Does the Web Dispatcher support certificate revocation at all? If yes, where does it get the CRL from? Does the CRL have to meet certain requirements in addition to the ones defined in RFC 3280?

    >
    Niels Carstensen wrote:
    > OSS ticket is pending.
    >
    > But if the Web Dispatcher accepted the revoked certificate for the SSL handshake, the Portal will just not authenticate the user. It will, however, allow the user to map the certificate to his account. This even seems to happen, if the CertPersisterLoginModule has been removed from the login stack. So all of a sudden the user can login with username password, and at the same time present the (invalid!) certificate to the applications...
    That indeed sounds like a bug - so it was a good idea to submit a support message.
    Regards, Wolfgang
    PS: I still believe that certificate revocation should be customizable on a per-application level ("application" in this context refers to "usage type": the same certificate might be used for different purposes: SSO, digital signature, encryption, S/MIME, ...). Furthermore, some of the certificate revocation mechanisms have a negative performance impact so they might be used with care. Take the payment card validation as an example: depending on the purchase amount you might be prompted for an online validation (requires to enter your PIN) and sometimes you simply need to sign-off a piece of paper - the decision is up to the shop operator and depends on the related costs (for online validation) which is comparable to "performance impacts" in our case).

  • Error SAP Web Dispatcher

    Buenas tardes estimados,
    Configure el web dispatcher con solman pero el webdispatcher solo me permite acceder a los servicios del stack de java que corren en el puerto 50000 pero no me deja ver los servicios abap de la SICF que corren en el puerto 8000 alguno tendra una idea de porque ocurre esto? y como puedo solucionarlo?

    Hola Diego,
    Te comento si estan corriendo perfectamente mis servicios de la sicf por el puerto 8000 y los de java por el 50000 mi ms/http_port es el 8101 lo que pasa es que el web dispatcher solo me detecta el stack de java no me detecta el stack de abap por ende puedo acceder a cualquier servicio que corra en el puerto 50000 pero a los que corren en el puerto 8000 que son los de abap no le llego por el webdisp porque el mismo no me esta detectando el stack de abap.
    Pude observar que al introducir esta url http://ServidorDeSolman:8101/msgserver/text/logon obtengo este resultado:
    version 1.0
    J2EE4070400
    J2EE       ServidorDeSolman     50000     LB=1
    J2EES     ServidorDeSolman     50001     LB=1
    P4             ServidorDeSolman     50004     LB=1
    P4S             ServidorDeSolman     50006     LB=1
    P4HTTP     ServidorDeSolman     50005     LB=1
    JC_MIASRV00_LCS_00
    ServidorDeSolman     50018
    Como podemos observar solo arroja info del stack de java y los puertos java pero no arroja la info del stack de ABAP.
    Tambien por el webdisp realice esta prueba via linea de comandos en el cmd:
    C:\usr\sap\WEB\SYS\profile>sapwebdisp -checkconfig pf=WEB_W02_MIASRV00
    Checking SAP Web Dispatcher Configuration
    =========================================
    maximum number of sockets supported on this host: 8192
    Server info will be retrieved from host: ServidorDeSolman:8101 with protocol: http
    Checking connection to message server...OK
    Retrieving server info from message server...OK
    Message Server instance list
    ------++--
    +
    instance name
    hostname
    HTTP port
    HTTPS port
    ------++--
    +
    J2EE4070400 ServidorDeSolman
    50000
    50001
    ------++--
    +
    Checking ABAP servers with URL "/sap/public/icman/ping":
    No server group "!DIAG" defined
    Checking J2EE servers with URL "/index.html":
    Checking J2EE server http://ServidorDeSolman:50000...OK
    Web Dispatcher configuration for J2EE only system: No server group !DIAG defined
    On double stack systems, configure Web Dispatcher to access Message Server of SAP Web AS ABAP     
    Pareciera que debo agregar algun parametro en el webdisp que indique que el sistema es dual stack pero de verdad no tengo idea si sea ese el problema y cual seria el parametro.
    Alguna idea de que se puede hacer?
    Muchas gracias por la ayuda
    Saludos Cordiales

Maybe you are looking for