on 10-11-2010 12:47 PM
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
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.