on 05-24-2006 12:24 PM
Hi!
I am trying to execute a remote batch file using Runtime class in java. I could execute my own batch file.
But i could not execute any server batch files like tomcat,sapnetweaver. Are there any security features. Suggest me any other classes to execute batch files.
Let me first clarify the problem,
You have a batch file on a remote machine
You want to execute that batch file on that remote machine
If this is true then make sure you have the admin rights on the remote machine. Java inturn uses the native methods of remote machine's operating system such as Win32Process. If you dont have enough rights on the target machine it will fail do give the details of the errors which you get.
Regards,
Sesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.