Re: [VOTE] Release Apache Tomcat 9.0.0.M2

2016-01-26 Thread Martin Grigorov
On Thu, Jan 21, 2016 at 1:38 PM, Mark Thomas wrote: > The proposed Apache Tomcat 9.0.0.M2 release is now available for voting. > > This is the second milestone release for the 9.0.x branch. It should be > noted that, as a milestone release: > - Servlet 4.0 is not finalised > - The EGs have not st

[jira] [Commented] (MTOMCAT-277) ailed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.1:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: pr

2016-01-26 Thread yys (JIRA)
[ https://issues.apache.org/jira/browse/MTOMCAT-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116958#comment-15116958 ] yys commented on MTOMCAT-277: - I resovled my problem,it was caused by the 64-bit-windows and

AJP13 and flush handling

2016-01-26 Thread Rainer Jung
The AJP protocol on the client side is often implemented in the way, that an empty body packet is interpreted as a signal to flush data to the client. This is true in mod_proxy_ajp and mod_jk. This is not part of http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html but the two most common

Re: AJP13 and flush handling

2016-01-26 Thread Rémy Maucherat
2016-01-26 10:57 GMT+01:00 Rainer Jung : > For applications for which timely streaming is important, that's a good > default behavior. The flush goes through until the client. But for > traditional applications it might be better to let the web server buffer > and decide when to flush. E.g. mod_pr

Re: [VOTE] Release Apache Tomcat 9.0.0.M2

2016-01-26 Thread Rémy Maucherat
2016-01-26 9:13 GMT+01:00 Martin Grigorov : > > With Rémy's help I was able to test my apps with HTTP2 without APR. > My conf/server.conf looks like: > > SSLEngine="on" *aprPreferred="false"* /> > protocol="org.apache.coyote.http11.Http11Nio2Protocol" >maxThreads="150" SSLEna

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

2016-01-26 Thread Bill Barker
it/target/junit-4.13-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar -Dexamples.sources.skip=true -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20160126.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/wo

svn commit: r1726803 - /tomcat/trunk/test/org/apache/catalina/loader/TestWebappClassLoader.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 14:38:29 2016 New Revision: 1726803 URL: http://svn.apache.org/viewvc?rev=1726803&view=rev Log: Stop Eclipse complaining about an unclosed resource Modified: tomcat/trunk/test/org/apache/catalina/loader/TestWebappClassLoader.java Modified: tomcat/trunk/test/or

svn commit: r1726806 - in /tomcat/tc8.0.x/trunk: ./ test/org/apache/catalina/loader/TestWebappClassLoader.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 14:41:52 2016 New Revision: 1726806 URL: http://svn.apache.org/viewvc?rev=1726806&view=rev Log: Stop Eclipse complaining about an unclosed resource Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/test/org/apache/catalina/loader/TestWe

svn commit: r1726813 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/session/FileStore.java java/org/apache/catalina/session/JDBCStore.java java/org/apache/catalina/session/StandardManager.jav

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 14:57:32 2016 New Revision: 1726813 URL: http://svn.apache.org/viewvc?rev=1726813&view=rev Log: Refactor to always use the CustomObjectInputStream Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/FileSto

svn commit: r1726815 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/session/StandardManager.java java/org/apache/catalina/util/CustomObjectInputStream.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 14:59:40 2016 New Revision: 1726815 URL: http://svn.apache.org/viewvc?rev=1726815&view=rev Log: Clean-up Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/StandardManager.java tomcat/tc7.0.x/trunk/ja

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

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 14:53:45 2016 New Revision: 1726808 URL: http://svn.apache.org/viewvc?rev=1726808&view=rev Log: No functional change Port clean-up (to make merging simpler) prior to back-porting functional changes Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7

svn commit: r1726817 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/session/FileStore.java java/org/apache/catalina/session/JDBCStore.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 15:07:37 2016 New Revision: 1726817 URL: http://svn.apache.org/viewvc?rev=1726817&view=rev Log: Store.load() implementations assume (in places) that getManager().getContext() always returns a non-null and we haven't had reports of NPEs so make the assumption consis

svn commit: r1726818 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/res/StringManager.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 15:10:15 2016 New Revision: 1726818 URL: http://svn.apache.org/viewvc?rev=1726818&view=rev Log: Backport StringManager clean-up and improvements, particularly the ability to obtain a StringManager using a class object. Modified: tomcat/tc7.0.x/trunk/ (props c

svn commit: r1726819 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/manager/ java/org/apache/catalina/session/

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 15:14:56 2016 New Revision: 1726819 URL: http://svn.apache.org/viewvc?rev=1726819&view=rev Log: Refactoring Make the session attribute distribution / filtering more consistent across the various Manager and Session implementation. Differentiate between - whether or

svn commit: r1726822 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ha/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/session/

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 15:22:12 2016 New Revision: 1726822 URL: http://svn.apache.org/viewvc?rev=1726822&view=rev Log: Review Javadoc for Manager hierarchy. Remove unnecessary duplication. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catal

svn commit: r1726899 - in /tomcat/trunk/java/org/apache/jasper/compiler: Generator.java ImplicitTagLibraryInfo.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 20:48:43 2016 New Revision: 1726899 URL: http://svn.apache.org/viewvc?rev=1726899&view=rev Log: Fix some Javadoc warnings Modified: tomcat/trunk/java/org/apache/jasper/compiler/Generator.java tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInf

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

2016-01-26 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-nio has an issue affecting its community integration.

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

2016-01-26 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-bio has an issue affecting its community integration.

[Bug 58918] JNDI datasources shouldn't get the WebappClassLoader as their context ClassLoader when initializing

2016-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58918 --- Comment #2 from Christopher Schultz --- For reference: http://bugs.mysql.com/bug.php?id=65909 http://bugs.mysql.com/bug.php?id=68556 http://bugs.mysql.com/bug.php?id=69526 http://bugs.mysql.com/bug.php?id=73876 Oracle seems determined not

Re: TC WebappClassLoaderBase bottleneck in filter()

2016-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 1/25/16 5:23 AM, Mark Thomas wrote: > On 25/01/2016 09:32, Rainer Jung wrote: >> Hi Konstantin, >> >> thanks for the feedback. More inline. >> >> Am 25.01.2016 um 03:51 schrieb Konstantin Kolinko: >>> 2016-01-23 15:17 GMT+03:00 Rainer Jung >

svn commit: r1726917 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ha/session/ java/org/apache/catalina/session/ webapps/docs/ webapps/docs/config/

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 22:53:58 2016 New Revision: 1726917 URL: http://svn.apache.org/viewvc?rev=1726917&view=rev Log: Pull up the sessionAttributeFilter option from the cluster managers, rename it to sessionAttributeNameFilter and make it available in all Manager implementations. Modif

svn commit: r1726919 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/config/manager.xml

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 22:54:43 2016 New Revision: 1726919 URL: http://svn.apache.org/viewvc?rev=1726919&view=rev Log: Make clear that the PersistenceManager is the better option if you actually *need* to persist session data across restarts. Modified: tomcat/tc7.0.x/trunk/ (props

svn commit: r1726920 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/Lifecycle.java java/org/apache/catalina/LifecycleState.java java/org/apache/catalina/util/LifecycleBase.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 22:59:59 2016 New Revision: 1726920 URL: http://svn.apache.org/viewvc?rev=1726920&view=rev Log: Deprecate lifecycle states that were never used and could never be used. Add new Lifecycle.SingleUse marker interface as a replacement for MUST_DESTROY Document how to use

svn commit: r1726922 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ java/org/apache/catalina/authenticator/ java/org/apache/catalina/core/ java/org/apache/catalina/ha/tcp/ java/org/apache/ca

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 23:23:53 2016 New Revision: 1726922 URL: http://svn.apache.org/viewvc?rev=1726922&view=rev Log: Clarify behaviour of Manager.context Note: This does not impact Context.manager A Manager can only be used with a single Context and must then be destroyed when no long

svn commit: r1726923 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ha/session/ java/org/apache/catalina/session/ webapps/docs/ webapps/docs/config/

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 23:30:59 2016 New Revision: 1726923 URL: http://svn.apache.org/viewvc?rev=1726923&view=rev Log: Expand the session attribute filtering options - new option to filter based on implementation class of value - new option to log a warning message if an attribute is filte

svn commit: r1726924 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/ha/tcp/ java/org/apache/catalina/manager/ java/org/apache/ca

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 23:40:33 2016 New Revision: 1726924 URL: http://svn.apache.org/viewvc?rev=1726924&view=rev Log: Deprecate Manager.distributable and Manager.maxInactiveInterval since they exist in both the Context and the Manager and the Context values always take precedence. Modi

svn commit: r1726925 - /tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java

2016-01-26 Thread markt
Author: markt Date: Tue Jan 26 23:59:10 2016 New Revision: 1726925 URL: http://svn.apache.org/viewvc?rev=1726925&view=rev Log: Use Context.unbind() to unbind the TCCL. Modified: tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java Modified: tomcat/trunk/java/org/apache/catalina/sessi

svn commit: r1726926 - /tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java

2016-01-26 Thread markt
Author: markt Date: Wed Jan 27 00:00:05 2016 New Revision: 1726926 URL: http://svn.apache.org/viewvc?rev=1726926&view=rev Log: Remove empty finally block Modified: tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java Modified: tomcat/trunk/java/org/apache/catalina/valves/Persist

[Bug 58351] Provide JMX access to server.built and server.number

2016-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58351 Huxing Zhang changed: What|Removed |Added Attachment #33087|0 |1 is obsolete|

[Bug 58351] Provide JMX access to server.built and server.number

2016-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58351 Huxing Zhang changed: What|Removed |Added Component|Catalina|Catalina Version|trunk

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

2016-01-26 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-validate has an issue affecting its community integration.