Re: [ANN] Apache Tomcat 7.0.82 released

2017-10-06 Thread Mark Thomas
On 06/10/17 06:46, vishal suvagia wrote: > Hi,   This is in relation to 7.0.82 release announcement. > Currently Ranger uses Tomcat as an embedded server, and we currently use  the > 7.0 bits and build 7.0.77, we are planning to use the latest updated bits i.e > as of now 7.0.82. >               

Java 9, modularisation and build systems

2017-10-06 Thread Mark Thomas
Hi all, As you have probably seen, I've been working on improving Java 9 support. The current TODO list is: - module path scanning - handling multi-release JARs in the JarScanner I've been looking at the module path scanning and while there are various approaches, they all make fairly heavy use

Re: Java 9, modularisation and build systems

2017-10-06 Thread Romain Manni-Bucau
Hi Mark, few comments inline 2017-10-06 10:18 GMT+02:00 Mark Thomas : > Hi all, > > As you have probably seen, I've been working on improving Java 9 > support. The current TODO list is: > > - module path scanning > - handling multi-release JARs in the JarScanner > > I've been looking at the modu

svn commit: r1811307 [1/2] - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/filters/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/loader/ java/org/apache/catalina/mbeans/ java/

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 09:16:33 2017 New Revision: 1811307 URL: http://svn.apache.org/viewvc?rev=1811307&view=rev Log: Fix some more deprecation warnings when building with Java 9. Use of Class.newInstance() Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/j

svn commit: r1811307 [2/2] - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/filters/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/loader/ java/org/apache/catalina/mbeans/ java/

2017-10-06 Thread markt
Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/dbcp/pool2/impl/BaseGenericObjectPool.java URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/dbcp/pool2/impl/BaseGenericObjectPool.java?rev=1811307&r1=1811306&r2=1811307&view=diff ===

svn commit: r1811309 [2/2] - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/core/ java/org/apache/catalina/filters/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/loader/ java/or

2017-10-06 Thread markt
Modified: tomcat/tc8.0.x/trunk/java/org/apache/naming/factory/BeanFactory.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/naming/factory/BeanFactory.java?rev=1811309&r1=1811308&r2=1811309&view=diff

svn commit: r1811309 [1/2] - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/core/ java/org/apache/catalina/filters/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/loader/ java/or

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 09:37:16 2017 New Revision: 1811309 URL: http://svn.apache.org/viewvc?rev=1811309&view=rev Log: Fix some more deprecation warnings when building with Java 9. Use of Class.newInstance() Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/ja

svn commit: r1811311 - in /tomcat/trunk/java: javax/el/ javax/security/auth/message/config/ javax/websocket/ javax/websocket/server/ org/apache/catalina/authenticator/jaspic/ org/apache/catalina/conne

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 09:59:31 2017 New Revision: 1811311 URL: http://svn.apache.org/viewvc?rev=1811311&view=rev Log: Refactor Use ReflectiveOperationException rather than multiple sub-classes Modified: tomcat/trunk/java/javax/el/ExpressionFactory.java tomcat/trunk/java/javax/el/

buildbot failure in on tomcat-trunk

2017-10-06 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/2744 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler schedu

svn commit: r1811317 - in /tomcat/trunk/java/org/apache: catalina/tribes/io/ReplicationStream.java catalina/util/CustomObjectInputStream.java naming/factory/DataSourceLinkFactory.java

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 10:18:33 2017 New Revision: 1811317 URL: http://svn.apache.org/viewvc?rev=1811317&view=rev Log: Tackle some of the Proxy related Java 9 deprecation warnings Modified: tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java tomcat/trunk/java/or

svn commit: r1811318 - in /tomcat/trunk/java/org/apache/tomcat/util/compat: Jre9Compat.java JreCompat.java

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 10:22:03 2017 New Revision: 1811318 URL: http://svn.apache.org/viewvc?rev=1811318&view=rev Log: Revert changes included in r1811311 in error Modified: tomcat/trunk/java/org/apache/tomcat/util/compat/Jre9Compat.java tomcat/trunk/java/org/apache/tomcat/util/co

svn commit: r1811319 - in /tomcat/trunk/java/org/apache/catalina: tribes/io/ReplicationStream.java util/CustomObjectInputStream.java

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 10:25:50 2017 New Revision: 1811319 URL: http://svn.apache.org/viewvc?rev=1811319&view=rev Log: Comment out @SuppressWarnings for now. I think it is more important that the Java 8 build is clean. Modified: tomcat/trunk/java/org/apache/catalina/tribes/io/Replica

buildbot success in on tomcat-trunk

2017-10-06 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/2745 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler sch

Re: Java 9, modularisation and build systems

2017-10-06 Thread Martin Grigorov
Hi, On Fri, Oct 6, 2017 at 11:45 AM, Romain Manni-Bucau wrote: > Hi Mark, > > few comments inline > > 2017-10-06 10:18 GMT+02:00 Mark Thomas : > > > Hi all, > > > > As you have probably seen, I've been working on improving Java 9 > > support. The current TODO list is: > > > > - module path scan

Re: Java 9, modularisation and build systems

2017-10-06 Thread Emmanuel Bourg
Le 6/10/2017 à 13:10, Martin Grigorov a écrit : > I personally prefer Maven because it is more consistent. > With free-style build tools like Ant, Gradle, sbt one has to invest some > time to understand the build and be able to make changes. +1, the standardized project structure brought by Maven

svn commit: r1811321 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 11:57:56 2017 New Revision: 1811321 URL: http://svn.apache.org/viewvc?rev=1811321&view=rev Log: Fix possible SecurityException when using the APR/native connector with a SecurityManager Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/security/SecurityC

[Bug 61581] SecurityException trying to access JNI classes in Drawboard example when running with SecurityManager

2017-10-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61581 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: Java 9, modularisation and build systems

2017-10-06 Thread Rémy Maucherat
On Fri, Oct 6, 2017 at 10:18 AM, Mark Thomas wrote: > The usual candidate for an alternative build system is Maven. The > argument for Maven is that it is more widely known and hence easier to > get started with. The argument against is broadly that Maven is very > opinionated and they way Tomcat

[Bug 61568] [Security Manager] InnocuousThread raises SecurityException on HTTP requests

2017-10-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 --- Comment #1 from Mark Thomas --- InnocuousThread is hard-coded to throw a SecurityException if you try and set the context class loader. I can reproduce this with a clean 8.5.x build configured to use NIO2, a SecurityManager and JMeter runn

[Bug 61568] [Security Manager] InnocuousThread raises SecurityException on HTTP requests

2017-10-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 --- Comment #2 from Remy Maucherat --- I had no idea about that weird behavior ... Catch the exception and ignore maybe, or get the thread name and avoid calling it for that "Innocuous" ? You moved the code there for performance reasons origina

svn commit: r1811327 - in /tomcat/trunk: java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:11:12 2017 New Revision: 1811327 URL: http://svn.apache.org/viewvc?rev=1811327&view=rev Log: (empty) Modified: tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/a

svn commit: r1811328 - in /tomcat/trunk: java/org/apache/tomcat/util/security/PrivilegedSetTccl.java java/org/apache/tomcat/util/threads/TaskThreadFactory.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:15:57 2017 New Revision: 1811328 URL: http://svn.apache.org/viewvc?rev=1811328&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 Avoid a potential SecurityException when using the NIO2 connector and a new thread is added to the pool. Modifie

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

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:29:21 2017 New Revision: 1811329 URL: http://svn.apache.org/viewvc?rev=1811329&view=rev Log: Correct description Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tru

svn commit: r1811330 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:30:01 2017 New Revision: 1811330 URL: http://svn.apache.org/viewvc?rev=1811330&view=rev Log: Fix possible SecurityException when using TLS related request attributes. Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/

svn commit: r1811331 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/security/PrivilegedSetTccl.java java/org/apache/tomcat/util/threads/TaskThreadFactory.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:31:47 2017 New Revision: 1811331 URL: http://svn.apache.org/viewvc?rev=1811331&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 Avoid a potential SecurityException when using the NIO2 connector and a new thread is added to the pool. Modifie

svn commit: r1811332 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/security/PrivilegedSetTccl.java java/org/apache/tomcat/util/threads/TaskThreadFactory.java webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 13:34:46 2017 New Revision: 1811332 URL: http://svn.apache.org/viewvc?rev=1811332&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 Avoid a potential SecurityException when using the NIO2 connector and a new thread is added to the pool. Modifie

[Bug 61568] [Security Manager] InnocuousThread raises SecurityException on HTTP requests

2017-10-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61568 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 16:14:00 2017 New Revision: 1811350 URL: http://svn.apache.org/viewvc?rev=1811350&view=rev Log: ws police Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps

svn commit: r1811351 - in /tomcat/tc8.5.x/trunk: ./ webapps/docs/changelog.xml

2017-10-06 Thread markt
Author: markt Date: Fri Oct 6 16:18:28 2017 New Revision: 1811351 URL: http://svn.apache.org/viewvc?rev=1811351&view=rev Log: ws police Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc8.5.x/trunk/ ---

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

2017-10-06 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.

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

2017-10-06 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-tc8.0.x-validate has an issue affecting its community integration.

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

2017-10-06 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-validate has an issue affecting its community integration. Th