java RemoteShellClient 87.120.209.147 50001 "cmd" "java -jar -Dusername=xxx -Dpassword=xxx -DcCodes=all C:\BetInTime.jar ServiceSF"
I would break troubleshooting this into two parts:
1. Test that you can remotely execute a command by doing something trivial. Perhaps like this:
java RemoteShellClient 87.120.209.147 50001 "cmd" "echo testfile > testfile.txt"
Assuming that the RemoteShell server is running, has correct permissions to write somewhere, and you know where that somewhere is you should see a testfile.txt created there. If this doesn't work, then you need to check the server config.
2. Locally run the BetInTime.jar file on the server to verifiy it works properly and that the command arguments are correct. From the C:\ prompt on the server:
I would break troubleshooting this into two parts:
1. Test that you can remotely execute a command by doing something trivial. Perhaps like this:
java RemoteShellClient 87.120.209.147 50001 "cmd" "echo testfile > testfile.txt"
Assuming that the RemoteShell server is running, has correct permissions to write somewhere, and you know where that somewhere is you should see a testfile.txt created there. If this doesn't work, then you need to check the server config.
2. Locally run the BetInTime.jar file on the server to verifiy it works properly and that the command arguments are correct. From the C:\ prompt on the server: