Web dispatcher redirects to Message Server

Hello SDN members.
Iu2019m using web dispatcher in front of a ABAP+JAVA installation. When Iu2019m tracing (HTTP) requests from the portal that are aimed to the ABAP WAS (usually requests to the webgui service) I can see the following:
1. the request are first directed to port 8100 (message server)
2. and then redirected to port 8000 (its)
Is this normal? Iu2019m aware that the Web Dispatcher uses the message server for information regarding load balancing, but is this redirect necessary? If not, how can I avoid it? From what i have seen in the SAP documentation, Web Dispatcher sends the requests to the ICM directly. Maybe I am missing something here.
Thank you very much for your time.
giorgos.

Hello Allaine,
Thanks for your answer. It really clarifies the process. However I would like to elaborate a bit on a gray (for me) spot:
SAP suggests that you should use Web Dispatcher as an HTTP Load Balancer (especially when a portal is used) and not the Message Server. Since that is what we are trying to do, I expected not to see any u201Cactionu201D on the Message Server port (8100 - even though the Web Dispatcher uses the Message Server for information regarding available servers, I thought that this would happen in the background). My expectations are based on the Web Dispatcher documentation where it is stated that:
Unlike [HTTP Load Balancing Using the SAP Message Server|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/c5935087b62d66e10000000a42189c/content.htm], redirects are not executed when the SAP Web dispatcher is used. This avoids the associated disadvantages (several IP addresses must be known, book marking is not possible, authentication after changing the application server).
So, what you meant in your post is that when the message server is accessed the HTTP balancing has already taken place? Or not?
Also as stated in Note [857596|https://service.sap.com/sap/support/notes/857596] HTTP 301 is sent by the Message Server when Load Balancing takes place. Thatu2019s why I said I want to avoid the redirection . I would like to comply with SAP directive to use the Web Dispatcher for HTTP Load Balancing and not the Message Server.
any suggestion is valuable!
Giorgos.

Similar Messages

  • Dispatcher running but message server not connected

    Hi Guys,
    I installed SAP netweaver 7.01 trial version and using MaxDB as database server.
    When I start the NSB using SAPMMC, the message server is running but the disp+work.EXE is not working properly. It sometimes shows the status 'Running but message server not connected' and sometimes 'Running but que standstill'. It would be a great help if you could guide me to the solution of this problem.
    DEV_MS file:-
    trc file: "dev_ms", trc level: 1, release: "701"
    [Thr 2148] Sat May 14 18:02:00 2011
    [Thr 2148] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid   560 (PC with Windows NT)
    relno      7010
    patchlevel 0
    patchno    0
    intno      20020600
    make:      multithreaded, ASCII, optimized
    pid        1484
    [Thr 2148] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 1484) [msxxserv.c   1853]
    [Thr 2148] MsInitAclInfo: acl file F:\SAP\NSP\SYS\global\ms_acl_info.DAT not found, unrestricted access
    [Thr 2148] MsGetOwnIpAddr: my host addresses are :
    [Thr 2148]   1 : [10.10.0.10] DESKTOP5 (HOSTNAME)
    [Thr 2148]   2 : [127.0.0.1] localhost (LOCALHOST)
    [Thr 2148]   3 : [192.168.1.8] desktop5 (NILIST)
    [Thr 2148] Sat May 14 18:02:01 2011
    [Thr 2148] MsHttpInit: full qualified hostname = desktop5
    [Thr 2148] HTTP logging is switch off
    [Thr 2148] set HTTP state to LISTEN
    [Thr 2148] ms/icf_info_server : deleted
    [Thr 2148] *** I listen to port sapmsNSP (3600) ***
    [Thr 2148] *** I listen to internal port 3900 (3900) ***
    [Thr 2148] *** HTTP port 8100 state LISTEN ***
    [Thr 2148] CUSTOMER KEY: >S1138463071<
    [Thr 2148] build version=701.2008.03.06
    [Thr 2148] Sat May 14 18:03:20 2011
    [Thr 2148] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from desktop5_NSP_00 [msxxserv.c   4711]

    DEV_DISP file:-
    trc file: "dev_disp", trc level: 1, release: "701"
    sysno      00
    sid        NSP
    systemid   560 (PC with Windows NT)
    relno      7010
    patchlevel 0
    patchno    7
    intno      20020600
    make:      multithreaded, ASCII, optimized
    pid        2740
    Sat May 14 18:02:02 2011
    kernel runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)
    length of sys_adm_ext is 364 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2740) [dpxxdisp.c   1257]
         shared lib "dw_xml.dll" version 7 successfully loaded
         shared lib "dw_xtc.dll" version 7 successfully loaded
         shared lib "dw_stl.dll" version 7 successfully loaded
         shared lib "dw_gui.dll" version 7 successfully loaded
         shared lib "dw_mdm.dll" version 7 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Sat May 14 18:02:11 2011
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 9 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5529]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >desktop5_NSP_00                         <
    DpShMCreate: sizeof(wp_adm)          8232     (1176)
    DpShMCreate: sizeof(tm_adm)          3786880     (18840)
    DpShMCreate: sizeof(wp_ca_adm)          1280     (60)
    DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm)          528048     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1296)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 057F0040, size: 4389744)
    DpShMCreate: allocated sys_adm at 057F0040
    DpShMCreate: allocated wp_adm at 057F1BF8
    DpShMCreate: allocated tm_adm_list at 057F3C20
    DpShMCreate: allocated tm_adm at 057F3C50
    DpShMCreate: allocated wp_ca_adm at 05B904D0
    DpShMCreate: allocated appc_ca_adm at 05B909D0
    DpShMCreate: allocated comm_adm at 05B90E80
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 05C11D30
    DpShMCreate: allocated gw_adm at 05C11D70
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05C11DA0
    DpShMCreate: allocated wall_adm at 05C11DA8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    Sat May 14 18:02:12 2011
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    Sat May 14 18:02:13 2011
    ***LOG Q0K=> DpMsAttach, mscon ( desktop5) [dpxxdisp.c   12204]
    DpStartStopMsg: send start message (myname is >desktop5_NSP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7010, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1048]
    DpMsgAdmin: Set patchno for this platform to 7
    Release check o.K.
    Sat May 14 18:02:53 2011
    my types changed after wp death/restart 0x9f --> 0x9e
    my types changed after wp death/restart 0x9e --> 0x9c
    my types changed after wp death/restart 0x9c --> 0x98
    my types changed after wp death/restart 0x98 --> 0x90
    my types changed after wp death/restart 0x90 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sat May 14 18:03:03 2011
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sat May 14 12:33:03 2011
    ========================

  • How to see Dispatcher,  gateway and Message server port numbers?

    Hi All,
    Can any body tell me how to know the port numbers of dispatcher, gateway & message server in a particular sap application server.
    Thanks & Regards
    Srinivas K

    Hi,
    This is very work around way...
    SM51-Choose theserver-there one icon (Magnifying glass) choose detaiols -
    There you will get dispatchet port.
    SMGW -
    dispaly file(icon) -
    in that you can find the port on which gate way is working.
    SMMS-goto-parametere--display...you can find the port for MS.
    SMMS -goto-display details (will give more info) you can find diff ports ...
    Apart from these all these services when they start they write log in work dir there we can find which port they are using while starting ..
    We can find them in the individual monitoring t-codes like SMMS,SMGW,SM51 etc..or from AL11 go to work dir and look at dev_disp,dev_ms,dev_rd.
    This is all very work around...
    The best will be services file at os level.
    Thanks.

  • Disp+work.exe / dispatcher / running but Message Server unreacheble.

    Hi!
    Can you please help me out of this proble? It is showing the status in WP Table as Ended instead of Wait. How can I fix this problem?
    Thanx a lot,
    Dean

    Hi
    Goto command prompt on windows execute sqlplus connect sys as sysdba
    Give me output of
    sql>select name,open_mode from v$database;
    Regards
    Vinod

  • 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

  • Two SAP Web Dispatcher

    Dear Sdn
    It is possible to connect two SAP Web Dispatcher togeter
    like this example:
    EP ->(over HTTP) -> Web Dispatcher -> (over HTTPS) ->Web Dispatcher->(over HTTP) -> EP
    in the installtion of web dispatcher it ask for http port of the message server and the web dispatcher is not message server so it dont work for me.
    Thanks for the help.
    Royi

    HI,
    I see in the NOTE 740234 that:
    Important: When you use end-to-end SSL, the Web dispatcher cannot access the URL, which means in this case that you cannot cascade Web dispatchers.
    So I understand I can't do that the two web dispature will comminicate in SSL.
    someone do this?
    Thanks
    Royi Denis

  • Accessing portal server with virtual host via web dispatcher

    Hi,
    I have portal installed at http://hostname.com:50000. A web dispatcher is installed in front of it which uses port number 80 and redirects to http://hosname.com:50000.
    so when i say http://hostname, my web dispatcher redirects to http://hostname.com:50000/ from where i can access my portal.
    now I want to create an alias for my hostname, say when user types http://mydev, it should redirect to http://hostname.company.com thru webdispatcher.
    so i created virtual host for my portal server . how to use this in my virtual hosts in my webdispatcher.
    I have already gone throug this..
    http://help.sap.com/saphelp_erp2005/helpdata/en/fe/cda776f2f64d5287c614b2f715c25f/frameset.htm
    would be great if some one can help me in this regard.
    Thank you
    P.S: I dont want to create a DNS alias with name mydev, then i think virtual host concept doesnt make sense, atleast in java engines..which has different concept in SAP systems.

    HI Jacob,
      Thank you for the reply.. I am little bit confused.could you please clarify the followint to me.
    My requirement is when user types "http://epdev", it should redirect to http://hostname.company.com:50000
    1. To do that, according to what you said, I will create a DNS alias epdev to the IP address where my portal is hosted. so when the user types http://epdev, I have set up a parameter in web dispatcher profile to redirect to http://hostname.company.com:50000/.. so my requirement is fulfilled now..I hope this the correct proc for what I intended to achieve. am I right?
    2. As said above, I am using web dispatcher only for redirection to a fully qualified name, as portal requires as fully qualified domain name. Is there a possibility other than web dispatcher for redirection.
    3. if the above procedure works, I got a question like..what is the use of "virtual hosts".
    How is it different from creating for instance, creating as many DNS aliases to IP address.
    Although, it was explained at http://help.sap.com/saphelp_erp2005/helpdata/en/0b/fbf5a47928f84e8d0beba8371508e6/frameset.htm
    I didnt clearly understand it.
    I would really appreciate, if you could clarify these to me.
    Thank you

  • Could not connect to backend system through portal via Web Dispatcher

    Web dispatcher redirecting problem
    Dear Experts,
    I have implemented a scenario which comprised of customizing that is developed in Portal EP7. What customizing does is getting report from backend system (ERP 6.0)
    According to the needs for reaching the portal from internet I configured the SAP Web Dispatcher in the environment as you may see its contents below.
    The problem is when I run the customizing in portal system then it requires connecting to backend system (ECC 6.0) to get the data (report). But from this point on web browser comes to a blank page, could not view the data that is from backend system via portal. Because in the time when it tries to retrieve data in backend system, on the left bottom of the explorer the indicator shows internet address that system uses connecting to the backend system as local network address of the backend system which is not known in internet therefore I get blank page.
    The question is how to configure the web dispatcher in a way that both portal and backend systems could be reachable from internet?
    Contents of profile file of Web Dispatcher as;
    SAPSYSTEMNAME = WDP
    SAPGLOBALHOST = portald
    SAPSYSTEM = 02
    INSTANCE_NAME = W02
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = portald
    ms/http_port = 8101
    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
    SAP Web Dispatcher Ports
    #icm/server_port_0 = PROT=HTTP,PORT=81$$
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTP,PORT=60000
    icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/index.html
    icm/HTTP/redirect_0 = PORT=50000
    #maximum number of concurrent connections to one server
    wdisp/HTTP/max_pooled_con = 500
    wdisp/HTTPS/max_pooled_con = 500
    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
    Regards,
    Ali Taner

    Hi,
    To resovle this you must have registered FQDN for your backend system as well. When you call the report from Portal using internet it should call that FQDN of your backend system then DNS will resolve this & you will get the expected page. This way only you can resolve this issue.
    Thanks,
    Sachin Sable

  • Running Multiple Web Dispatchers On The Same Server

    Is it possible to run multiple instances of Web Dispatcher on the same server?  I want to have one instance pointing to my WAS 6.40 system and the other instance pointing to my BW system.  I have set up two services on the NT server:  One named the standard sapwebdisp.exe and the other named sapwebdispbw.exe.  I am using two separate profile files, one for each instance.  The services start O.K.  However, when I attempt to access my BW system using the HTTP port as defined in the BW profile and the Web Dispatcher profile, I get a message back saying that "The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server."  I have double checked that the service is running and that the BW system is up and available.
    Any help is appreciated.
    Regards,
    Doug

    Hey guys,
    it seems you are web dispatcher specialists
    I have problems connecting even one server
    I would like to add an Enterprise portal (DEP) to the web dispatcher.
    My config file :
    SAPSYSTEMNAME = SDM
    SAPGLOBALHOST = webdispatch
    SAPSYSTEM = 00
    INSTANCE_NAME = W00
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = 172.20.40.6
    ms/http_port = 8101
    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
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTP,PORT=80, TIMEOUT=120, EXTBIND=1, TIMEOUT=120, PROCTIMEOUT=120
    Is it possible for you to paste your config file here ? 
    With explanation what the portal name is en waht the web dispatcher name is ?
    The error I get :
    no valid destination server available for '!ALL' rc=7
    Where can I adjust this !ALL and !J2EE group ?
    Where can I manage the /link/ ? (like /irj/portal)
    If you need any info please let me know.
    THank you for your time & help
    BUD

  • Support pakages and patch sap web dispatcher

    Hi,
    I have install sap web dispatcher on a sap server on abap stack.
    I have download support packages for web dispatcher form sap mark.
    Anybody know how can I patch web dispatcher with u201Csapwebdisp_86-20003979.saru201D file.. 
    Thanks for any help.

    Hi my friend
    Just unzip the SAR file and replace the old files with the latest, like replacing kernel files.
    Note 908097 - SAP Web Dispatcher: Released releases and applying patches
    Regards,

  • Can a customer extend Messaging Server cryptographic capabilities?

    One more question was brought up internally: is it possible to integrate Messaging Server and the related components with a third-party cryptographic software in order to extend SSL and Certificate authentication?
    There's certain development in JCP (Java 1.6 crypto) which has hooks for adding algorithms; perhaps it can be used to extend Access Manager and similar Java web-apps. But Messaging Server, Web/App Server, etc. engines are not quite Java... is there a way to extend them with some API, command-line calls, etc.?

    shane_hjorth wrote:
    JimKlimov wrote:
    New cyphers, I believe, or both. Particualrly, I wondered the Russian GOST crypto stack.I've asked the developers what would be required to provide support for this encryption routine.Messaging Server uses the NSS libraries to provide the various cipher-suite:
    http://www.mozilla.org/projects/security/pki/nss/
    If you wanted to get the GOST cipher suite implemented the best place to start would be to ask on the mozilla newsgroup (mozilla.dev.tech.crypto) although as was pointed our by a Messaging Server developer, implementing the GOST suite is far from straight-forward which may explain why nobody has implemented it till now.
    I did however find the following RFC which may help your endeavours:
    http://www.faqs.org/rfcs/rfc4357.html
    Regards,
    Shane.

  • Using existing SSL Certificate for Web Dispatcher

    Hi,
    We've registered a SSL certificate with wildcard option via GlobalSign. The history of this process is as below:
    1. We created a Certificate Request with IIS and send it to GS (GlobalSign).
    2. They send us the certificate file Globalsign Primary Secure Server CA and Globalsign Server Sign CA files.
    3. Import all ceritifcates into IIS and then exported the certificate into a Cert.pfx file.
    4. By using this file, we are able to import the SSL certificate into J2EE WAS 640  of Portal system.
    5. Now we want to use same certificate to establish a web dispatcher installation as intermediate server for internet access.
    Web Dispatcher documentations says to create a pse and req file with sapgenpse program and then send it to CA (here globalsign) to get a certificate.
    But when we asked GS, they told us to use the certificate they send us before. They cannot create a certificate file for the ourput of web dispatcher. It will be billed us if we persist.
    So, we have to find a way to use the existing certificate to enable SSL of Web Dispatcher.
    Any idea?

    Hi Huseyin,
    I also have the same scenario. We also want to use the same certificate from verisign for our webdispatcher.
    Do you know how to do. Can you help me.
    Thanks and Regards,
    Sailesh K

  • Web Dispatcher Connection to another host if Message Server not reached

    Hi Folks,
    Basically, the SAP Web dispatcher gets information which it needs for load distribution from the message server. If the message server is available the web dispatcher connects itself using the parameter rdisp/mshost.
    May i know if there is any parameter to enable connection to another host in case of e.g. a hardware failure and the message server is not able to receive any quests anymore from the web dispatcher?
    Regards,
    Collosis

    Hi,
    >May i know if there is any parameter to enable connection to another host in case of e.g. a >hardware failure and the message server is not able to receive any quests anymore from the web >dispatcher?
    There is no such parameter and it would not make any sense. There is only one Message server to connect to.
    If you need High availability you need to suppress the SPOFs.
    The Message server is one, the web dispatcher is another one.
    For this need, my CI and my web dispatcher are clusterised with MSCS.
    Regards,
    Olivier

  • Use message server as load balancing instead of web dispacher for XI in HA

    Hi all!
        We are currently upgrading a cluster XI installation from 3.0 to 7.0.
        The idea is:
              Now:    1 node (central instance)
                         1 node (database)
              Future: 1 node (central instance)
                         1 node (database + application instance)
         So we need some king of load balancing between the two instances.
         We already know web dispatcher and all configuration required. However we
    were trying not to use it but use the abap/java message server who can also do
    the redirect.
         However, once the Exchange Profile has been updated, it does not work.
         If we change "com.sap.aii.connect.repository.httpport" to "8101". Cache refresh stop working with a "Authorization Error". This is really strange because if I try the very same URL in the explorer and I enter the logon data, I have no problem.
         Do you have any experience with this? I mean, is it possible to avoid installing web dispatcher?
         Thanks and kind regards,
               Encinas.

    Hi David,
    the message server does only a redirect and some XI applications (JAVA and ABAP side) cannot handle the redirect URL.
    Therefore in the XI environment you have to use a "real" dispatcher (keeping the session and forwarding the session, instead of redirect) - for example you can use the SAP WebDispatcher here.
    Best regards,
    Silvia

  • Redirection in web dispatcher

    Dear Experts,
    I have ABAP backend system and I need to open it to internet. Doing so, I have implemented web dispatcher that is running in DMZ. Up to this point everything went on as desired, but one thing.
    When I call the URL http://teidom.com:60000 then it redirects to the target host with the local address http://<localhost>.teidom.local:8000/sap/bc/gui/sap/its/webgui. Hereby this is not possible to call the page from internet. This is working only in local network, not in internet. In order to call and view the page from internet, the address has to be intact with no address redirection.
    Just to get you closer to understand the situation, here below I wrote down the parameters which I defined for Web Dispatcher (sapwebdisp.pfl).
    SAPGLOBALHOST = WebServerRack
    SAPSYSTEM = 02
    INSTANCE_NAME = W02
    DIR_CT_RUN = C:\WebDisp\NTI3867
    DIR_EXECUTABLE = C:\WebDisp\NTI3867
    Accesssability of Message Server
    rdisp/mshost = backsvr.teidom.local
    ms/http_port = 8100
    Configuration for medium scenario
    icm/max_conn = 500
    icm/max_sockets = 1024
    icm/req_queue_len = 5003
    icm/min_threads = 10
    icm/max_threads = 50
    mpi/total_size_MB = 80
    SAP Web Dispatcher Ports
    #icm/server_port_0 = PROT=HTTP,PORT=81$$
    icm/server_port_0 = PROT=HTTP,PORT=60001
    icm/HTTP/redirect_0= PREFIX=/, PORT=8000, PROT=HTTP, TO=/sap/bc/gui/sap/its/webgui, HOST=backsvr.teidom.local
    Kind Regards,
    Taner Guler

    Hi Matt,
    It is very kind of you commenting on the subject.
    I just want to be sure of the problem that I am facing. My problem is when I call the URL http://teidom.com:60000 from the internet; it is supposed to view the page (information) from ABAP system. But it couldn't.
    Web dispatcher is running on the host named 'webdispsvr'
    In the firewall I set port 60000 open from internet to web dispatcher server
    And in the other firewall (at the back) I set port 8000 open to R3 ABAP system which supplies information to internet.
    After setting up the web dispatcher profile according to (thanks Olivier) instructions from help.sap.com
    At next stage I started to test
    First I tested it in local by URL http://webdispsvr:60000 it works and web browser views the ABAP login windows. From this point of the subject one thing that took my attention was, after pushing enter button for URL http://webdispsvr:60000 then it directly turns to address URL http://<localhost>.teidom.local:8000/sap/bc/gui/sap/its/webgui -- <localhost> is a host of where R3 ABAP system runs on (the address redirects to local address which is not wanted situation in the internet as long as it redirects to local URL address)
    Second test was in the internet
    Behaviour of the system is same nothing changed
    When I call URL http://teidom.com:60000, as it happens in local test, it redirects the URL to http://<localhost>.teidom.local:8000/sap/bc/gui/sap/its/webgui for this reason page could not be viewed when it is called from the internet.
    I hope above information is clear enough to get you understand how bad situation I am in.
    Isn’t there a way out of this struggle?
    Thanks all of you for your great contribution to the situation.
    Regards,
    Taner

Maybe you are looking for