I have java application say xxxx.exe. Which I manually kill that application, the corresponding Java.exe is still bound to the port, so that when I re-start my application. I cannot attach it to the port. When I check the log it says the connection is already established. JVM unable to bind?
When you kill the applicationname.exe, how would you force the corresponding java.exe file also to be killed?
java.exe
? Because usually a Java application should consist of a single process, which is usuallyjava.exe
orjavaw.exe
on Windows.jps.exe
to find out which ?java.exe
your program is. But my question is this: if your application consists only of ajava.exe
process, then what is theservice.exe
process that you're killing?