How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread anto paul
Hi Is there any way to stop the execution of a JSP page on a remote server ? Today by mistake I wrote code which print inside a while loop. By mistake I increased the counter instead of decreasing it. How I can stop the execution of the page. Tomcat is running in another machine which I have no

Re: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Tim Funk
AFAIK, no. If the JSP/servlet was writing to stream - the browser closing the connection could trigger an IO eventually. Of you can "luck out" with a recursive loop and end up with a stack overflow. But if you are in a tight loop like this: while(true) { int foo=1; } Then you are out of most l

RE: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Shapira, Yoav
tomcat mail list >Subject: How to stop execution of infinite loop in Tomcat ? > >Hi >Is there any way to stop the execution of a JSP page on a remote server >? Today by mistake I wrote code which print inside a while loop. By mistake >I increased the counter instead of decreasing i