Thursday, September 3, 2009

A few comments on my previous post

When you are able to RDP to console session. Most of the times you will be able to connect to the process if you will give it the pid from the windows task manager.
jps which lists only java processes will not work. However jconsole -p will. So there are cases where this technique is not required.

However there are cases when you are not able to connect to the console session. In that case enabling interaction with console option will not help but you can still communicate with files.
Just write a batch file and execute it with cmd.exe -C
you can redirect your input and output to files so you will be still able to communicate with the shell

No comments: