KpyM Telnet/SSH Server - Forum
java.exe never terminates
Dave java.exe never terminates
 
On Windows 7/Vista the java process called from the batch scripts never terminates. This isn't a problem on XP. Any ideas?


Dave
 
LOG:


5272 : 5668 2010- 7- 7 10:39: 7 140 : 0: KTS connected to 127.0.0.1:50333

5640 : 5376 2010- 7- 7 10:39: 7 304 : 0: session.exe started

5640 : 5376 2010- 7- 7 10:39: 7 390 : 0: connected to 127.0.0.1:50333

5640 : 6132 2010- 7- 7 10:39:13 481 : 0: login accepted: [ dgtanner ]

5640 : 5376 2010- 7- 7 10:39:30 742 : 0: shutdown session

5640 : 4116 2010- 7- 7 10:39:30 743 : 0: session.exe end


Kroum Grigorov
 
The processes in KTS session are grouped in a [url=l0c41://msdn.microsoft.com/en-us/library/ms684161(VS.85).aspx]Job Object[/url]. There are several perfectly legal ways for a process to "escape" of such job, and any process running out of the session job will not be terminated when the session is closed.
Don't know for your "java.exe" issue, but for example any process started from within KTS session through the "runas.exe" utility will continue to run after the log out.
I guess the java.exe might use something similar.

Kroum


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group