cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web-Dispatcher VHOST not found

Former Member
0 Kudos

Hi Folks.

I followed this guide here:

http://sapassets.edgesuite.net/sapcom/docs/2016/03/0844080b-657c-0010-82c7-eda71af511fa.pdf

The part ob Connection the BOC to the Webdispatcher URL works fine.

Now I'm facing the Problem that the HANA Webdispatcher gives me the error:

The HANA is a Multitenant DB and I want to connect to a Tenant.

Calling the URL with the internal Tenant URL works fine.

IcrFindTargetSystem: No system found for vhost: ext.webdisptacher,url addr: internal URL:8000 url: /sap/bc/ina/service/v2/GetServerInfo

Any ideas??

That is my config:

WD Profile:

SAPSYSTEMNAME = WDP
SAPGLOBALHOST = PPSRVWDP001
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
DIR_EXECUTABLE = $(DIR_CT_RUN)
DIR_PROFILE = $(DIR_INSTALL)\profile
_PF = $(DIR_PROFILE)\WDP_W00_PPSRVWDP001
SETENV_00 = PATH=$(DIR_EXECUTABLE);%PATH%
#-----------------------------------------------------------------------
# Back-end system configuration
#-----------------------------------------------------------------------
#wdisp/system_0 = SID=GDA, MSHOST=ppgda, MSPORT=8101
#-----------------------------------------------------------------------
# Configuration of maximum number of concurrent connections
#-----------------------------------------------------------------------
icm/max_conn = 2000
#-----------------------------------------------------------------------
# SAP Web Dispatcher Ports
#-----------------------------------------------------------------------
icm/server_port_0 = PROT=HTTPS,PORT=4310
#-----------------------------------------------------------------------
# SAP Web Dispatcher Administration
#-----------------------------------------------------------------------
icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile)
#-----------------------------------------------------------------------
# Start webdispatcher
#-----------------------------------------------------------------------
_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)
Restart_Program_00 = local $(_WD) pf=$(_PF)
SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec

#-----------------------------------------------------------------------
# Business Obcets Cloud Connection
#-----------------------------------------------------------------------
wdisp/system_1 = SID=ORC, EXTSRV=https://BOCCLOUD.hana.ondemand.com, SRCURL=/sap, SRCSRV=*:4310
#-----------------------------------------------------------------------
# HANA SS2
#-----------------------------------------------------------------------
wdisp/system_2 = SID=SS2, EXTSRV=http://HANA.Tenant.local:8000, SRCURL=/hanass2, SRCSRV=*:4310
#-----------------------------------------------------------------------
# rewrite
#-----------------------------------------------------------------------
icm/HTTP/mod_0 = PREFIX=/,FILE=C:\usr\sap\WDP\SYS\profile\rewrite.txt

___________________________

rewrite

if %{SID} = ORC
   begin    
   SetHeader HOST BOCCloud.hana.ondemand.com
   SetResponseHeader HOST ext.webdisp.ch:4310
   RegIRewriteResponseHeader location https://BOCCLoud.hana.ondemand.com:443/(.*) https://ext.webdisp.ch:4310/$1  
   end
  
if %{SID} = SS2
   begin
   SetHeader clientProtocol HTTP
   RegIRewriteURL ^/hanass2(.*) /$1
   end

if %{SID} = SS2
   begin
   SetHeader clientProtocol HTTPS
   RegIRewriteURL ^/hanass2(.*) /$1
   end

Accepted Solutions (0)

Answers (1)

Answers (1)

julian_jimenez
Active Contributor
0 Kudos

Hi Christoph,

In the installation folder for WebDispatcher (usually C:\usr\sap\WDP) you can find a file with logs: dev_webdisp that may contain useful information.

You can also start the server with extra debugging options:

sapwebdisp.exe pf=sapwebdisp.pfl -f trace.log -t 10

Regards,

Julian