cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic start of AS Java

Former Member
0 Kudos

Hi all,

is it possible to start an AS Java from command line on a Windows operating system just like the startsap.exe command for an AS ABAP? I need this to start the server after a nightly complete backup automatically.

Thanks and best regards,

Holger

Accepted Solutions (1)

Accepted Solutions (1)

former_member432219
Active Participant
0 Kudos

Hi Holger

You can use 'sapcontrol' for ths.

'sapcontrol' uses the Web Service interface of 'sapstartsrv'

You'll find sapcontrol in the <central_instance>/exe directory and if you call sapcontrol from the command line without any arguments you get more information

It's a command line tool to control all fuctions provided by 'sapstartsrv'and these commands can be assembled in scripts

[Sap Control WebService|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e24f7b-1ba1-2b10-c0a0-e514b855624b]

Answers (1)

Answers (1)

Former Member
0 Kudos

try:

\usr\sap\<SID>\JC<NR>\exe\sapstartsrv.exe pf=<PROFILE_PATH>\START_JC<NR>_<HOST>

\usr\sap\<SID>\SCS<NR>\exe\sapstartsrv.exe pf=<PROFILE_PATH>\START_SCS<NR>_<HOST>