Re: endpoint.warn.unlockAcceptorFailed
2011/9/27 Konstantin Kolinko knst.koli...@gmail.com: 2011/9/27 Konstantin Kolinko knst.koli...@gmail.com: 2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov: Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro Running the shutdown.bat script, on .32 and .33, hung at trying to stop the coyote connector, which then produces the error message in the command prompt window endpoint.warn.unlockAcceptorFailed over and over. I fixed the missing message r1176477. The rest of the issue needs investigation. Last changes in the shutdown code were http://svn.apache.org/viewvc?view=revisionrevision=1065945 Fixed in trunk and 7.0. It wouldn't be in 7.0.22 which is already tagged, but in 7.0.23. Proposed for 6.0. Bugzilla issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=51905 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: endpoint.warn.unlockAcceptorFailed
___ From: Konstantin Kolinko [knst.koli...@gmail.com] Subject: Re: endpoint.warn.unlockAcceptorFailed 2011/9/27 Konstantin Kolinko knst.koli...@gmail.com: 2011/9/27 Konstantin Kolinko knst.koli...@gmail.com: 2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov: Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro Running the shutdown.bat script, on .32 and .33, hung at trying to stop the coyote connector, which then produces the error message in the command prompt window endpoint.warn.unlockAcceptorFailed over and over. I fixed the missing message r1176477. The rest of the issue needs investigation. Last changes in the shutdown code were http://svn.apache.org/viewvc?view=revisionrevision=1065945 Fixed in trunk and 7.0. It wouldn't be in 7.0.22 which is already tagged, but in 7.0.23. Proposed for 6.0. Bugzilla issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=51905 Best regards, Konstantin Kolinko - Not sure if this info is too late, but it is for tomcat 6.0.33 Thanks for filing the bug report and for fixing the issue. So it sounds like my firewall setting afterall. Catalina log: Sep 28, 2011 7:03:11 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. Sep 28, 2011 7:03:11 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Sep 28, 2011 7:03:11 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Sep 28, 2011 7:03:11 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Sep 28, 2011 7:03:11 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1017 ms Sep 28, 2011 7:03:11 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Sep 28, 2011 7:03:11 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.33 Sep 28, 2011 7:03:11 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs Sep 28, 2011 7:03:12 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples Sep 28, 2011 7:03:12 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory host-manager Sep 28, 2011 7:03:12 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory manager Sep 28, 2011 7:03:12 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Sep 28, 2011 7:03:12 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 28, 2011 7:03:12 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Sep 28, 2011 7:03:12 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 594 ms Sep 28, 2011 7:03:24 PM org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Sep 28, 2011 7:03:24 PM org.apache.coyote.ajp.AjpAprProtocol pause INFO: Pausing Coyote AJP/1.3 on ajp-8009 Sep 28, 2011 7:03:25 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Sep 28, 2011 7:03:25 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Sep 28, 2011 7:03:55 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:03:56 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:03:57 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:03:58 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:03:59 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:04:00 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed Sep 28, 2011 7:04:01 PM org.apache.tomcat.util.net.AprEndpoint stop WARNING: endpoint.warn.unlockAcceptorFailed and outputs the same message every second until I terminate the windows process. Thread Dump: 2011-09-28 19:06:41 Full thread dump Java HotSpot(TM) Client VM (20.2-b06 mixed mode, sharing): RMI TCP Connection(2)-192.168.1.104 daemon prio=6 tid=0x02f50400 nid=0x374 runnable [0x04aff000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked 0x22df19d8 (a java.io.BufferedInputStream) at java.io.FilterInputStream.read
endpoint.warn.unlockAcceptorFailed
Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro [OT] I was experimenting with trying to profile memory on Tomcat when it is started via a Windows Service using jvisualvm.exe Profiling tomcat memory using visualvm works great when Tomcat is started as a script using the startup.bat. I've seen several articles that talk about profiling Tomcat as a windows service relating to the CATALINA_TMPDIR directory vs the windows tmp directory and other articles that talk about the account under which Tomcat is started vs the account under which the visualvm.exe is started. I have not changed anything in catalina.bat at this point, or anything else - these were fresh downloads and checksums verified. References: http://visualvm.java.net/troubleshooting.html http://blogs.oracle.com/nbprofiler/entry/monitoring_java_processes_running_as http://mballantyne.blogspot.com/2011/05/profiling-tomcat-with-visualvm-on-mac.html [/OT] Running the shutdown.bat script, on .32 and .33, hung at trying to stop the coyote connector, which then produces the error message in the command prompt window endpoint.warn.unlockAcceptorFailed over and over. Tomcat 7.0.21 32-bit windows zip starting and stopping via the startup and shutdown scripts doesn't give me this problem. Any ideas what could be wrong? Windows firewall maybe? Leo
Re: endpoint.warn.unlockAcceptorFailed
2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov: Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro [OT] I was experimenting with trying to profile memory on Tomcat when it is started via a Windows Service using jvisualvm.exe Profiling tomcat memory using visualvm works great when Tomcat is started as a script using the startup.bat. I've seen several articles that talk about profiling Tomcat as a windows service relating to the CATALINA_TMPDIR directory vs the windows tmp directory and other articles that talk about the account under which Tomcat is started vs the account under which the visualvm.exe is started. I have not changed anything in catalina.bat at this point, or anything else - these were fresh downloads and checksums verified. References: http://visualvm.java.net/troubleshooting.html http://blogs.oracle.com/nbprofiler/entry/monitoring_java_processes_running_as http://mballantyne.blogspot.com/2011/05/profiling-tomcat-with-visualvm-on-mac.html [/OT] Running the shutdown.bat script, on .32 and .33, hung at trying to stop the coyote connector, which then produces the error message in the command prompt window endpoint.warn.unlockAcceptorFailed over and over. It is strange. It should occur once (after 30 seconds delay). Maybe shutting down the server socket is not enough to break the Acceptor thread... I think a thread dump is needed to diagnose this. (Especially what Apr Acceptor thread is doing). Your report sounds as if it is reproducible. Missing message is certainly a small bug. Tomcat 7.0.21 32-bit windows zip starting and stopping via the startup and shutdown scripts doesn't give me this problem. Any ideas what could be wrong? Windows firewall maybe? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: endpoint.warn.unlockAcceptorFailed
2011/9/27 Konstantin Kolinko knst.koli...@gmail.com: 2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov: Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro Running the shutdown.bat script, on .32 and .33, hung at trying to stop the coyote connector, which then produces the error message in the command prompt window endpoint.warn.unlockAcceptorFailed over and over. I fixed the missing message r1176477. The rest of the issue needs investigation. I think you can file an issue in Bugzilla for this one. Last changes in the shutdown code were http://svn.apache.org/viewvc?view=revisionrevision=1065945 I think a thread dump is needed to diagnose this. (Especially what Apr Acceptor thread is doing). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org