Alan Blass wrote:
What could be holding up VLC or tomcat that it stopped responding for 2 minutes?
You have the potential for deadlock on both the process stdout and stderr. You really do need to read the 4 sections of the traps article and to implement all the recommendations.. Added to this, your servlet is not thread safe since you have state stored as instance variables.
Both these are critical flaws.
subject: Running Runtime.getRuntime().exec() problem