Re: ProcessBuilder and waitFor prevents tomcat to continue

2013-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Honyk, On 10/14/13 3:51 PM, honyk wrote: > my web app executes long running external scripts. It is triggered > on startup (contextInitialized) and then regularly during the day. Why do people do this? Cron is great. :( > When the app server needs

ProcessBuilder and waitFor prevents tomcat to continue

2013-10-14 Thread honyk
Dear All, my web app executes long running external scripts. It is triggered on startup (contextInitialized) and then regularly during the day. When the app server needs to be restarted and this process is running, tomcat waits till the process finishes. When tomcat is starting, it waits again t