DO NOT REPLY [Bug 51189] New: Acceptor threads are blocked
https://issues.apache.org/bugzilla/show_bug.cgi?id=51189 Bug #: 51189 Summary: Acceptor threads are blocked Product: Tomcat 7 Version: 7.0.11 Platform: All OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: helinxi...@gmail.com Classification: Unclassified Hi, I deployed an web application on tomcat 7.0.11, it got acceptor threads blocked when it ran two weeks, and the mysql connections weren't released, I guess they are the same problem. I don't whether it is a bug of JIoEndpoint. Thanks a lot. EastMountain Thread dump below: ""http-bio-8080"-Acceptor-3" daemon prio=10 tid=0x2aaab4148000 nid=0x141d waiting for monitor entry [0x419ac000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock <0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-2" daemon prio=10 tid=0x2aaab4898800 nid=0x141c runnable [0x411af000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) - locked <0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-1" daemon prio=10 tid=0x2aaab45a4800 nid=0x141b waiting for monitor entry [0x4193] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock <0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-0" daemon prio=10 tid=0x2aaab48a7800 nid=0x141a waiting for monitor entry [0x4116e000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock <0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51088] ArrayIndexOutOfBoundsException from org.apache.el.parser.JJTELParserState
https://issues.apache.org/bugzilla/show_bug.cgi?id=51088 --- Comment #2 from Michael Heinen 2011-05-12 08:11:48 UTC --- Mark, I can't provide more information unfortunately. I don't know which expression caused the error and I did not see it anymore in any app log. I'll update this ticket as soon as I see it again -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[RESULT] [VOTE] Release Apache Tomcat 7.0.14
This vote passed with a result of stable. I'll start the release process now. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51189] Acceptor threads are blocked
https://issues.apache.org/bugzilla/show_bug.cgi?id=51189 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mark Thomas 2011-05-12 14:36:06 UTC --- That thread dump is normal. The users mailing list is the place to seek help if your application becomes unresponsive. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51162] NPE at org.apache.catalina.core.ContainerBase.removeChild()
https://issues.apache.org/bugzilla/show_bug.cgi?id=51162 --- Comment #5 from Ondra Žižka 2011-05-12 15:06:38 UTC --- Thanks. This is part of https://issues.jboss.org/browse/ARQ-262 I will check the undeployment method eventually. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: DO NOT REPLY [Bug 51189] New: Acceptor threads are blocked
on most OS:es there is a single lock for accepting new connections, so a better default is 1 for acceptor thread count. there is no performance gain in multiple threads, none that I was ever able to detect. Filip On 5/12/2011 2:32 AM, bugzi...@apache.org wrote: https://issues.apache.org/bugzilla/show_bug.cgi?id=51189 Bug #: 51189 Summary: Acceptor threads are blocked Product: Tomcat 7 Version: 7.0.11 Platform: All OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: helinxi...@gmail.com Classification: Unclassified Hi, I deployed an web application on tomcat 7.0.11, it got acceptor threads blocked when it ran two weeks, and the mysql connections weren't released, I guess they are the same problem. I don't whether it is a bug of JIoEndpoint. Thanks a lot. EastMountain Thread dump below: ""http-bio-8080"-Acceptor-3" daemon prio=10 tid=0x2aaab4148000 nid=0x141d waiting for monitor entry [0x419ac000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock<0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-2" daemon prio=10 tid=0x2aaab4898800 nid=0x141c runnable [0x411af000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) - locked<0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-1" daemon prio=10 tid=0x2aaab45a4800 nid=0x141b waiting for monitor entry [0x4193] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock<0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) ""http-bio-8080"-Acceptor-0" daemon prio=10 tid=0x2aaab48a7800 nid=0x141a waiting for monitor entry [0x4116e000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock<0x2abd72beb518> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:59) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:211) at java.lang.Thread.run(Thread.java:619) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "FAQ/Linux_Unix" by BillMiller
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "FAQ/Linux_Unix" page has been changed by BillMiller. http://wiki.apache.org/tomcat/FAQ/Linux_Unix?action=diff&rev1=6&rev2=7 -- 1. [[#Q1|When I run ps (on Linux), why do I see my java process a bazillion times!]] 1. [[#Q2|How do I run without an X server and still get graphics?]] 1. [[#Q3|Tomcat dies after I log out!]] + 1. [[#Q4|Catalina.log contains : "SEVERE: StandardServer.await: create[8005] : Throwable occurred: java.net.BindException: The socket name is not available on this system."]] == Answers == <>'''When I run ps (on Linux), why do I see my java process a bazillion times!''' @@ -21, +22 @@ This is a common complaint when using Solaris. Make sure you use {{{nohup}}} and see [[http://marc.theaimsgroup.com/?l=tomcat-user&m=104809785114238&w=2|this thread]] + <>'''Error message: "SEVERE: StandardServer.await: create[8005]: + Throwable occurred: java.net.BindException: The socket name is not available on this system."''' + + This error message can have 2 causes: + 1. Java on AIX isn't supporting IPv6 properly. Fix by inserting "-Djava.net.preferIPv4Stack=true" into JAVA_OPTS + 2. Your networking configuration is not correct. If you attempt to ''ping localhost'' and don't see '''127.0.0.1''' you need to look into your /etc/host.conf (most Unixes/Linux) or /etc/netsvc.conf (AIX) file to ensure that something like ''"hosts = local, bind"'' is present. + [[CategoryFAQ|CategoryFAQ]] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of "FAQ/Linux_Unix" by BillMiller
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "FAQ/Linux_Unix" page has been changed by BillMiller. http://wiki.apache.org/tomcat/FAQ/Linux_Unix?action=diff&rev1=7&rev2=8 -- Throwable occurred: java.net.BindException: The socket name is not available on this system."''' This error message can have 2 causes: - 1. Java on AIX isn't supporting IPv6 properly. Fix by inserting "-Djava.net.preferIPv4Stack=true" into JAVA_OPTS + 1. Java on AIX isn't supporting IPv6 properly. Fix by inserting {{{-Djava.net.preferIPv4Stack=true}}} into JAVA_OPTS - 2. Your networking configuration is not correct. If you attempt to ''ping localhost'' and don't see '''127.0.0.1''' you need to look into your /etc/host.conf (most Unixes/Linux) or /etc/netsvc.conf (AIX) file to ensure that something like ''"hosts = local, bind"'' is present. + 2. Your networking configuration is not correct. If you attempt to {{{ping localhost}}} and don't see '''127.0.0.1''' you need to look into your {{{/etc/host.conf}}} (most Unixes/Linux) or {{{/etc/netsvc.conf}}} (AIX) file to ensure that something like ''"hosts = local, bind"'' is present. [[CategoryFAQ|CategoryFAQ]] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "BillMiller" by BillMiller
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "BillMiller" page has been changed by BillMiller. http://wiki.apache.org/tomcat/BillMiller -- New page: ##language:en == Your Name == Email: <> I am a Senior Java developer at Open Text, programming Java since 1998. My group writes solutions that are based on Tomcat and SAP Netweaver and also use many other Apache projects (e.g. [[http://activemq.apache.org/|AMQ]]). We also support multiple operating systems including: Windows XP/XP64/2003/2008 R2, Solaris, Linux (RHEL/SUSE), HP-UX, AIX in mostly 64 bit modes. CategoryHomepage - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1102490 - /tomcat/trunk/webapps/docs/changelog.xml
Author: markt Date: Thu May 12 22:31:25 2011 New Revision: 1102490 URL: http://svn.apache.org/viewvc?rev=1102490&view=rev Log: Add release date Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1102490&r1=1102489&r2=1102490&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Thu May 12 22:31:25 2011 @@ -52,7 +52,7 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50147] [static] is not a valid Java identifier
https://issues.apache.org/bugzilla/show_bug.cgi?id=50147 --- Comment #6 from Richard Kennard 2011-05-13 01:55:07 UTC --- Hi guys, Can I beg a little advice? I think this is the right place to ask because others who encounter this bug may have the same question. EL has always lacked some kind of 'instanceof' operator for determining the type of an Object. In the past, a common workaround for this has been to do... ${foo.class.name == 'com.myapp.Person'} ...or... ${foo.class.simpleName == 'Person'} ...these aren't the greatest from a type-safety point of view, but they are quite readable and work fine. Note they are equivalent of writing (in Java): new Foo().getClass()' not 'Foo.class' (ie. they are calling the getter, not trying to use the Java keyword 'class') However now that 'class' is a reserved word in EL because of (as mentioned above)... Identifier ::= Java language identifier ...such EL expressons fail to compile. What is the suggested alternative? Regards, Richard. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50147] [static] is not a valid Java identifier
https://issues.apache.org/bugzilla/show_bug.cgi?id=50147 Richard Kennard changed: What|Removed |Added CC||richard@kennardconsulting.c ||om -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50147] [static] is not a valid Java identifier
https://issues.apache.org/bugzilla/show_bug.cgi?id=50147 --- Comment #7 from balusc 2011-05-13 03:33:11 UTC --- Use the brace notation. ${foo['class'].name} The same story applies to Session#isNew() by the way. ${pageContext.session['new']} -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50147] [static] is not a valid Java identifier
https://issues.apache.org/bugzilla/show_bug.cgi?id=50147 --- Comment #8 from Richard Kennard 2011-05-13 04:09:23 UTC --- Perfect! Thanks for that. Richard. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org