cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web Dispatcher - Admin Interface not working

Former Member
0 Kudos

Hi Folks,

I got a problem regarding the Web Dispatcher Administration Interface.

For some reason it can not be loaded.

The error message is:

404 Resource not found

-

-


Error: -28

Version: 7010

Component: HTTP_ADM

Date/Time: Tue Sep 23 14:01:38 2008

Module: http_adm_mt.cpp

Line: 1550

Server: dummy1__50

Error Tag: {-}

Detail: resource not found

© 2001-2007, SAP AG

I extracted SAP Web Dispatcher 7.00 (sapwebdisp_122-10004179.sar) and created profile using the bootstrap option.

The dispatcher is running and distributing requests to the J2EE (6.40) dialog instances.

My profile looks like this:

1. Profile generated by sapwebdisp bootstrap

1. unique instance number

SAPSYSTEM = 50

1. add default directory settings

DIR_EXECUTABLE = .

DIR_INSTANCE = .

1. Accessibility of Message Servers

rdisp/mshost = dummy1

ms/http_port = 8161

1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 25

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

1. 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/HTTPS/max_pooled_con = 500

1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=8999

icm/server_port_1 =

1. SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt,PORT=8999,HOST=dummy1,

I also extracted wdispadmin.SAR.

./admin and subdirectories look good. Got default.html in ./admin/public

There are 2 J2EE (6.40) dialog instances running on hosts dummy2 and dummy3.

The J2EE (6.40) central instance and SCS instance are running on host dummy1.

Web Dispatcher is also running on host dummy1.

Calling URL http://dummy1:8999 is working.

One question I got: in this scenario does the dummy1 J2EE Engine (not SCS) need to be running for the Web Dispatcher administration interface to work?

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

>in this scenario does the dummy1 J2EE Engine (not SCS) need to be running for the Web >Dispatcher administration interface to work?

No, I don't think so.

Just a precision, Do you get the http 404 error when calling

http://dummy1:8999/sap/wdisp/admin ?

You should increase the web dispatcher trace level and check the trace file after a restart of the web dispatcher and a call to the admin URL.

Regards,

Olivier

Former Member
0 Kudos

Hi Olivier,

Thanks for your response.

Good point regarding the trace level, will try that.

As for the URL: yes, when entering http://dummy1:8999/sap/wdisp/admin the system completes the URL automatically to http://dummy1:8999/sap/wdisp/admin/public/default.html and then the error occurs.

/cheers

Answers (1)

Answers (1)

stefan_hainer
Explorer
0 Kudos

Hi,

first of all, you got a 710 Web Dispatcher, not 700.

Mainly such errors occur because of a wrong version of the wdispadmin.sar, please check if the executable sapwebdisp and wdispadmin.sar are actualy from the same archive.

If this is correct, perhaps you start the sapwebdisp from another folder. Remember that with your configuration the admin handler searches the admin pages at "./admin"!

Please also check the access rights to the admin pages, perhaps you extraced with another user?

Regards,

Stefan

Former Member
0 Kudos

Hi Stefan,

thanks for your reply. Both wdispadmin.sar and sapwebdisp came from the same .sar package so they definitely fit together.

However, I could get it fixed by deleting the authorization txt file but keeping the profile and using -bootstrap option to generate a new auth. file. After that it worked.

No clue what went wrong with generating the auth. file in first place by using the -bootstrap option.

/cheers

stefan_hainer
Explorer
0 Kudos

Tip: You can use wdispmon to edit the admin users later (without running sapwebdisp -bootstrap again)

Former Member
0 Kudos

Stefan:

I always start the WD using "sapwebdisp pf=...." and never have anything to do with bootstrap.

I remember about 3 years ago I had to explicitly invoke bootstrap but not any more.

Please explain your posting.

Thanks!

stefan_hainer
Explorer
0 Kudos

Hi Linda,

the -bootstrap option is just to create a standard configuration befor starting the Web Dispatcher. It is a kind of wizard. You can also configure the Web Dispatcher while installing using SAPInst or manualy. For normal startup you do not use the -bootstrap option at all.

If you start with -bootstrap also a new icmauth.txt file is created, so you can also use this option to reset the user accounts. But you can also use the wdispmon tool to do edit the user accounts, that was the main point of my post.

Regards,

Stefan