[Bug 37466] c:import doesn't work with HEAD requests

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=37466 Jeremy Boynes jboy...@apache.org changed: What|Removed |Added Depends on||57601 -- You are

[GUMP@vmgump]: Project tomcat-tc8.0.x-test-nio2 (in module tomcat-8.0.x) failed

2015-02-19 Thread Bill Barker
/junit-4.13-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtest.reports=output/logs-NIO2 -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20150219-native-src.tar.gz -Dexamples.sources.skip=true

[Bug 57559] Decoded Request URI used for Asynchronous dispatch

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57559 --- Comment #4 from Mark Thomas ma...@apache.org --- I believe - and discussions with the Servlet EG have confirmed that other EG members agree - that Tomcat's behaviour is as the specification intended. I'd normally close bugs like this as

svn commit: r1660996 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/realm/JNDIRealm.java java/org/apache/catalina/realm/LocalStrings.properties webapps/docs/changelog.xml webapps/docs/config/

2015-02-19 Thread fschumacher
Author: fschumacher Date: Thu Feb 19 20:21:15 2015 New Revision: 1660996 URL: http://svn.apache.org/r1660996 Log: Enable StartTLS connections for JNDIRealm. Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49785. Merged r1660970 from /tomcat/tc8.0.x/trunk (merged r1659905,1659948 from

Re: [Tomcat 8] [Listener Web] [RequestDispatcher]

2015-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marco, This is probably a question better asked on the user mailing list. I'm cross-posting to both lists, and I'll give more feedback on the user list. - -chris On 2/19/15 11:25 AM, Marco Semiao wrote: I use on my application a web listener (

Re: [Tomcat 8] [Listener Web] [RequestDispatcher]

2015-02-19 Thread Marco Semiao
Hello Christopher, Thank you for your answer and sorry for putting the wrong mailing list ;) 2015-02-19 20:22 GMT+01:00 Christopher Schultz ch...@christopherschultz.net : -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marco, This is probably a question better asked on the user mailing

Re: svn commit: r1660953 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/connector/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ java/org/apache/tomcat/util/net/ java/org/apache/

2015-02-19 Thread Christopher Schultz
Mark, On 2/19/15 1:41 PM, Mark Thomas wrote: On 19/02/2015 17:45, schu...@apache.org wrote: Author: schultz Date: Thu Feb 19 17:45:34 2015 New Revision: 1660953 URL: http://svn.apache.org/r1660953 Log: Back-port r1660924 to fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57540

Re: [Tomcat 8] [Listener Web] [RequestDispatcher]

2015-02-19 Thread Christopher Schultz
Marco, On 2/19/15 3:38 PM, Marco Semiao wrote: Thank you for your answer and sorry for putting the wrong mailing list ;) Actually, after re-reading your post I think you were right to post to dev@. Please see below. 2015-02-19 20:22 GMT+01:00 Christopher Schultz ch...@christopherschultz.net

[GUMP@vmgump]: Project tomcat-tc8.0.x-test-nio2 (in module tomcat-8.0.x) failed

2015-02-19 Thread Bill Barker
-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtest.reports=output/logs-NIO2 -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20150219-native-src.tar.gz -Dexamples.sources.skip=true

Re: Reg: Bug 56438

2015-02-19 Thread Mark Thomas
On 19/02/2015 07:17, Pravallika Peddi wrote: Hi Mark, Below are my observations during my research on the bug: 1) I downloaded recent trunk and ran the ant command so that the build/bin/lib folders are generated. 2) I created a simple web application and exported to WAR file which is of

Re: [VOTE] Release Apache Tomcat 8.0.20

2015-02-19 Thread Violeta Georgieva
2015-02-15 20:46 GMT+02:00 Mark Thomas ma...@apache.org: The proposed Apache Tomcat 8.0.20 release is now available for voting. The main changes since 8.0.18 are: - Fix a performance regression in the new resources implementation when signed JARs are used in a web application. - Fix

async and complete on 7.0.59

2015-02-19 Thread Romain Manni-Bucau
Hi guys, just saw there are few issues with async servlets on 7.0.59. Issue pops up with such a code (not real world one but same kind of sync issue can happen in real life): { AsyncContext ac = request.startAsync(); ac.complete(); // checking here the returned value of

[Bug 57601] DefaultServlet returns no content when included during a HEAD request

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57601 Jeremy Boynes jboy...@apache.org changed: What|Removed |Added Blocks||37466 -- You are

[Bug 57601] DefaultServlet returns no content when included during a HEAD request

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57601 --- Comment #1 from Jeremy Boynes jboy...@apache.org --- Created attachment 32497 -- https://bz.apache.org/bugzilla/attachment.cgi?id=32497action=edit Patch with test case and possible fix Patch that adds a test cases checking the

[Bug 57602] New: HttpServlet returns no content when included during a HEAD request

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57602 Bug ID: 57602 Summary: HttpServlet returns no content when included during a HEAD request Product: Tomcat 8 Version: trunk Hardware: All OS: All

[Bug 57601] DefaultServlet returns no content when included during a HEAD request

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57601 Jeremy Boynes jboy...@apache.org changed: What|Removed |Added Blocks||57602 -- You are

TestPojoEndpointBase failing on trunk

2015-02-19 Thread Jeremy Boynes
Mark I am seing regular failures in TestPojoEndpointBase in trunk where the socket is not being closed (see attached log). I’ve not dug in yet but this has started since r1660358 and may be related to recent NIO changes (maybe r1660582?). Cheers Jeremy Testsuite:

Re: async and complete on 7.0.59

2015-02-19 Thread Romain Manni-Bucau
And current one doesnt pass TCKs cause of it too Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-02-19 15:15 GMT+01:00 Rémy Maucherat r...@apache.org: 2015-02-19 14:52 GMT+01:00 Romain Manni-Bucau

[Bug 49785] Enable STARTTLS for JNDIRealm

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=49785 --- Comment #7 from Felix Schumacher felix.schumac...@internetallee.de --- Fixed in trunk and tomcat 8.0.x for 8.0.21 onwards. -- You are receiving this mail because: You are the assignee for the bug.

Re: TestPojoEndpointBase failing on trunk

2015-02-19 Thread Mark Thomas
On 19/02/2015 15:17, Jeremy Boynes wrote: Mark I am seing regular failures in TestPojoEndpointBase in trunk where the socket is not being closed (see attached log). I’ve not dug in yet but this has started since r1660358 and may be related to recent NIO changes (maybe r1660582?). I'm

svn commit: r1660966 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/connector/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ java/org/apache/tomcat/util/net/ java/org/apache/tomc

2015-02-19 Thread schultz
Author: schultz Date: Thu Feb 19 18:31:05 2015 New Revision: 1660966 URL: http://svn.apache.org/r1660966 Log: Back-port r1660953 from Tomcat 8 to fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 Export TLS/SSL protocol version in a request attribute. Modified: tomcat/tc7.0.x/trunk/

svn commit: r1660967 - /tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

2015-02-19 Thread schultz
Author: schultz Date: Thu Feb 19 18:38:30 2015 New Revision: 1660967 URL: http://svn.apache.org/r1660967 Log: Move changelog section to correct position. Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL:

Re: svn commit: r1660953 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/connector/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ java/org/apache/tomcat/util/net/ java/org/apache/

2015-02-19 Thread Mark Thomas
On 19/02/2015 17:45, schu...@apache.org wrote: Author: schultz Date: Thu Feb 19 17:45:34 2015 New Revision: 1660953 URL: http://svn.apache.org/r1660953 Log: Back-port r1660924 to fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 Expose TLS protocol via a request attribute. Sorry

svn commit: r1660970 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/realm/JNDIRealm.java java/org/apache/catalina/realm/LocalStrings.properties webapps/docs/changelog.xml webapps/docs/config/

2015-02-19 Thread fschumacher
Author: fschumacher Date: Thu Feb 19 18:47:39 2015 New Revision: 1660970 URL: http://svn.apache.org/r1660970 Log: Enable StartTLS connections for JNDIRealm. Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49785. Merged r1659905,1659948 from /tomcat/trunk Modified:

[Bug 57540] report TLS protocol version

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Status|NEW

Re: [Tomcat 8] [Listener Web] [RequestDispatcher]

2015-02-19 Thread Marco Semiao
ok this is new step since Tomcat 8 because the diff with Tomcat 7, it's this map contextObjectToContextVersionMap. But in the web Listener, the method requestInitialized propose one instance of ServletContext and this found getRequestDispatcher. This method has not been used for any Tomcat 8

[Bug 57540] report TLS protocol version

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 --- Comment #24 from Rainer Jung rainer.j...@kippdata.de --- Support to forward the info via AJP has been added to mod_proxy_ajp in httpd trunk in r1661067. The feature has been proposed for addition to mod_proxy_ajp in httpd 2.4. -- You are

Re: async and complete on 7.0.59

2015-02-19 Thread Rémy Maucherat
2015-02-19 16:17 GMT+01:00 Rémy Maucherat r...@apache.org: 2015-02-19 16:10 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com: @Rémy: is there a typo on the version? 7.0.57 was all green, I used 7.0.59 to get the failing tests I will work on verifying there is no regression with Tomcat 8

svn commit: r1660924 - in /tomcat/trunk/java/org/apache: catalina/connector/ coyote/ajp/ coyote/http11/ tomcat/util/net/ tomcat/util/net/jsse/

2015-02-19 Thread schultz
Author: schultz Date: Thu Feb 19 16:21:27 2015 New Revision: 1660924 URL: http://svn.apache.org/r1660924 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 Add SSL protocol to request attributes (org.apache.tomcat.util.net.secure_protocol_version). Note that this feature requires

Re: svn commit: r1660609 - in /tomcat/trunk/java/org/apache/coyote/http11/upgrade: UpgradeProcessor.java UpgradeServletOutputStream.java

2015-02-19 Thread Mark Thomas
On 18/02/2015 18:56, Mark Thomas wrote: I'm currently exploring explicitly triggering the onWritePossible() and onDataAvailable() calls but I have some more work to do on this as the work-arounds needs to be removed to avoid double registration etc. A short progress report. It has been

[Tomcat 8] [Listener Web] [RequestDispatcher]

2015-02-19 Thread Marco Semiao
Hello, I use on my application a web listener ( ServletContextListener ) that allows you to compile jsp at startup . It does not work on Tomcat 8 in call : servletContext.getRequestDispatcher ( path); Here is the stack : org.apache.catalina.core.ApplicationContext.log Error during mapping

[Bug 57540] report TLS protocol version

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 --- Comment #21 from Christopher Schultz ch...@christopherschultz.net --- Fixed in trunk in r1660924. I'm working on back-porting this to Tomcat 8, since a lot has changed between Tomcat 8 and Tomcat 9/trunk. -- You are receiving this mail

Re: async and complete on 7.0.59

2015-02-19 Thread Rémy Maucherat
2015-02-19 14:52 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com: Was working in previous versions (7.0.57 IIRC) The previous behavior was incorrect and did not pass the compliance tests. Rémy

Re: async and complete on 7.0.59

2015-02-19 Thread Rémy Maucherat
2015-02-19 15:44 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com: And current one doesnt pass TCKs cause of it too The relevant fixes are in 7.0.57, so did you really test everything right ? The problem is that all your statements in your email are wrong (the async context is started until

Re: async and complete on 7.0.59

2015-02-19 Thread Romain Manni-Bucau
@Rémy: is there a typo on the version? 7.0.57 was all green, I used 7.0.59 to get the failing tests Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-02-19 16:06 GMT+01:00 Rémy Maucherat r...@apache.org: 2015-02-19

Re: async and complete on 7.0.59

2015-02-19 Thread Rémy Maucherat
2015-02-19 16:10 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com: @Rémy: is there a typo on the version? 7.0.57 was all green, I used 7.0.59 to get the failing tests I will work on verifying there is no regression with Tomcat 8 and the async context tests. Rémy

svn commit: r1660953 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/connector/ java/org/apache/coyote/ajp/ java/org/apache/coyote/http11/ java/org/apache/tomcat/util/net/ java/org/apache/tomc

2015-02-19 Thread schultz
Author: schultz Date: Thu Feb 19 17:45:34 2015 New Revision: 1660953 URL: http://svn.apache.org/r1660953 Log: Back-port r1660924 to fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 Expose TLS protocol via a request attribute. Modified: tomcat/tc8.0.x/trunk/ (props changed)

[Bug 57540] report TLS protocol version

2015-02-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57540 --- Comment #22 from Christopher Schultz ch...@christopherschultz.net --- Fixed in Tomcat 8 in r1660953. Will be in Tomcat 8.0.21. I'll see about back-porting to Tomcat 7. It should be easy at this point. -- You are receiving this mail

Re: async and complete on 7.0.59

2015-02-19 Thread Romain Manni-Bucau
Just to terminate this thread and with the help of Rémy (thanks again) we identified my test was no more valid after an update of the spec. Sorry for the noise Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-02-19