on 06-30-2005 5:46 PM
On Windows I am trying to create a bat file that will automate what I have listed below that in manual to a point and not fully automated.
Open a Windows command prompt
enter telnet <hostname> 50008
enter Administrator
enter <adminpassword>
enter jump 0
enter add deploy
enter run <script name>
Thanks,
Barry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ivo,
Thanks for the direction.
The first of those posts was very helpful in that is showed how to accomplish these with Ant.
The seond post I have read many times but the example in that post is for Unix. Can someone send me the same example for Windows?
Thanks,
Barry Beer
Momentum SI
Austin, TX USA
I will do just that with Ant but I also need scripts on how the start and stop the SAP services not just the web apps. Can you provide any examples on that? I can wrap them with Ant but I need to know the specific calls to make to the SAP tools and or shell script commands.
Thanks
Barry Beer
MomentumSI
Austin, Texas USA
Hello Berry,
I am not quite sure what you want to start and stop.
If the database is running and also the SCS instance (message server and enqueue server) you can start and stop the java processes (dispatcher, server and sdm) with the following scripts from the directory
C:\usr\sap\<SID>\JC<instance number>\j2ee\os_libs
Starting:
jcontrol pf=c:\usr\sap\<SID>\SYS\profile\<SID>_JC<instance number>_<computername>
e.g.
jcontrol pf=c:\usr\sap\J2E\SYS\profile\J2E_JC00_mycomputer
Stopping:
jcmon pf=c:\usr\sap\<SID>\SYS\profile\<SID>_JC<instance number>_<computername> < stop.txt
e.g. jcmon pf=c:\usr\sap\J2E\SYS\profile\J2E_JC00_mycomputer < stop.txt
where stop.txt should contain the 5 lines
20
2
y
0
0
Best regards,
Juergen
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.