Tomcat initialize SelectorContext twice when lookup for JNDI defined in web application (META-INF/context.xml)

2015-07-15 Thread Niranjan Karunanandham
Hi, On debugging Tomcat (7.0.59), I noticed that the SelectorContext is initialized twice when a lookup is performed for JNDI defined in web application (META-INF/context.xml). When the lookup is performed, the Servlet first calls the init method of InitailContext and this returns new

buildbot failure in ASF Buildbot on tomcat-7-trunk

2015-07-15 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/13 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1691150 - in /tomcat/trunk/java/org/apache/tomcat/util/net: AbstractJsseEndpoint.java SSLUtil.java jsse/JSSESocketFactory.java openssl/OpenSSLContext.java openssl/OpenSSLUtil.java

2015-07-15 Thread remm
Author: remm Date: Wed Jul 15 09:33:16 2015 New Revision: 1691150 URL: http://svn.apache.org/r1691150 Log: Add plumbing for ALPN with JSSE (trying to test with HTTP/2 and OpenSSL, but it crashes during handshake at the moment if protocols have been configured). Todo: After handshake, the

buildbot success in ASF Buildbot on tomcat-trunk

2015-07-15 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/49 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

buildbot success in ASF Buildbot on tomcat-8-trunk

2015-07-15 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/22 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1691136 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/coyote/http11/AbstractHttp11Protocol.java webapps/docs/changelog.xml webapps/docs/config/http.xml

2015-07-15 Thread violetagg
Author: violetagg Date: Wed Jul 15 07:32:19 2015 New Revision: 1691136 URL: http://svn.apache.org/r1691136 Log: Merged revision 1691134 from tomcat/trunk: Add text/javascript and application/javascript to the default for compressableMimeType Modified: tomcat/tc7.0.x/trunk/ (props changed)

svn commit: r1691135 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/coyote/http11/AbstractHttp11Protocol.java webapps/docs/changelog.xml webapps/docs/config/http.xml

2015-07-15 Thread violetagg
Author: violetagg Date: Wed Jul 15 07:16:30 2015 New Revision: 1691135 URL: http://svn.apache.org/r1691135 Log: Merged revision 1691134 from tomcat/trunk: Add text/javascript and application/javascript to the default for compressableMimeType Modified: tomcat/tc8.0.x/trunk/ (props changed)

buildbot failure in ASF Buildbot on tomcat-trunk

2015-07-15 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/48 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1691134 - in /tomcat/trunk: java/org/apache/coyote/http11/AbstractHttp11Protocol.java webapps/docs/config/http.xml

2015-07-15 Thread violetagg
Author: violetagg Date: Wed Jul 15 07:07:09 2015 New Revision: 1691134 URL: http://svn.apache.org/r1691134 Log: Add text/javascript and application/javascript to the default for compressableMimeType Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java

[Bug 58143] The WebppClassLoader doesn't call transformers on cached classes

2015-07-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58143 donnchadh donnch...@gmail.com changed: What|Removed |Added CC||donnch...@gmail.com --

[Bug 58143] New: The WebppClassLoader doesn't call transformers on cached classes

2015-07-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58143 Bug ID: 58143 Summary: The WebppClassLoader doesn't call transformers on cached classes Product: Tomcat 8 Version: 8.0.24 Hardware: PC Status: NEW

[Bug 58143] The WebppClassLoader doesn't call transformers on cached classes

2015-07-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58143 Andrei Ivanov andrei.iva...@gmail.com changed: What|Removed |Added OS||All ---

Re: [Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

2015-07-15 Thread Violeta Georgieva
2015-07-15 20:06 GMT+03:00 Mark Thomas ma...@apache.org: On 15 July 2015 16:28:59 CEST, Violeta Georgieva miles...@gmail.com wrote: Hi, 2013-09-27 2:16 GMT+03:00 bugzi...@apache.org: https://issues.apache.org/bugzilla/show_bug.cgi?id=55317 --- Comment #25 from Nick Williams

Re: [Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

2015-07-15 Thread Mark Thomas
On 15 July 2015 16:28:59 CEST, Violeta Georgieva miles...@gmail.com wrote: Hi, 2013-09-27 2:16 GMT+03:00 bugzi...@apache.org: https://issues.apache.org/bugzilla/show_bug.cgi?id=55317 --- Comment #25 from Nick Williams nicho...@nicholaswilliams.net --- *** At the very least, it should say

Re: [Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

2015-07-15 Thread Mark Thomas
On 15 July 2015 21:52:45 CEST, Violeta Georgieva miles...@gmail.com wrote: 2015-07-15 20:06 GMT+03:00 Mark Thomas ma...@apache.org: On 15 July 2015 16:28:59 CEST, Violeta Georgieva miles...@gmail.com wrote: Hi, 2013-09-27 2:16 GMT+03:00 bugzi...@apache.org:

Re: [Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

2015-07-15 Thread Violeta Georgieva
Hi, 2013-09-27 2:16 GMT+03:00 bugzi...@apache.org: https://issues.apache.org/bugzilla/show_bug.cgi?id=55317 --- Comment #25 from Nick Williams nicho...@nicholaswilliams.net --- *** At the very least, it should say @since 8.0, 7.0.46. While I was looking at this feature which was marked as

svn commit: r1691237 - in /tomcat/trunk/java/org/apache/tomcat/util/net: AbstractEndpoint.java SSLUtil.java SecureNio2Channel.java openssl/OpenSSLContext.java openssl/OpenSSLEngine.java

2015-07-15 Thread remm
Author: remm Date: Wed Jul 15 15:50:12 2015 New Revision: 1691237 URL: http://svn.apache.org/r1691237 Log: Add ALPN to NIO2 with JSSE and OpenSSL. No NIO yet since it would need a refactoring to pass the socket wrapper to NioChannel to be able to set the negotiated protocol (?). Modified:

svn commit: r1691244 - in /tomcat/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java

2015-07-15 Thread remm
Author: remm Date: Wed Jul 15 16:20:38 2015 New Revision: 1691244 URL: http://svn.apache.org/r1691244 Log: Add ALPN support to NIO by passing the socket wrapper to the channel. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioChannel.java