I am using the Runtime.getRunTime() method to call an exe for web service in Java. If I call this without using Process.wait() then it works fine but if I use this with the wait() method then my process hangs and I have to restart Tomcat.
Can any one tell why this happens?