cancel
Showing results for 
Search instead for 
Did you mean: 

Web dispatcher is not working for the SAP systems

Former Member
0 Kudos

Hi Team,

We have installed the Webdispatcher and attache the 2 java systems (PO & EP) ,we have to redirect and rewrite urls to these systems using one web dispatcher.

The Url redirecting is working only one(PO) system , the other system (EP) is not working .we got this error.

[Thr 2076] Fri May 22 13:13:46 2015

[Thr 2076] IcrFindTargetSystem: No system found for url: /

[Thr 4656] IcrFindTargetSystem: No system found for url: /favicon.ico

Please check my profile, update us the miss one

SAPSYSTEMNAME = CWD

SAPGLOBALHOST = WD_name

SAPSYSTEM = 00

INSTANCE_NAME = W00

DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64

DIR_EXECUTABLE = $(DIR_CT_RUN)

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

# 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,HOST=WD_name,PORT=81$$

icm/server_port_1 = PROT=HTTPS,HOST=WD_name,PORT=443

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

ssl/ssl_lib = $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL)

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

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

# Multiple Systems added in  Web Dispatcher Ports

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

#icm/server_port_2 = PROT=HTTP, PORT=8104

#icm/server_port_3 = PROT=HTTP, PORT=8101

#icm/Server_port_4 = PROT=HTTP, PORT=8001

icm/HTTP/redirect_2 = PREFIX=/, FROM=/nwa,TO=/nwa, PORT=443

icm/HTTP/redirect_3 = PREFIX=/irj, FROM=/irj/portal*,TO=/irj/portal, PORT=443

wdisp/system_0 = SID=COD, MSHOST=APP1.com, MSPORT=8104, SRCURL=/nwa;/logon;/nwa

wdisp/system_1 = SID=CED, MSHOST=APP2.com, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro

icm/HTTP/mod_0 = PREFIX=/,FILE=D:\usr\sap\CWD\SYS\profile\icm_filter.txt

wdisp/system_conflict_resolution = 2

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

# Reverse Proxy Configuration  & Ports

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

DIR_INSTANCE = D:\usr\sap\CWD\W00

ssl/server_pse=D:\usr\sap\CWD\W00\sec\SAPSSLS.pse

ssl/client_pse=D:\usr\sap\CWD\W00\sec\SAPSSLC.pse

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

Regards

mani

Accepted Solutions (0)

Answers (2)

Answers (2)

manumohandas82
Active Contributor
0 Kudos

Hi Manivannan ,

We wont be able to help you futher unless you can confirm the link you are trying to access .

There is lot of ambiguity with your webdispatcher profile anyways [ As you are  using the same URL filters and same webdispatcher ports ]

Read the following link  and  you should be able to fix the issue for yourself

One Web Dispatcher, Two Systems: Configuration Example - SAP Web Dispatcher - SAP Library

Thanks ,

Manu

Former Member
0 Kudos

Hi Manu,

Thanks ,

I have Installed one web dispatcher and to needs attach with 2 Java systems (PO & EP) , Only PO is working , and but EP is not working.

The EP initial logon page username & password is not accepted , the EP Page is not redirecting to the EP server.

Regards

mani

isaias_freitas
Advisor
Advisor
0 Kudos

Hi,

You have conflicting system selection criteria:


wdisp/system_0 = SID=COD, MSHOST=APP1.com, MSPORT=8104, SRCURL=/nwa;/logon;/nwa

wdisp/system_1 = SID=CED, MSHOST=APP2.com, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro

---> "/logon" can go to either system

Read the documentation about the wdisp/system - SAP Web Dispatcher - SAP Library parameters, specially the sections about SRCSRV and SRCURL.

Regards,

Isaías

Former Member
0 Kudos

Hi Isaias,

Thanks for your reply.I am not getting exactly what you are mentioned.can you please elaborate. so that it is very helpful to me.


wdisp/system_0 = SID=COD, MSHOST=APP1.com, MSPORT=8104, SRCURL=/nwa;/logon;/nwa

wdisp/system_1 = SID=CED, MSHOST=APP2.com, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro

regards

mani

manumohandas82
Active Contributor
0 Kudos

Hi Manivannan ,

[ As per my understanding ]

The external applications are connecting to your system using the port of your webdisapatcher  ( http :8100 and https :443 )

Since your webdiaptcher operates only on one port ( ie 443 and 8100 )  , there will be ambiguity as you have /logon and /nwa common in both profiles  ( check below )

wdisp/system_0 = SID=COD, MSHOST=APP1.com, MSPORT=8104, SRCURL=/nwa;/logon;/nwa

wdisp/system_1 = SID=CED, MSHOST=APP2.com, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro

One way to resolve this is ,  [ But then the webdispatcher  link will change for each system  ]

The idea will be to add more ports to the webdisaptcher and use SRCSRV instead of SRCURL .




Please read the following link

One Web Dispatcher, Two Systems: Configuration Example - SAP Web Dispatcher - SAP Library

Thanks ,

Manu

manumohandas82
Active Contributor
0 Kudos

Hi Mani ,

just a hunch , Is there a newline in the profile

wdisp/system_1 = SID=CED, MSHOST=APP2.com, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro


Thanks ,

Manu

Former Member
0 Kudos

Hi,

Yes , that is new line.

manumohandas82
Active Contributor
0 Kudos

Hi Manivannan ,

To confirm on anything you need to provide the follwoing

1 ) The full link you are accessing

2 ) Check the webdispatcher profile using

sapwebdisp -check



Believe there should be no new line , secondly dont know why you are using wdisp/system_conflict_resolution = 2 [ It should be one as u are only controlling using URL prefixes  ]  and last you have not configured for the link "/favicon.ico"in either filters .


Thanks ,

Manu

former_member185239
Active Contributor
0 Kudos

Hi Jayaraman,

First of all there will be no new line  for SRCURL , it will be a part of wdisp/system_1

Secondly,Replace the below parameter

icm/HTTP/redirect_2 = PREFIX=/, FROM=/nwa,TO=/nwa, PORT=443


with


icm/HTTP/redirect_2 = PREFIX=/irj, FROM=/nwa,TO=/nwa, PORT=443


Let us know the status.


With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi ,

We have changed the parameters, but no luck. the same error is coming.

IcrFindTargetSystem: No system found for url: