cancel
Showing results for 
Search instead for 
Did you mean: 

rdisp/j2ee_start parameter for web dispatcher

Former Member
0 Kudos

Hi all,

We want our web dispatcher 7.2 to restart automatically, in case of any core dump.

we used this parameter rdisp/j2ee_start=1, but its not helping.

Is there any equivalent parameter for SAP web dispatcher?

Thanks

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Senthil,

Link from Sunny is very relevant for your query.

In addition, you can also check SAPNOTE: 538405.

Regards,

Sujit.

Former Member
0 Kudos

Thank you sunny and sujit.

We have decided to use the -auto_restart, but it says that when we start the web dispatcher we have to use the -auto_restart option.

Normally we start webdispatcher as ./startsap, we tried ./startsap -auto_restart it fails, as its not the option.

- can you please let us know the correct option to start webdispatcher using -auto_restart option?

- Also is there a way we can edit this startsap script to include this option, so that when any basis person in our team starts web dispatcher, they start it by default with the option -auto_restart?

Thanks

Senthil

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Have you tried with below option:

RESTART Option in the Profile

You can use the RESTART command in the instance profile to enable the start service to restart the process if the system crashes.

To do this, add the restart line for the program to the instance profile. For example,

Restart_Program_00 = local sapwebdisp pf=$(DIR_PROFILE)/BIN_WD77

This option is available on all platforms, but only if the SAP Web Dispatcher was started by the start service sapstartsrv.

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

auto_restart option is fast and its zero downtime, as two process runnings parallely (one acts as watchdog)

we used the below command

./sapwebdisp pf=/sapmnt/WPS/profile/WPS_W01_brewer -auto_restart &

to start the webdisp with the auto_restart option, its working.

I edited the startsap script and added the above line inplace of sapcontrol, but now to stop this process using stopsap script is a big deal.

bcos if we start using sapwebdisp command, the only way to stop is to kill the process.

or is there a command to stop the web dispatcher?

Thanks

Senthil

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

In this case, you can use below method to stop the web dispatcher:

Stopping the SAP Web Dispatcher

If you want to stop the SAP Web dispatcher, you determine the process ID (PID) and enter the following command: kill -2 (Windows). If the SAP Web dispatcher is running as a service in Windows, stop it by choosing Computer Management MMC ® Services ® Stop sapwebdisp.

Recommendation

You can take the PID of the SAP Web dispatcher from the trace file dev_webdisp in the work directory.

Thanks

Sunny

Former Member
0 Kudos

Thank you sunny and all

I added the below script

ps -ef | grep sapwebdisp | awk '{print$2}'| xargs -i kill {}

and using this to stopsap webdisp

Regards

Senthil

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos