cancel
Showing results for 
Search instead for 
Did you mean: 

503 Service unavailable while redirecting to netweaver 7.5 Java

ssuratharajan
Participant
0 Kudos

Hi Gurus,

We have a SAP web Dispatcher set up in the landscape and is being used to redirect all the links to the internal servers.

Although it directs the links to the abap stack and HANA , While setting it up with the netweaver 7.5 PI system ( JAVA only ) , I am getting the below error

I also checked the Check config in the server and ther results are valid and shows no error.  Please find the below attachment check config.

Now typically this is enough to reach the sap JAVA system services.

But in the below discussion it was mentioned to take the sap web dispatcher to the latest patch level .

which was also done , Now the Web dispatcher patch version is as below.

Any Suggesstions are welcome .

Regards,

Suratharajan .S

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

hello Suratharajan,

if you skip the SAP Webdisptacher, does it work?

thanks,
Mercedes

ssuratharajan
Participant
0 Kudos

Hi All,

The issue was resolved ,Yes the link works seperately without sap Webdispatcher

We had to replace the MSHOST with EXTSRV parameter , somehow the webdispatcher connects to the message server and from there it is not redirecting as it should be.

Might be a bug still in development.

Regards,

Suratharajan S

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Suratharajan,

Can you share the profile you used so we can try simulating the issue?

Regards,

Isaías

ssuratharajan
Participant
0 Kudos

Hi Isaias,

FYI ., Your insights are highly appreciated.

Regards,

Suratharajan

SAPSYSTEMNAME = WD2

SAPGLOBALHOST = Kaarkds

SAPSYSTEM = 02

INSTANCE_NAME = W02

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

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = \\Kaarkds\sapmnt\WD2\SYS\profile

_PF = $(DIR_PROFILE)\WD2_W02_Kaarkds

SETENV_00 = PATH=$(DIR_EXECUTABLE);%PATH%

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

# Back-end system configuration

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

#wdisp/system_0 = SID=KPI, NR=04, MSHOST=kaarscmserver.workgroup.com, MSPORT=8105, SRCSRV=*:8090, SRCURL=/sld/index.jsp;/dir/start/index.jsp;/webdynpro/resources/sap.com/tc~sld~wd~main/Main/;/nwa/;/favicon.ico

wdisp/system_0 = SID=KPI, EXTSRV=http://192.168.130.113:50400, SRCSRV=*:8090

#wdisp/system_1 = SID=HDB, EXTSRV=http://ktind0001.local.net:8002,  SRCSRV=*:8090, SRCURL=/sap/hba/;/hana/;/sap/hana/;/tmp/;/sap/check/;/sap/ui5/;/sap/wdisp/;/sap/bi/launchpad/

#wdisp/system_3 = SID=ERP, MSHOST=ktind0001.local.net, MSPORT=8101, SRCSRV=*:8090, SRCURL=/sap/opu/;/sap/public/;/sap/bc/;/sap/saml2/;/sap/es/;/nwbc;/gui;/ui2/nwbc/;/sap/bw

#wdisp/system_2 = SID=KTM, MSHOST=kaarscmserver.workgroup.com, MSPORT=8103, SRCSRV=*:8090, SRCURL=/sap/

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

# Configuration of maximum number of concurrent connections

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

icm/max_conn = 2000

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

# Tuning parameters that usually do not need to be adjusted

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

icm/max_sockets = ($(icm/max_conn) * 2)

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

mpi/total_size_MB = (min(0.06 * $(icm/max_conn) + 50, 2000))

mpi/max_pipes = ($(icm/max_conn) * 2)

wdisp/HTTP/max_pooled_con = ($(icm/max_conn))

wdisp/HTTPS/max_pooled_con = ($(icm/max_conn))

ssl/server_cache_size = (min($(icm/max_conn) * 4, 100000))

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

# SAP Web Dispatcher Ports

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

icm/server_port_0 = PROT=HTTPS,PORT=8090

icm/server_port_1 = PROT=HTTP,PORT=8080

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

# SAP Web Dispatcher Administration

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

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

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

# SSL Setup

# delete comment for individual configuration

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

wdisp/ssl_ignore_host_mismatch=true

wdisp/ssl_encrypt=0

#wdisp/ssl_auth = 1

#wdisp/ssl_encrypt = 1

#ssl/ssl_lib = /usr/sap/$(SAPSYSTEMNAME)/$(INSTANCE_NAME)/exe/libsapcrypto.so

ssl/server_pse = /usr/sap/$(SAPSYSTEMNAME)/$(INSTANCE_NAME)/sec/SAPSSLS.pse

ssl/client_pse = /usr/sap/$(SAPSYSTEMNAME)/$(INSTANCE_NAME)/sec/SAPSSLC.pse

#ssl/ciphersuites = HIGH:MEDIUM:+e3DES:!eNULL:!aNULL:!mMD5

#icm/HTTPS/verify_client = 1

#icm/HTTPS/forward_ccert_as_header = true

#wdisp/allow_mshost_in_hana_wdisp = 1

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

# Start webdispatcher

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

_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)

Restart_Program_00 = local $(_WD) pf=$(_PF)

SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Suratha,

Replacing MSHOST by EXTSRV was not the only change performed at the parameter "wdisp/system_0".

As you can see, SRCURL was also removed and this is what fixed the issue .

Try using:

    wdisp/system_0 = SID=KPI, MSHOST=kaarscmserver.workgroup.com, MSPORT=8105

I believe this will work.

You can read this WIKI page for more details and examples about the wdisp/system_X parameter.

Regards,

Isaías

ssuratharajan
Participant
0 Kudos

Hi Isaias,

Thanks it works , I understand now !!

Regards,

Suratharajan S

isaias_freitas
Advisor
Advisor
0 Kudos

You're welcome!

Answers (0)