cancel
Showing results for 
Search instead for 
Did you mean: 

WEBDISPATCHER

0 Kudos

I have configure webdispatcher on separate server which is on live ip for portals.

When i access through local link in premises(http://abc.gxt.pk:50000) and test the connection with back-end system , logon ticket method works perfectly.

When i access through dispatcher from link(http://webdisp.gxt.pk:8101) and test the connection with back-end system, it shows me logon page and ticket method does not work.

Access links are different but server is same.

Please suggest if any one is aware of this problem.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Uneeb,

Just to be sure, are you using Webdispatcher hostname for ABAP backend system in "ITS" and "Web As" sections of the system?

If not, please change it and try.

Thanks,

Vishal

Former Member
0 Kudos

Hi,

Please check   ume.logon.security.relax_domain property.

Thanks and Regards,

Kaivalya

feng_shi
Active Participant
0 Kudos

Hi,

Could you please provide the webdispatcher profile and trace  ?

Thanks and best regards,

Shi Feng

0 Kudos

Hi,

Please find below :

Dispatcher Profile

SAPSYSTEMNAME = WED

SAPSYSTEM = 00

INSTANCE_NAME = W00

DIR_CT_RUN = $(DIR_EXE_ROOT)$(DIR_SEP)$(OS_UNICODE)$(DIR_SEP)linuxx86_64

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = $(DIR_INSTALL)/profile

_PF = $(DIR_PROFILE)/WED_W00_UOLWED

SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)

SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)

SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)

SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)

SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)

#-----------------------------------------------------------------------

# Accesssability of Message Server

#-----------------------------------------------------------------------

#rdisp/mshost = UOLERD

#ms/http_port = 8000

wdisp/system_1 = SID=EPD, EXTSRV=http://uolepd:50000, SRCSRV=*:81$$, SRCURL=/irj/;/

wdisp/system_2 = SID=RCD, EXTSRV=http://uolrcd:50000, SRCSRV=*:8101, SRCURL=/irj/;/

wdisp/system_3 = SID=PIP, EXTSRV=http://uolpip:50000, SRCSRV=*:8102, SRCURL=/irj/;/

wdisp/system_4 = SID=ERD, MSHOST=UOLERD, MSPORT=8000, SRCSRV=*:8103, SRCURL=/sap/opu/;/sap/bc/;/sap/public/bc,

#-----------------------------------------------------------------------

# Configuration for large scenario

#-----------------------------------------------------------------------

icm/max_conn = 16384

icm/max_sockets = 16384

icm/req_queue_len = 6000

icm/min_threads = 100

icm/max_threads = 250

mpi/total_size_MB = 500

mpi/max_pipes = 21000

wdisp/system_conflict_resolution = 1

#-----------------------------------------------------------------------

# SAP Web Dispatcher Ports

#-----------------------------------------------------------------------

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

icm/server_port_1 = PROT=HTTP,HOST=UOLWED,PORT=81$$

icm/server_port_2 = PROT=HTTP,HOST=UOLWED,PORT=8101

icm/server_port_3 = PROT=HTTP,HOST=UOLWED,PORT=8102

icm/server_port_4 = PROT=HTTP,HOST=UOLWED,PORT=8103

icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=81$$

#-----------------------------------------------------------------------

# Start webdispatcher

#-----------------------------------------------------------------------

_WD = wd.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)

Execute_00 = local rm -f $(_WD)

Execute_01 = local ln -s -f $(DIR_EXECUTABLE)/sapwebdisp$(FT_EXE) $(_WD)

Start_Program_00 = local $(_WD) pf=$(_PF)

SETENV_05 = SECUDIR=$(DIR_INSTANCE)/sec

Trace :

---------------------------------------------------

trc file: "dev_webdisp", trc level: 1, release: "742"

---------------------------------------------------

sysno      00

sid        WED

systemid   390 (AMD/Intel x86_64 with Linux)

relno      7420

patchlevel 0

patchno    27

intno      20020600

make multithreaded, ASCII, 64 bit, optimized

profile /usr/sap/WED/SYS/profile/WED_W00_UOLWED

pid        20751

[Thr 140688430090080] Thu Sep  1 23:31:13 2016

[Thr 140688430090080] started security log to file ./dev_icm_sec

[Thr 140688430090080] SigISetDefaultAction : default handling for signal SIGCHLD

[Thr 140688430090080] SAP Web Dispatcher running on: UOLWED.uol.pk

[Thr 140688430090080] MtxInit: 30001 0 2

[Thr 140688430090080] ***LOG IM1=> IcmInit, Startup (SAP Web Dispatcher&UOLWED.uol.pk&20751&) [icxxman.c    2019]

[Thr 140688430090080] ***LOG Q0I=> NiIBindSocket: could not delete file '/tmp/.sapstream65000' for hdl 1: unlink (1: Operation not permitted) [/bas/742_REL/src/base/ni/nixxi.cpp 3758]

[Thr 140688430090080] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream65000' (hdl 1; errno=1) [nixxi.cpp    3765]

[Thr 140688430090080] ***LOG Q0I=> NiIBindSocket: could not delete file '/tmp/.sapstream64999' for hdl 2: unlink (1: Operation not permitted) [/bas/742_REL/src/base/ni/nixxi.cpp 3758]

[Thr 140688430090080] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream64999' (hdl 2; errno=1) [nixxi.cpp    3765]

[Thr 140688430090080] IcmInit: listening to admin port: 64998

[Thr 140688430090080] MPI: dynamic quotas disabled.

[Thr 140688430090080] MPI init: pipes=21000 buffers=7994 reserved=2398 quota=10%

[Thr 140688430090080] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Ext.

[Thr 140688430090080] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Ext.

[Thr 140688430090080] CGROUPS: changing prio of pid 20751 to medium

[Thr 140688430090080] CGROUPS: disabled

[Thr 140688430090080] System EPD: only HTTP used in in EXTSRV, set SSL_ENCRYPT=0

[Thr 140688430090080] System RCD: only HTTP used in in EXTSRV, set SSL_ENCRYPT=0

[Thr 140688430090080] System PIP: only HTTP used in in EXTSRV, set SSL_ENCRYPT=0

[Thr 140688430090080] IcrIAddSingleSystem: Added backend system: SID=EPD, SRCURL=/irj/, SRCSRV=*:8100, EXTSRV=http://uolepd:50000, SSL_ENCRYPT=0, SSL_IGNORE_HOST_MISMATCH=false

[Thr 140688430090080] IcrIAddSingleSystem: Added backend system: SID=RCD, SRCURL=/irj/, SRCSRV=*:8101, EXTSRV=http://uolrcd:50000, SSL_ENCRYPT=0, SSL_IGNORE_HOST_MISMATCH=false

[Thr 140688430090080] IcrIAddSingleSystem: Added backend system: SID=PIP, SRCURL=/irj/, SRCSRV=*:8102, EXTSRV=http://uolpip:50000, SSL_ENCRYPT=0, SSL_IGNORE_HOST_MISMATCH=false

[Thr 140688430090080] IcrIAddSingleSystem: Added backend system: SID=ERD, MSHOST=UOLERD, MSPORT=8000, SRCURL=/sap/opu/, SRCSRV=*:8103, SSL_ENCRYPT=0, SSL_IGNORE_HOST_MISMATCH=false

[Thr 140688430090080] IcrCoreInitSessionTable: Session table initialized

[Thr 140687742691072] Adding HttpAdminHandler: PREFIX=/sap/admin,DOCROOT=/usr/sap/WED/W00/data/icmandir,AUTHFILE=/usr/sap/WED/SYS/global/security/data/icmauth.txt,PORT=8100

[Thr 140687742691072] HttpExtractArchive: files from archive /usr/sap/WED/SYS/exe/nuc/linuxx86_64/wdispadmin.SAR in directory /usr/sap/WED/W00/data/icmandir are up to date

[Thr 140687742691072] HttpAdmHandlerInit: admin restricted to the port(s): 8100

[Thr 140687742691072] HttpISubHandlerAdd: Added handler HttpAdminHandler(0x13d1860), slot=0, flags=45061) for /sap/admin, active: 1, table 0x13c6f70

[Thr 140687742691072] Thu Sep  1 23:31:13 2016

[Thr 140687742691072] Adding HttpModHandler: PREFIX=/

[Thr 140687742691072] HttpISubHandlerAdd: Added handler HttpModHandler(0x13c7410), slot=1, flags=12293) for /, active: 1, table 0x13c6f70

[Thr 140687742691072] Adding HttpAuthHandler: PREFIX=/,FILTER=SAP

[Thr 140687742691072] CsiInit(): Initializing the Content Scan Interface

[Thr 140687742691072]            AMD/Intel x86_64 with Linux (mt,ascii,SAP_CHAR/size_t/void* = 8/64/64)

[Thr 140687742691072] CsiInit(): CSA_LIB = "/usr/sap/WED/SYS/exe/nuc/linuxx86_64/libsapcsa.so"

[Thr 140687742691072] HttpISubHandlerAdd: Added handler HttpAuthHandler(0x13c7a60), slot=2, flags=12293) for /, active: 1, table 0x13c6f70

[Thr 140687742691072] HttpISubHandlerAdd: Added handler HttpWebDispHandler(0x1383d80), slot=3, flags=1060869) for /, active: 1, table 0x13c6f70

[Thr 140687742691072] WebSocketPlugInInit: WebSocket Plugin initialized

[Thr 140687742691072] IcmAddHiddenService: Hidden service WEBSOCKET started

[Thr 140687742691072] Started service HOST=UOLWED,PORT=8100,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 140687742691072] *** ERROR => NiIBindSocket: SiBind failed for hdl 33/sock 12

(SI_EPORT_INUSE/98; I4; ST; 172.20.4.113:8100) [nixxi.cpp    3778]

[Thr 140687742691072] *** ERROR => IcmBindService: NiBuf3Listen failed for host UOLWED(172.20.4.113):8100 (rc=-4): NIESERV_USED [icxxserv.c   3374]

[Thr 140687742691072] *** WARNING => IcmAddService: Could not start service (rc=-1) HOST=UOLWED,PORT=8100,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60 [icxxserv.c   1031]

[Thr 140687742691072] Started service HOST=UOLWED,PORT=8101,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 140687742691072] Started service HOST=UOLWED,PORT=8102,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 140687742691072] Started service HOST=UOLWED,PORT=8103,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 140688430090080] SigISetDefaultAction : default handling for signal SIGCHLD

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 0

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 1

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 2

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 3

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 4

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 5

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 6

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 7

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 8

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 9

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 10

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 11

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 12

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 13

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 14

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 15

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 16

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 17

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 18

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 19

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 20

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 21

[Thr 140688430090080] Thu Sep  1 23:31:13 2016

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 22

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 23

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 24

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 25

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 26

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 27

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 28

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 29

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 30

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 31

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 32

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 33

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 34

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 35

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 36

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 37

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 38

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 39

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 40

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 41

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 42

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 43

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 44

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 45

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 46

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 47

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 48

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 49

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 50

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 51

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 52

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 53

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 54

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 55

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 56

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 57

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 58

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 59

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 60

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 61

[Thr 140688430090080] Thu Sep  1 23:31:13 2016

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 62

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 63

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 64

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 65

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 66

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 67

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 68

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 69

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 70

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 71

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 72

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 73

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 74

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 75

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 76

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 77

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 78

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 79

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 80

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 81

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 82

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 83

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 84

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 85

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 86

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 87

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 88

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 89

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 90

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 91

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 92

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 93

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 94

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 95

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 96

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 97

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 98

[Thr 140688430090080] IcmCreateWorkerThreads: created worker thread 99

[Thr 140687742691072] IcmWatchDogThread: watchdog started

feng_shi
Active Participant
0 Kudos

Hi,

It seems that Webdispatacher is working correctly.

what did you mean " it shows me logon page and ticket method does not work." exacly ?

maybe it's better to upload the screenshot which show the error.

Thanks and best regards,

Shi

0 Kudos

This one is fine and from local link

This one is not working correctly if going on same server from dispatcher.

Former Member
0 Kudos

Hello Uneeb,

Please check this document

scn.sap.com/docs/DOC-16078

Thanks,

Hardeep

former_member227283
Active Contributor
0 Kudos

Hello Uneeb,

If I am not wrong on the internal page your domain is *.oul.pk as well as your back end system domain is *.oul.pk where everything is working fine.

Now in your web dispatcher scenario you webdipatcher URL domain is *.oul.edu.pk and back end system domain is *.oul.pk , if this is correct then this is a problem where due to cross domain sap sso ticket is not getting authenticated and you are getting logon page.

To solve this problem you should configure webdipatcher with second URL bypass i.e. of backend so you can call the backend page with same domain as webdipatcher and same details should be maintained portal system object for backend.

Or you have to configure sap cross domain scenario to authenticate the tickets.

Regards,

Anil Bhandary

0 Kudos

Could you tell me more about cross domain scenario to authenticate tickets ?

former_member227283
Active Contributor
0 Kudos

Cross domain is bit complicated when you perform integration with multiple sap components.

Pls refer the below link

I would suggest to modify backend URL by using  webdipatcher which will help to bring common domain and which will resolve your problem.

Regards,

Anil Bhandary

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Uneeb,

At your Web Dispatcher profile, I see:


wdisp/system_1 = SID=EPD, EXTSRV=http://uolepd:50000, SRCSRV=*:81$$, SRCURL=/irj/;/

wdisp/system_2 = SID=RCD, EXTSRV=http://uolrcd:50000, SRCSRV=*:8101, SRCURL=/irj/;/

wdisp/system_3 = SID=PIP, EXTSRV=http://uolpip:50000, SRCSRV=*:8102, SRCURL=/irj/;/

Are these SAP NetWeaver Java systems?

If yes, you should not use "EXTSRV", but configure them in the same as you did at "wdisp/system_4 = SID=ERD, ...".

In addition, you would have to adjust the System Object at the Portal, pointing the "ITS" and "WebAS" properties to the Web Dispatcher instead of directly to the backend.

The Configuring the Web Dispatcher for Multiple Systems - Clarifications and Examples - Application Serv... WIKI page might help you with this setup.

Regards,

Isaías