|
From: Chandra P. <cp...@ig...> - 2006-05-11 16:34:11
|
I think wrapper should set ping timeout to zero if -Xdebug and -Xrunjdwp .... option is set for JVMDI supporting VMs. And print out this as warning. It should also do the same when -agentlib:jdwp... option is set for newer JVMTI supporting VMs. Otherwise, it will always result in surprised user. Leif Mortenson wrote: > Chandra, > I'm not sure of any way to let the Wrapper know that the JVM is paused > due to > debug mode. You would not want to disable the ping timeout simply because > debug was enabled. I should add a note about this or maybe make the > Wrapper > provide some additional info if the command line contains -Xdebug. Setting > wrapper.ping.timeout to 0 should solve the problem for you however. > > Cheers, > Leif > > Chandra Patni wrote: > >> I started my JVM with >> -Xdebug -Xnoagent -Djava.compiler=NONE >> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 >> >> and attached IDE debugger. Blocked a JSP thread on a breakpoint. The >> wrapper restarts/shuts down (depending on >> wrapper.disable_restarts=TRUE) the VM. >> >> >> ERROR | wrapper | 2006/05/09 16:35:02 | JVM appears hung: Timed out >> waiting for signal from JVM. >> ERROR | wrapper | 2006/05/09 16:35:02 | JVM did not exit on request, >> terminated >> STATUS | wrapper | 2006/05/09 16:35:03 | JVM Restarts disabled. >> Shutting down. >> STATUS | wrapper | 2006/05/09 16:35:03 | <-- Wrapper Stopped >> >> I can set the wrapper.ping.timeout to zero to avoid this. Shouldn't >> wrapper should detect debug mode? >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |