Hi,

news.gmane.org wrote:

how do you do this closing ? Do you call System.exit() ? You need to call System.exit(), as the office creates non-demon Threads for interprocess communication.

What is your platform ? The tooling is very different on each platform to get to know, which process listens on a socket or why a certain process does not terminate.


My platform is windows XP with java 1.5.0_06 and eclipse as a IDE.
The application is closed calling Runtime.getRuntime().halt(0);
have a look at these tools, tcpview.exe show what processes are listening on which ports.

http://www.microsoft.com/technet/sysinternals/utilities/sysinternalssuite.mspx

Please try to use System.exit() and see, if it changes the behaviour.

If your process is still alive, you'll need to attach with a native debugger to it, but you may only see something, when you have debug enabled libraries.

A workaround may be to shutdown the listening socket before you terminate the vm. However, the zombie process remains alive probably.

Bye,

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to