Re: Purpose of unlockAccept

2012-05-07 Thread Mladen Turk
On 05/08/2012 08:34 AM, Costin Manolache wrote: On Mon, May 7, 2012 at 11:05 PM, Mladen Turk wrote: For real pause (stop accepting connections and wait till all sessions times out) this can be done safely by setting 10 second timeout on listening socket. It means that in worse case we would h

Re: Purpose of unlockAccept

2012-05-07 Thread Costin Manolache
On Mon, May 7, 2012 at 11:05 PM, Mladen Turk wrote: > On 05/08/2012 01:13 AM, Costin Manolache wrote: > >> On Mon, May 7, 2012 at 3:44 PM, Mladen Turk wrote: >> >> On 05/07/2012 11:05 PM, Costin Manolache wrote: >>> >>> By 'unlockAccept' you mean the socket connection made to the acceptor to >

Re: Purpose of unlockAccept

2012-05-07 Thread Mladen Turk
On 05/08/2012 01:13 AM, Costin Manolache wrote: On Mon, May 7, 2012 at 3:44 PM, Mladen Turk wrote: On 05/07/2012 11:05 PM, Costin Manolache wrote: By 'unlockAccept' you mean the socket connection made to the acceptor to force the accept() to unblock ? How are you getting the socket accept()

[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2012-05-07 Thread Bill Barker
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-test has an issue affecting its community integration. This i

[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-05-07 Thread Bill Barker
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-test has an issue affecting its community integration. This

[Bug 53203] New: Incorrect document of ajp connectionTimeout.

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53203 Priority: P2 Bug ID: 53203 Assignee: dev@tomcat.apache.org Summary: Incorrect document of ajp connectionTimeout. Severity: normal Classification: Unclassified OS: All

[Bug 52853] @HandlesTypes not resolving classes when added as repository directory

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52853 --- Comment #21 from Benjamin Muschko --- Thanks for pointing me towards the right solution, Mark. Works! -- You are receiving this mail because: You are the assignee for the bug.

Re: Purpose of unlockAccept

2012-05-07 Thread Costin Manolache
On Mon, May 7, 2012 at 3:44 PM, Mladen Turk wrote: > On 05/07/2012 11:05 PM, Costin Manolache wrote: > >> By 'unlockAccept' you mean the socket connection made to the acceptor to >> force the accept() to unblock ? How are you getting the socket accept() to >> return, my understanding was that clo

Re: Purpose of unlockAccept

2012-05-07 Thread Mladen Turk
On 05/07/2012 11:05 PM, Costin Manolache wrote: By 'unlockAccept' you mean the socket connection made to the acceptor to force the accept() to unblock ? How are you getting the socket accept() to return, my understanding was that close() or thread interrupt don't work in all cases/VMs. Well, m

svn commit: r1335261 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/Context.java

2012-05-07 Thread markt
Author: markt Date: Mon May 7 21:11:34 2012 New Revision: 1335261 URL: http://svn.apache.org/viewvc?rev=1335261&view=rev Log: Deprecate unused code Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java Propchange: tomcat/tc7.0.x/tru

svn commit: r1335259 - /tomcat/trunk/java/org/apache/catalina/Context.java

2012-05-07 Thread markt
Author: markt Date: Mon May 7 21:11:19 2012 New Revision: 1335259 URL: http://svn.apache.org/viewvc?rev=1335259&view=rev Log: Remove deprecated code Modified: tomcat/trunk/java/org/apache/catalina/Context.java Modified: tomcat/trunk/java/org/apache/catalina/Context.java URL: http://svn.apa

svn commit: r1335257 - /tomcat/trunk/java/org/apache/catalina/Context.java

2012-05-07 Thread markt
Author: markt Date: Mon May 7 21:10:39 2012 New Revision: 1335257 URL: http://svn.apache.org/viewvc?rev=1335257&view=rev Log: Deprecate unused code Modified: tomcat/trunk/java/org/apache/catalina/Context.java Modified: tomcat/trunk/java/org/apache/catalina/Context.java URL: http://svn.apac

Re: Purpose of unlockAccept

2012-05-07 Thread Costin Manolache
By 'unlockAccept' you mean the socket connection made to the acceptor to force the accept() to unblock ? How are you getting the socket accept() to return, my understanding was that close() or thread interrupt don't work in all cases/VMs. Costin On Mon, May 7, 2012 at 9:24 AM, Mladen Turk wrote:

Re: Purpose of unlockAccept

2012-05-07 Thread Mladen Turk
On 05/07/2012 08:48 PM, Mark Thomas wrote: I'm not entirely clear on what you are proposing. Can you provide a proposed patch for this? Sure. Need to port that to trunk and new AbstractEndpoint. Attached is a patch for something similar to tomcat7 :) just to get an idea. AFAICT this is not

[Bug 53199] Refactor ConnectionPool to use ScheduledExecutorService instead of TimerTask

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53199 Filip Hanik changed: What|Removed |Added Status|NEW |NEEDINFO OS|

[Bug 52858] High CPU load in the NIO connector, when a client breaks connection unexpectedly

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52858 Filip Hanik changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: Purpose of unlockAccept

2012-05-07 Thread Mark Thomas
On 07/05/2012 17:24, Mladen Turk wrote: > Hi > > Did some testing and removing unlockAccept works equally > fine (and in some circumstances pause/continue and even shutdown is much > faster). > Using a simple socket close on stop/destroy and monitoring > for pause 'after' acceptSocket() by not han

[Bug 53200] New: Be able to use SlowQueryReport without reporting failed queries

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53200 Priority: P2 Bug ID: 53200 Assignee: dev@tomcat.apache.org Summary: Be able to use SlowQueryReport without reporting failed queries Severity: enhancement Classifica

Purpose of unlockAccept

2012-05-07 Thread Mladen Turk
Hi Did some testing and removing unlockAccept works equally fine (and in some circumstances pause/continue and even shutdown is much faster). Using a simple socket close on stop/destroy and monitoring for pause 'after' acceptSocket() by not handling single connection received after pause elimina

[Bug 53199] New: Refactor ConnectionPool to use ScheduledExecutorService instead of TimerTask

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53199 Priority: P2 Bug ID: 53199 Assignee: dev@tomcat.apache.org Summary: Refactor ConnectionPool to use ScheduledExecutorService instead of TimerTask Severity: enhancement

buildbot failure in ASF Buildbot on tomcat-7-trunk

2012-05-07 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/550 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

[Tomcat Wiki] Update of "PoweredBy" by Android Porno

2012-05-07 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "PoweredBy" page has been changed by Android Porno: http://wiki.apache.org/tomcat/PoweredBy?action=diff&rev1=409&rev2=410 === Gridsphere === [[http://www.gridsphere.org/gridsphe

[Bug 53024] Accessing Servlet while Reloading context gives 404 error

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53024 --- Comment #8 from Mark Thomas --- I can recreate this with the provided test case. The 404 response is not the expected behaviour. Tomcat should pause the request until the application finishes reloading and then server. -- You are rece

[Bug 52853] @HandlesTypes not resolving classes when added as repository directory

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52853 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

svn commit: r1335027 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/config/jar-scanner.xml

2012-05-07 Thread markt
Author: markt Date: Mon May 7 13:59:08 2012 New Revision: 1335027 URL: http://svn.apache.org/viewvc?rev=1335027&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52853 Clarify how JarScanner handles directories. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/

svn commit: r1335026 - /tomcat/trunk/webapps/docs/config/jar-scanner.xml

2012-05-07 Thread markt
Author: markt Date: Mon May 7 13:57:41 2012 New Revision: 1335026 URL: http://svn.apache.org/viewvc?rev=1335026&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52853 Clarify how JarScanner handles directories. Modified: tomcat/trunk/webapps/docs/config/jar-scanner.xml M

[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2012-05-07 Thread Bill Barker
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-test has an issue affecting its community integration. This i

[Bug 53173] maxConnections feature hangs the system

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53173 Filip Hanik changed: What|Removed |Added CC||parker.p@gmail.com --- Comment #

[Bug 53186] JIoEndpoint LimitLatch will leak if setsockopt is called on a closed socket on Solaris

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53186 Filip Hanik changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-05-07 Thread Bill Barker
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-test has an issue affecting its community integration. This

Re: [JK] Tagging 1.2.36

2012-05-07 Thread Henri Gomez
> Hi, > > I plan to tag 1.2.36 (as promised after finishing shm rewrite). > There is one nasty bug in windows status worker and sharing > actually doesn't work in 1.2.35, so a couple of very good > reasons for a quick release. > > Comments? Go for it --

buildbot success in ASF Buildbot on tomcat-7-trunk

2012-05-07 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/549 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Sou

buildbot failure in ASF Buildbot on tomcat-trunk

2012-05-07 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/2952 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source St

svn commit: r1334934 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/mbeans/ContextMBean.java webapps/docs/changelog.xml

2012-05-07 Thread kfujino
Author: kfujino Date: Mon May 7 09:13:18 2012 New Revision: 1334934 URL: http://svn.apache.org/viewvc?rev=1334934&view=rev Log: Make sure ContextMBean#findFilterDefs returns correct filter definitions. Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/mbeans/ContextMBean.java tomca

svn commit: r1334932 - /tomcat/trunk/java/org/apache/catalina/mbeans/ContextMBean.java

2012-05-07 Thread kfujino
Author: kfujino Date: Mon May 7 09:10:04 2012 New Revision: 1334932 URL: http://svn.apache.org/viewvc?rev=1334932&view=rev Log: Make sure ContextMBean#findFilterDefs returns correct filter definitions. Modified: tomcat/trunk/java/org/apache/catalina/mbeans/ContextMBean.java Modified: tomca

Re: [JK] Tagging 1.2.36

2012-05-07 Thread Mark Thomas
On 07/05/2012 10:01, Mladen Turk wrote: > Hi, > > I plan to tag 1.2.36 (as promised after finishing shm rewrite). > There is one nasty bug in windows status worker and sharing > actually doesn't work in 1.2.35, so a couple of very good > reasons for a quick release. > > Comments? +1 Go for it.

[JK] Tagging 1.2.36

2012-05-07 Thread Mladen Turk
Hi, I plan to tag 1.2.36 (as promised after finishing shm rewrite). There is one nasty bug in windows status worker and sharing actually doesn't work in 1.2.35, so a couple of very good reasons for a quick release. Comments? Regards -- ^TM -

[Bug 51767] isapi_redirect intermittently crashes iis worker process w3wp

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51767 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 50511] WARNING about Internal Dummy Connection of Apache

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50511 Mladen Turk changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

[Bug 51767] isapi_redirect intermittently crashes iis worker process w3wp

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51767 --- Comment #1 from Mladen Turk --- Please use the latest release (1.2.35) -- You are receiving this mail because: You are the assignee for the bug.

[Bug 52074] PATH_INFO not passed from IIS7 to Tomcat7

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52074 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 52270] isapi rediderctor hangs IIS 7.5 APP POOL

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52270 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 52432] HTTP Error 500.0 from IIS 7.5 when configure tomcat connector 1.2.32

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52432 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 53053] Apache Tomcat isapi redirector not loading in iis 7.5

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53053 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 52286] isapi 1.2.32 fails to reload after worker processes recycle

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52286 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 53139] Prevent showing keystore/truststore passwords via JMX in cleartext (with solution)

2012-05-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53139 --- Comment #2 from Randy --- But there are cases when developers also have access to JMX but aren't supposed to see such security details. -- You are receiving this mail because: You are the assignee for the bug.