cancel
Showing results for 
Search instead for 
Did you mean: 

webdispatcher URL

Former Member
0 Kudos

Hello all,

can you help me with this:

http://<web_dispatcher_host>:<web_dispatcher_port>/sap/admin  >> works but does not show anything at Monitor Server Group ( should I check some paramater somewhere?)


http://<web_dispatcher_host><web_dispatcher_port>>> does not work:

500 Dispatching Error

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

Error: -26

Version: 7200

Component: HTTP_ROUTE

Date/Time: Fri Apr 09 08:16:52 2015 

Module: http_route_mt.c

Line: 3360

Server: hostname_SID_02

Error Tag: {00010055}

Detail: no valid destination server available for '!ALL' rc=13

Thx

Chris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solution is:

start web dispatcher with bootstrap

The error was: message server port number. Correct port number: aaxx, aa = first 2 numbers from the web dispacher http port connection and xx = the web dispatcher instance number

sapwebdisp -bootstrap>> this creates sapwebdisp.pfl

Thx for help

Starting the SAP Web Dispatcher with the Bootstrap Option - SAP Web Dispatcher - SAP Library

Answers (3)

Answers (3)

IanSegobio
Advisor
Advisor
0 Kudos

Hello Chris,

Just to confirm... Your request is to be able to access web dispatcher admin page with just its hostname and port?

Cheers,
Ian.

Former Member
0 Kudos

NO, does not work, but I think its a good thing, but I am not sure

thx

Chris

Former Member
0 Kudos

Hi Chris,

Please go through the below KBA on this..

1911913 - 500 Dispatching error thru web dispatcher

Also in my opinion the below parameter should have port Xxx00

icm/server_port_0 = PROT=HTTP,HOST=hostname,PORT=8181

where X is any number say 1, xx is the instance number of the system e.g.: 18100

Command to check if any issue with web dispatcher?

sapwebdisp –check

and complete URL for web dispatcher:

For Dual stack: http://<hostname>:<w_port>/sap/wdisp/admin/default.html

For java stack: http://<hostname>:<w_port>/sap/wdisp/admin/public/default.html

Regards,

Prithviraj

AtulKumarJain
Active Contributor
0 Kudos

Hi Chris,

Please check

Using the Web Administration Interface - SAP Web Dispatcher - SAP Library


Enter the URL http(s)://host:admin_port/sap/admin in the browser. Here the host is the computer on which the Web dispatcher or ICM is running and admin_port is the administration port configured withicm/HTTP/admin_<xx>.

I please check port configuration and restart the ICM.

Please check below sap note as well.

1605138 - No valid destination server available when using J2EE groups


You are using Web Dispatcher with multiple systems of which some are ABAP-only systems. You have set the parameter wdisp/enable_j2ee_groups = TRUE, because J2EE groups are required for the J2EE-only or dual-stack systems.

If J2EE groups are enabled, the URL prefix table of the ABAP-only systems will remain empty. This leads to dispatching errors for those systems.

This problem is caused by a program error.

BR

AKJ

Former Member
0 Kudos

Hello AKJ,

the connection http://<web_dispatcher_host>:<web_dispatcher_port>/sap/admin >> works fine


but I want to be able connect like this: http://<web_dispatcher_host>:<web_dispatcher_port> ( this URL is responsable for webdispatcher load-balancing for incoming requests? 


So the URL without "sap/admin" at the end, does not work.



My sapwebdisp.pfl looks like this:


# Profile generated by sapwebdisp bootstrap

# unique instance number

SAPSYSTEM = 01

# add default directory settings

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_INSTANCE = /usr/sap/SID/S01

# Accessibility of Message Servers

rdisp/mshost =

ms/http_port = 8100

# SAP Web Dispatcher Parameter

wdisp/auto_refresh = 25

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

wdisp/ssl_certhost =

# 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

mpi/total_size_MB = 80

#maximum number of concurrent connections to one server

wdisp/HTTP/max_pooled_con = 500

wdisp/enable_j2ee_groups = TRUE

wdisp/HTTPS/max_pooled_con = 500

# SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=8100

icm/server_port_1 = PROT=HTTPS,PORT=0

# SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt

icm/HTTP/admin_1 = PREFIX=0

Instance profile:

SAPSYSTEMNAME = SID

SAPSYSTEM = 01

INSTANCE_NAME = S01

DIR_CT_RUN = $(DIR_EXE_ROOT)/run

DIR_EXECUTABLE = $(DIR_CT_RUN)

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

# Accesssability of Message Server

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

rdisp/mshost =

ms/http_port = 3901

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

# 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=localhost,PORT=8100

icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=8100

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

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

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

~

Can you pls suggest something to correct it.

Thx

Chris

AtulKumarJain
Active Contributor
0 Kudos

Hi Chirs,

Please check below list of paramter

Overview of Parameters - SAP Web Dispatcher - SAP Library

wdisp/load_balancing_strategy

Load balancing strategy of SAP Web Dispatcher.

More information: Server Selection and Load Balancing Using the SAP Web Dispatcher

Load balancing strategy

Possible values:

weighted_round_robin

simple_weighted_round_robin

adaptive

weighted_round_robin

Please check URL mapping table as well.

Determining the Server Group - SAP Web Dispatcher - SAP Library

BR

AKJ

Former Member
0 Kudos

Thank you AKJ, I corrected my profiles but still does not work the URL without "sap/admin" at the end.

Now my profiles look like this:

sapwebdisp.pfl

# Profile generated by sapwebdisp bootstrap

# unique instance number

SAPSYSTEM = 02

# add default directory settings

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_INSTANCE = /usr/sap/SID/S01

# Accessibility of Message Servers

rdisp/mshost = hostname

ms/http_port = 8121

# SAP Web Dispatcher Parameter

wdisp/auto_refresh = 25

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

wdisp/ssl_certhost = hostname.ap.com

# 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

mpi/total_size_MB = 80

#maximum number of concurrent connections to one server

wdisp/HTTP/max_pooled_con = 500

wdisp/enable_j2ee_groups = TRUE

wdisp/HTTPS/max_pooled_con = 500

# SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=8181

icm/server_port_1 = PROT=HTTPS,PORT=0

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

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

# SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt

icm/HTTP/admin_1 = PREFIX=0

wdisp/load_balancing_strategy = weighted_round_robin

is/HTTP/default_root_hdl = j2ee

***************************************************************

web dispatcher instance.pfl

SAPSYSTEMNAME = SID

SAPSYSTEM = 02

INSTANCE_NAME = S01

DIR_CT_RUN = $(DIR_EXE_ROOT)/run

DIR_EXECUTABLE = $(DIR_CT_RUN)

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

# Accesssability of Message Server

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

rdisp/mshost = hostname

#ms/http_port = 3900

ms/http_port = 8121

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

# 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=hostname,PORT=8181

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

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

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

wdisp/load_balancing_strategy = weighted_round_robin

wdisp/enable_j2ee_groups = TRUE

wdisp/J2EE/url_map_location = http://hostname.ap.com:8181

wdisp/J2EE/group_info_location = http://hostname.ap.com:8181

is/HTTP/default_root_hdl=j2ee

*************************************************************

start profile

SAPSYSTEMNAME = SID

SAPSYSTEM = 02

INSTANCE_NAME = S01

DIR_CT_RUN = $(DIR_EXE_ROOT)/run

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = $(DIR_INSTALL)/profile

_PF = $(DIR_PROFILE)/SID_S01_hostname

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)

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

# 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

icm/HTTP/redirect_0 = PREFIX FROM=*, FROMPROT=http, PROT=https, HOST=hostname

is/HTTP/show_server_header = false

is/HTTP/show_detailed_errors = TRUE

wdisp/HTTPS/dest_logon_group = !J2EES

wdisp/load_balancing_strategy = weighted_round_robin

wdisp/enable_j2ee_groups = TRUE

wdisp/force_dest = JAVA

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

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

is/HTTP/default_root_hdl=j2ee

~

Can you pls suggest me how to continue? I am out of ideas

Thx

Chris

Johan_sapbasis
Active Contributor
0 Kudos

Hi,

Please review the below for assistance:

Error code for no valid destination server available when accessing SAP Web Dispatcher - Application...

It also contains links on troubleshooting the errors.

Also check http://scn.sap.com/thread/1429916

Regards,

Johan