cancel
Showing results for 
Search instead for 
Did you mean: 

Internal Server Error 500 while using SAP Webdispatcher

Former Member
0 Kudos

Hi All,

i have installed a SAP Webdispatcher for an ABAP/Java Cluster (two instances). While tesing the SAP Web Application Server for loadbalancing i often getting the following Error-Message:

Internal Server Error 500: Web-Dynpro-Application 'UmeAdminApp' has timed out or Web-Dynpro-Application 'Explorer' has timed out.

What does the error mean?

Please suggest me how to resolve this error

Andre D.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

at the first start of a application the web dynpro take some time to start completely.

mostly at the second or third start of the service the time out should not occoured.

plz check in the server0 log's / traces if the aplications are comletely started.

you can see it in jcmon, too.


/>su - xxxadm
xxxadm/>jcmon pf=/usr/sap/XXX/SYS/profile/XXX_JC00_xxx

------------------------------------------------------------
SAP System Name   : XXX
SAP System        : 00
MS Host           : xxx
MS Port           : 3901
Process Count     : 4
PID of JControl   : 376838
State of JControl : All processes running
State inside MS   : All processes running
Admin URL         :
------------------------------------------------------------

|Idx|Name               |PID     |State                |Error|Restart|
|---|-------------------|--------|---------------------|-----|-------|
|  0|dispatcher         |  463050|Running              |    0|yes    |
|  1|server0            |  524376|Running              |    0|yes    |
|  2|server1            |  348272|Starting applications|    0|yes    |
|  3|SDM                |  520436|Running              |    0|yes    |
------------------------------------------------------------

A Internal Server Error could be mean file permissions of the sap web dispatcher.

The trace of the wdp should tell you more...

Former Member
0 Kudos

Hello Christian,

thanks for your help. I used the jcmon tool und checked both instances; they are running without an error:.

process list central-instance:

-

-


SAP System Name : T05

SAP System : 00

MS Host : sapsolmanalt

MS Port : 3901

Process Count : 3

PID of JControl : 4780

State of JControl : All processes running

State inside MS : All processes running

Admin URL :

-

-


Idx

Name

PID

State

Error

Restart

---






0

dispatcher

6616

Running

0

yes

1

server0

7052

Running

0

yes

2

SDM

596

Running

0

yes

-

-


process list second instance:

-

-


SAP System Name : T05

SAP System : 02

MS Host : sapsolmanalt

MS Port : 3901

Process Count : 2

PID of JControl : 2352

State of JControl : All processes running

State inside MS : All processes running

Admin URL :

-

-


Idx

Name

PID

State

Error

Restart

---






0

dispatcher

11084

Running

0

yes

1

server0

6840

Running

0

yes

-

-


I also rebootet the whole SAP-System/Web Disptacher twice and noticed the following:

While connecting directly to the java instances via port 50000/50200 i was able to work without any errors; after starting the webdispatcher und connecting via port 8001 the known errors occured again.

So i am think, the Webdisptacher is responsible fpr my problems. Content of the sapwebdisp.pfl file:

1. SAPSYSTEM muss gesetzt werden, damit die shared memory Bereiche

2. angelegt werden koennen.

3. Die Nummer muss sich von anderen SAP Instanzen auf dem Rechner

4. unterscheiden

SAPSYSTEM = 01

1. Verzeichnisvariablen

DIR_EXECUTABLE = .

DIR_INSTANCE = .

1. Beschreibung des Message Servers

rdisp/mshost = 10.243.72.71

#ms/server_port_1 = 8101

ms/http_port = 8101

1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

1. Parameter fuer das HTTPS routing

2. wdisp/HTTPS/dest_logon_group = loadbalance_test

wdisp/HTTPS/max_client_ip_entries = 100000

wdisp/HTTPS/sticky_mask = 255.255.255.0

1. Beschreibung der Zugangspunkte

icm/server_port_0 = PROT=HTTP,PORT=8001

icm/server_port_1 = PROT=ROUTER,PORT=443

1. Beschreibung der Ressourcen

icm/min_threads = 20

icm/max_threads = 40

icm/max_conn = 500

1. Kommunikationspuffer

mpi/total_size_MB = 100

mpi/buffer_size = 65536

1. HTTPS-Ports

#ms/urlmap_secure = 1

#ms/urlprefix_secure = 1

1. Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=./admin,PORT=8001

Ignore the german annotations.

i hope anybody can help me.

thanks for your help& time

Andre D.

Edited by: André Dromowicz on Apr 30, 2009 2:24 PM

Former Member
0 Kudos

have you checked the trace file dev_webdisp of the web dispatcher for errors in the work directory (/usr/sap/WDP/W00/work/dev_webdisp)?

äh, you have your admin port of the web dispatcher at the same port where are your http port?

icm/server_port_0 = PROT=HTTP,PORT=8001

icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=./admin,PORT=8001

Former Member
0 Kudos

when is use another port than 8001 (8011 for example) i get no access to the Web Admin GUI (http://sapsolmanalt:8001/sap/admin/default.html).

the dev_webdisp file seems ok:

-


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

-


sysno 01

sid

systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 203

intno 20050900

make: multithreaded, Unicode, optimized

pid 3712

[Thr 3336] started security log to file dev_icm_sec

[Thr 3336] SAP Web Dispatcher running on: sapsolmanalt

[Thr 3336] MtxInit: 30001 0 2

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

[Thr 3336] IcrCoreInitSessionTable: Session table initialized

[Thr 604] *** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set => do not trust any intermediary

X.509 cert data will be removed from header [http_plgrt.c 723]

[Thr 604] HttpExtractArchive: files from archive ./wdispadmin.SAR in directory . are up to date

[Thr 604] HttpAdmHandlerInit: admin restricted to port: 8001

[Thr 604] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=0, flags=4101) for /sap/admin:0

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

[Thr 604] PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/32/32)

[Thr 604] CsiInit(): CSA_LIB = ".\sapcsa.dll"

[Thr 604] HttpSubHandlerAdd: Added handler HttpAuthHandler(slot=1, flags=12293) for /:0

[Thr 604] HttpSubHandlerAdd: Added handler HttpWebDispHandler(slot=2, flags=28677) for /:0

[Thr 604] Started service 8001 for protocol HTTP on host "sapsolmanalt"(on all adapters) (processing timeout=60, keep_alive_timeout=30)

[Thr 604] Thu Apr 30 15:39:16 2009

[Thr 604] IcrCoreInit: SAP Web Dispatcher server process started

[Thr 604] HTTPS router protocol started for logon group "-", check for stickyness: 1, mask: 255.255.255.0, context timeout: 3600

[Thr 604] Started service 443 for protocol ROUTER on host "sapsolmanalt"(on all adapters) (processing timeout=60, keep_alive_timeout=30)

[Thr 3336] IcmCreateWorkerThreads: created worker thread 0

[Thr 3336] IcmCreateWorkerThreads: created worker thread 1

[Thr 3336] IcmCreateWorkerThreads: created worker thread 2

[Thr 3336] IcmCreateWorkerThreads: created worker thread 3

[Thr 3336] IcmCreateWorkerThreads: created worker thread 4

[Thr 3336] IcmCreateWorkerThreads: created worker thread 5

[Thr 3336] IcmCreateWorkerThreads: created worker thread 6

[Thr 3336] IcmCreateWorkerThreads: created worker thread 7

[Thr 3336] IcmCreateWorkerThreads: created worker thread 8

[Thr 3336] IcmCreateWorkerThreads: created worker thread 9

[Thr 3336] IcmCreateWorkerThreads: created worker thread 10

[Thr 3336] IcmCreateWorkerThreads: created worker thread 11

[Thr 3336] IcmCreateWorkerThreads: created worker thread 12

[Thr 3336] IcmCreateWorkerThreads: created worker thread 13

[Thr 3336] IcmCreateWorkerThreads: created worker thread 14

[Thr 3336] IcmCreateWorkerThreads: created worker thread 15

[Thr 3336] IcmCreateWorkerThreads: created worker thread 16

[Thr 3336] IcmCreateWorkerThreads: created worker thread 17

[Thr 3336] IcmCreateWorkerThreads: created worker thread 18

[Thr 3336] IcmCreateWorkerThreads: created worker thread 19

[Thr 7088] IcmWatchDogThread: watchdog started

greets

Andre D.

Former Member
0 Kudos

But you have to use another port for the admin page!

here are a example profile of our wdp:


SAPSYSTEMNAME = WDP
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_CT_RUN)
#-----------------------------------------------------------------------
# Accesssability of Message Server
#-----------------------------------------------------------------------
rdisp/mshost = eps
ms/http_port = 8100

#-----------------------------------------------------------------------
# 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

#-----------------------------------------------------------------------
# Configuration for heavy scenario
#-----------------------------------------------------------------------
icm/max_conn               = 16350
icm/max_sockets            = 32768
wdisp/HTTP/max_pooled_con  = 16350
wdisp/HTTPS/max_pooled_con = 16350
icm/req_queue_len          = 8000
icm/min_threads            = 100
icm/max_threads            = 300
mpi/total_size_MB          = 700
mpi/buffer_size            = 32768

#-----------------------------------------------------------------------
# SAP Web Dispatcher Redirects
#-----------------------------------------------------------------------
icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/portal/

#-----------------------------------------------------------------------
# SAP Web Dispatcher Config
#-----------------------------------------------------------------------
#detailed error?
is/HTTP/show_detailed_errors = false

#own errorpages
icm/HTTP/error_templ_path = /usr/sap/WDP/W00/data/icmerror

#permission_table
wdisp/permission_table = /usr/sap/WDP/W00/data/permissions/permission_table

#-----------------------------------------------------------------------
# SAP Web Dispatcher Ports
#-----------------------------------------------------------------------
icm/server_port_0 = PROT=HTTP, PORT=80, EXTBIND=1
icm/server_port_1 = PROT=ROUTER, PORT=443, EXTBIND=1
icm/server_port_2 = PROT=HTTPS, PORT=8888
icm/HTTP/admin_0 = PREFIX=/sap/admin, DOCROOT=./admin, PORT=8888, HOST=localhost

Former Member
0 Kudos

thanks for your example, i will test next week and then report back.

Thank you very much

Andre D.

Edited by: André Dromowicz on May 4, 2009 10:34 AM

Former Member
0 Kudos

Hello,

i have tried the whole day make my system running; but it is always the same; i get the Message:

Die Web-Dynpro-Anwendung 'UmeAdminApp' ist abgelaufen. Starten Sie die Anwendung erneut, indem Sie die Auffrischen-Drucktaste oder den folgenden Link UmeAdminApp verwenden.

in english: the web dynpro apllication 'UmeAdminApp' has expired/timed out. Restart the application by pressing the refresh button or by using the following link

Sometimes, when i am not using/starting der Web Admin UI the WebDisptacher runs without problems, but a few minutes later i have the same problems as before. It seems to "crash" the System when running the Web Admin UI together with the WebDispatcher

For explanation, my sapwebdisp.pfl i am using now:


SAPSYSTEMNAME = T05
SAPSYSTEM               = 01
# Verzeichnisvariablen
DIR_EXECUTABLE = .
DIR_INSTANCE = .
# Beschreibung des Message Servers
rdisp/mshost            = sapsolmanalt
#ms/server_port_1           = 8101
ms/http_port            = 8101
# SAP Web Dispatcher Parameter
wdisp/auto_refresh      = 120
wdisp/max_servers       = 100
# Parameter fuer das HTTPS routing
# wdisp/HTTPS/dest_logon_group        = loadbalance_test
# wdisp/HTTPS/max_client_ip_entries   = 100000
# wdisp/HTTPS/sticky_mask             = 255.255.255.0

# Beschreibung der Zugangspunkte des Webdispatchers
icm/server_port_0       = PROT=HTTP,PORT=8000
icm/server_port_1       = PROT=ROUTER,PORT=443
icm/server_port_2 = PROT=HTTP, PORT=8888
icm/HTTP/admin_0 = PREFIX=/sap/admin, DOCROOT=./admin, PORT=8888

#-----------------------------------------------------------------------
# SAP Web Dispatcher Config
#-----------------------------------------------------------------------
#detailed error?
is/HTTP/show_detailed_errors = false

#-----------------------------------------------------------------------
# Configuration for heavy scenario
#-----------------------------------------------------------------------
icm/max_conn               = 16350
icm/max_sockets            = 32768
wdisp/HTTP/max_pooled_con  = 16350
wdisp/HTTPS/max_pooled_con = 16350
icm/req_queue_len          = 8000
icm/min_threads            = 100
icm/max_threads            = 300
mpi/total_size_MB          = 700
mpi/buffer_size            = 32768

SID of my System : T05

(80)01: SCS (using as message server port)

(80)00: central ABAP Instance (using as icm/server_port_0, but other ports like 8012 are working too)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andre, it has been 2 years but perhaps you have got an answer?

As for me, i tried using both HTTP and HTTPS. In both situations, i've tested UmeAdminApp and WebAdminApp webdynpros and they both give the same problem.