Re: Plans for 8.0.6

2014-05-13 Thread Mark Thomas
On 12/05/2014 21:00, Rémy Maucherat wrote: > 2014-05-12 16:39 GMT+02:00 Mark Thomas : > >> I just got to that. I've answered your immediate question but I want to >> do a little more digging of my own. I'll respond in more detail on that >> thread. That said, I'm not expecting NIO2 to be declared

Re: Plans for 8.0.6

2014-05-13 Thread Rémy Maucherat
2014-05-13 9:37 GMT+02:00 Mark Thomas : > I'm running the unit tests now. I want to look at BZ 56516 some more and > I don't want to hold up a 8.0.x release any longer. > There's nothing to look at IMO, the guy is using scriptlets and expects things to work with the tag variable. Jasper has no id

[Bug 56518] NIO async servlet limit latch leak

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 --- Comment #1 from hanyong --- Created attachment 31614 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31614&action=edit source code of the sample webapp -- You are receiving this mail because: You are the assignee for the bu

[Bug 56496] 无缘无故引用另一个项目的同类名同方法名的方法函数

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

svn commit: r1593018 - /tomcat/tc6.0.x/trunk/STATUS.txt

2014-05-13 Thread markt
Author: markt Date: Wed May 7 13:56:59 2014 New Revision: 1593018 URL: http://svn.apache.org/r1593018 Log: Correct vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1593018&r1=15930

svn commit: r1593387 - /tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java

2014-05-13 Thread kkolinko
Author: kkolinko Date: Thu May 8 19:15:25 2014 New Revision: 1593387 URL: http://svn.apache.org/r1593387 Log: Small optimization: move "getRegistry(null, null)" call out of the loop. Modified: tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java Modified: tomcat/trunk/java/

svn commit: r1594198 - in /tomcat/trunk/java/org/apache/coyote: AsyncStateMachine.java http11/AbstractHttp11Processor.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 11:25:14 2014 New Revision: 1594198 URL: http://svn.apache.org/r1594198 Log: Address root cause of ReadPendingException rather than swallowing it. Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java tomcat/trunk/java/org/apache/coyote/http11

svn commit: r1594199 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 11:26:26 2014 New Revision: 1594199 URL: http://svn.apache.org/r1594199 Log: Give the thread shutting down the existing connections a chance to finish before forcibly closing them and triggering an exception on each connection that is forcibly closed. Modified:

svn commit: r1594229 - in /tomcat/trunk: java/org/apache/naming/ContextAccessController.java webapps/docs/changelog.xml

2014-05-13 Thread kkolinko
Author: kkolinko Date: Tue May 13 14:11:11 2014 New Revision: 1594229 URL: http://svn.apache.org/r1594229 Log: Require RuntimePermission when introducing a new token. Modified: tomcat/trunk/java/org/apache/naming/ContextAccessController.java tomcat/trunk/webapps/docs/changelog.xml Modifi

svn commit: r1594232 - /tomcat/tc6.0.x/trunk/STATUS.txt

2014-05-13 Thread kkolinko
Author: kkolinko Date: Tue May 13 14:17:33 2014 New Revision: 1594232 URL: http://svn.apache.org/r1594232 Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1594232&r1=159423

svn commit: r1594230 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/naming/ContextAccessController.java webapps/docs/changelog.xml

2014-05-13 Thread kkolinko
Author: kkolinko Date: Tue May 13 14:15:06 2014 New Revision: 1594230 URL: http://svn.apache.org/r1594230 Log: Merged r1594229 from tomcat/trunk: Require RuntimePermission when introducing a new token. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/

[Bug 56463] Allow to disable ServerInfo in directory listings in DefaultServlet

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56463 Violeta Georgieva changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

Re: svn commit: r1593303 - /tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java

2014-05-13 Thread Mark Thomas
On 12/05/2014 18:32, Rémy Maucherat wrote: > 2014-05-12 16:25 GMT+02:00 Mark Thomas : > >> >> In terms of whether there is a better place, I didn't look lower down >> the stack. We probably only want to swallow this if we haven't read any >> part of the request line. >> > Ok, I'll add back the two

Re: Tomcat 8 now available in Debian

2014-05-13 Thread Emmanuel Bourg
Le 12/05/2014 21:24, Christopher Schultz a écrit : > Could you announce on u...@tomcat.apache.org as well? You have a bigger > audience over there. Feel free to put [ANN] in the subject which is > often put into announcement emails to our lists. Thank you for the hint Christopher. I don't think I

svn commit: r1594238 - /tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java

2014-05-13 Thread schultz
Author: schultz Date: Tue May 13 14:52:26 2014 New Revision: 1594238 URL: http://svn.apache.org/r1594238 Log: Replace looped String-concatenation with StringBuilder. No functional change. Modified: tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java Modified: tomcat/trunk/java/org/

[Bug 56501] problems with urlencoding in webapp name

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56501 --- Comment #6 from Mark Thomas --- (In reply to Kay from comment #5) > i think there should be some kind on URL decode on tomcat side. The problem is the exact opposite. Neither getRequestURI() not getContextPath() should return decoded

[GUMP@vmgump]: Project taglibs-parent (in module tomcat-taglibs) failed

2014-05-13 Thread Gump
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 taglibs-parent has an issue affecting its community integration. This issu

[Bug 56403] Support pluggable password-derivation in Realms

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56403 --- Comment #5 from Christopher Schultz --- Created attachment 31615 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31615&action=edit Example of an interface and implementation of both MessageDigest and PBKDF2 Attaching a self-

[Bug 56518] New: NIO async servlet limit latch leak

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 Bug ID: 56518 Summary: NIO async servlet limit latch leak Product: Tomcat 7 Version: 7.0.53 Hardware: PC OS: Linux Status: NEW Severity: normal

buildbot failure in ASF Buildbot on tomcat-trunk

2014-05-13 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/69 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stam

svn commit: r1594346 - /tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 19:39:43 2014 New Revision: 1594346 URL: http://svn.apache.org/r1594346 Log: Keep Checkstyle happy Modified: tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java Modified: tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java URL: http://svn.a

Re: Plans for 8.0.6

2014-05-13 Thread Mark Thomas
On 13/05/2014 11:43, Rémy Maucherat wrote: > 2014-05-13 9:37 GMT+02:00 Mark Thomas : > >> I'm running the unit tests now. I want to look at BZ 56516 some more and >> I don't want to hold up a 8.0.x release any longer. >> > > There's nothing to look at IMO, the guy is using scriptlets and expects

[Bug 56518] NIO async servlet limit latch leak

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 hanyong changed: What|Removed |Added CC||observer.hany@alibaba-inc.c

buildbot success in ASF Buildbot on tomcat-trunk

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

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread cpbills
Github user cpbills closed the pull request at: https://github.com/apache/tomcat/pull/7 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

svn commit: r1594380 - in /tomcat/trunk/java/org/apache: coyote/http11/Http11NioProcessor.java tomcat/util/net/NioEndpoint.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 20:55:24 2014 New Revision: 1594380 URL: http://svn.apache.org/r1594380 Log: Merge processSocket() and dispatchForEvent() Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.ja

svn commit: r1594028 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/connector/ java/org/apache/tomcat/util/http/mapper/ test/org/apache/catalina/connector/ webapps/docs/

2014-05-13 Thread markt
Author: markt Date: Mon May 12 16:56:56 2014 New Revision: 1594028 URL: http://svn.apache.org/r1594028 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56501 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56501 HttpServletRequest.getContextPath() should return the undecoded cont

svn commit: r1594393 - in /tomcat/trunk/java/org/apache/tomcat/util/net: NioEndpoint.java res/LocalStrings.properties res/LocalStrings_es.properties

2014-05-13 Thread markt
Author: markt Date: Tue May 13 21:24:04 2014 New Revision: 1594393 URL: http://svn.apache.org/r1594393 Log: Remove unused code Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties tomcat/trunk/

svn commit: r1594377 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 20:50:20 2014 New Revision: 1594377 URL: http://svn.apache.org/r1594377 Log: Return value is never used (and is hard coded to true anyway) so change return type to void. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/t

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread cpbills
Github user cpbills closed the pull request at: https://github.com/apache/tomcat/pull/8 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

svn commit: r1594386 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 21:12:36 2014 New Revision: 1594386 URL: http://svn.apache.org/r1594386 Log: Consistent naming Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java URL: http://svn.apa

svn commit: r1594405 - in /tomcat/trunk/java/org/apache/tomcat/util/net: NioBlockingSelector.java NioEndpoint.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 22:17:21 2014 New Revision: 1594405 URL: http://svn.apache.org/r1594405 Log: Remove duplicate method Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomc

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread cpbills
GitHub user cpbills opened a pull request: https://github.com/apache/tomcat/pull/8 Fix how a link to $0 is determined - The test '-L' is true of the file provided is a symbolic link - 'readlink -f' will print the absolute path to a symbolic link's target - 'readlink -n' will

svn commit: r1594381 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11AprProcessor.java Http11Processor.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 20:59:25 2014 New Revision: 1594381 URL: http://svn.apache.org/r1594381 Log: Remove unnecessary casts Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Modified: tomc

svn commit: r1594412 - /tomcat/trunk/webapps/docs/changelog.xml

2014-05-13 Thread markt
Author: markt Date: Tue May 13 22:53:21 2014 New Revision: 1594412 URL: http://svn.apache.org/r1594412 Log: Whitespace police Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/chang

Re: Tomcat 8 now available in Debian

2014-05-13 Thread Christopher Schultz
Emmanuel, On 5/13/14, 11:16 AM, Emmanuel Bourg wrote: > Le 12/05/2014 21:24, Christopher Schultz a écrit : > >> Could you announce on u...@tomcat.apache.org as well? You have a bigger >> audience over there. Feel free to put [ANN] in the subject which is >> often put into announcement emails to o

Re: Proposed patch for JDTCompiler

2014-05-13 Thread Christopher Schultz
Rémy, On 5/7/14, 9:33 AM, Rémy Maucherat wrote: > 2014-05-06 19:25 GMT+02:00 Christopher Schultz > : > >> >> Since this is not really a "bug" per se, I decided not to create a BZ >> issue. If it would be easier for everyone if I attached the patch to a >> BZ issue I'm happy to do that as well. >>

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread kkolinko
Github user kkolinko commented on the pull request: https://github.com/apache/tomcat/pull/7#issuecomment-43018127 http://pubs.opengroup.org/onlinepubs/009695399/mindex.html http://pubs.opengroup.org/onlinepubs/9699919799/mindex.html --- If your project is set up for it, you can re

svn commit: r1594411 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml

2014-05-13 Thread markt
Author: markt Date: Tue May 13 22:51:19 2014 New Revision: 1594411 URL: http://svn.apache.org/r1594411 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 Refactor NIO's SocketProcessor to use KeyAtrtachment rather than Socket to align it with the other implementations. This enables

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread cpbills
GitHub user cpbills opened a pull request: https://github.com/apache/tomcat/pull/7 Fix how a link to $0 is determined - The test '-L' is true of the file provided is a symbolic link - 'readlink -f' will print the absolute path to a symbolic link's target - 'readlink -n' will

[GitHub] tomcat pull request: Fix how a link to $0 is determined

2014-05-13 Thread cpbills
Github user cpbills commented on the pull request: https://github.com/apache/tomcat/pull/7#issuecomment-43012973 Seems like there are other scripts that need fixing; closing for now. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

svn commit: r1594383 - in /tomcat/trunk/java/org/apache/coyote/http11: AbstractHttp11Processor.java Http11AprProcessor.java Http11Nio2Processor.java Http11NioProcessor.java Http11Processor.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 21:07:35 2014 New Revision: 1594383 URL: http://svn.apache.org/r1594383 Log: Pull up common async code Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java to

[Bug 56399] Re-factor request/response recycling so Coyote and Catalina objects are recycled simultaneously

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56399 --- Comment #1 from Konstantin Kolinko --- The feature (but not the refactoring it implied) was implemented in Tomcat 8 with r1594436 and will be in 8.0.6. -- You are receiving this mail because: You are the assignee for the bug. ---

svn commit: r1594436 - in /tomcat/trunk: java/org/apache/catalina/connector/ java/org/apache/coyote/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ webapps/docs/

2014-05-13 Thread kkolinko
Author: kkolinko Date: Wed May 14 00:44:33 2014 New Revision: 1594436 URL: http://svn.apache.org/r1594436 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56399 When recycling a Coyote request, ensure that Catalina request have been recycled. Modified: tomcat/trunk/java/org/apache

[Bug 56512] filter url-pattern xyz/* does not match xyz/

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56512 --- Comment #3 from j...@yahoo.com --- argh. i was staring at that for ages and kept reading it as `requestPath.charAt(requestPath.length() - 2)` . must be something wrong with my testcase then. will go back and see. -- You are receivin

[Bug 56516] VariableInfo doesn't handle scope changes correctly

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56516 --- Comment #1 from Konstantin Kolinko --- Do you expect a variable to be declared each time when VariableInfo.getDeclare() returns true? When JSP java code is generated the java scriptlets are treated as opaque. One does not analyze what c

[Bug 56518] NIO async servlet limit latch leak

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 --- Comment #2 from Mark Thomas --- Thanks for the sample web application. I am able to reproduce this with NIO but not with NIO2 or APR/native so it appears that this issue is specific to NIO. I have started some refactoring that should m

[GUMP@vmgump]: Project taglibs-parent (in module tomcat-taglibs) failed

2014-05-13 Thread Gump
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 taglibs-parent has an issue affecting its community integration. This issu

svn commit: r1594382 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11AprProcessor.java Http11Nio2Processor.java Http11NioProcessor.java Http11Processor.java

2014-05-13 Thread markt
Author: markt Date: Tue May 13 21:05:33 2014 New Revision: 1594382 URL: http://svn.apache.org/r1594382 Log: Align code across the Processors Note for NIO that the socketWrapper is the KeyAttachment which allows the NIO code to be simplified Modified: tomcat/trunk/java/org/apache/coyote/http1

[Bug 56518] NIO async servlet limit latch leak

2014-05-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56518 --- Comment #3 from Mark Thomas --- As luck would have it, the next stage of clean-up / refactoring appears to have fixed this issue. The fix is applied to 8.0.x and the unit tests pass on OSX. I'm just waiting for the results for Linux and

Re: svn commit: r1594436 - in /tomcat/trunk: java/org/apache/catalina/connector/ java/org/apache/coyote/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ webapps/docs/

2014-05-13 Thread Rémy Maucherat
2014-05-14 2:44 GMT+02:00 : > Author: kkolinko > Date: Wed May 14 00:44:33 2014 > New Revision: 1594436 > > URL: http://svn.apache.org/r1594436 > Log: > Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56399 > When recycling a Coyote request, ensure that Catalina request have been > recycled