Re: Resources - JarScanner / WebappClassLoader

2012-09-10 Thread Mark Thomas
On 10/09/2012 17:34, Mark Thomas wrote: > On 10/09/2012 15:11, Mark Thomas wrote: >> On 09/09/2012 20:01, Mark Thomas wrote: >>> This is issue d) in Konstantin's comments in TOMCAT-NEXT.txt >>> >>> Konstantin is right to point out the inefficiencies in JarScanner. There >>> is no need to scan WEB-I

svn commit: r1383050 - /tomcat/sandbox/trunk-resources/test/org/apache/catalina/loader/TestVirtualContext.java

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 19:04:21 2012 New Revision: 1383050 URL: http://svn.apache.org/viewvc?rev=1383050&view=rev Log: Test expects WEB-INF/classes to be treated as an exploded JAR. Modified: tomcat/sandbox/trunk-resources/test/org/apache/catalina/loader/TestVirtualContext.java Modi

svn commit: r1383049 - in /tomcat/sandbox/trunk-resources/java/org/apache: catalina/startup/ jasper/compiler/ tomcat/ tomcat/util/scan/

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 19:03:46 2012 New Revision: 1383049 URL: http://svn.apache.org/viewvc?rev=1383049&view=rev Log: Modifications to JarScanner to: - Stop 'double scanning' WEB-INF - Correctly scan WEB-INF classes for with new Resources implementation Modified: tomcat/sandbox/tr

svn commit: r1383027 - in /tomcat/sandbox/trunk-resources/java/org/apache/catalina: Context.java WebResourceRoot.java core/StandardContext.java startup/FailedContext.java webresources/DirResourceSet.j

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 18:33:21 2012 New Revision: 1383027 URL: http://svn.apache.org/viewvc?rev=1383027&view=rev Log: Make processing /WEB-INF/classes/META-INF/resources consistent and drive by Context setting. Modified: tomcat/sandbox/trunk-resources/java/org/apache/catalina/Contex

Re: Resources - JarScanner / WebappClassLoader

2012-09-10 Thread Mark Thomas
On 10/09/2012 15:11, Mark Thomas wrote: > On 09/09/2012 20:01, Mark Thomas wrote: >> This is issue d) in Konstantin's comments in TOMCAT-NEXT.txt >> >> Konstantin is right to point out the inefficiencies in JarScanner. There >> is no need to scan WEB-INF/lib and WEB-INF/classes as the class path >>

svn commit: r1382972 - /tomcat/sandbox/trunk-resources/test/org/apache/catalina/loader/TestVirtualWebappLoader.java

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 16:32:43 2012 New Revision: 1382972 URL: http://svn.apache.org/viewvc?rev=1382972&view=rev Log: Migrate test to new Resources implementation Modified: tomcat/sandbox/trunk-resources/test/org/apache/catalina/loader/TestVirtualWebappLoader.java Modified: tomcat

Re: [VOTE] Apache Tomcat Maven Plugin 2.0

2012-09-10 Thread Henri Gomez
+1 Works for me 2012/9/10 Olivier Lamy : > Hi, > I'd like to release Apache Tomcat Maven Plugin 2.0. > We fixed 41 issues (see details http://s.apache.org/TOMCAT-MVN-2.0 ). > Staging Maven repository: > https://repository.apache.org/content/repositories/orgapachetomcat-045/ > Sources release (as

Re: Resources - JarScanner / WebappClassLoader

2012-09-10 Thread Mark Thomas
On 09/09/2012 20:01, Mark Thomas wrote: > This is issue d) in Konstantin's comments in TOMCAT-NEXT.txt > > Konstantin is right to point out the inefficiencies in JarScanner. There > is no need to scan WEB-INF/lib and WEB-INF/classes as the class path > from the WebappClassLoader already includes t

svn commit: r1382855 - /tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/DirResourceSet.java

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 14:01:08 2012 New Revision: 1382855 URL: http://svn.apache.org/viewvc?rev=1382855&view=rev Log: Need to handle trailing slash being present and not present Modified: tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/DirResourceSet.java Modif

svn commit: r1382850 - in /tomcat/sandbox/trunk-resources: ./ java/org/apache/catalina/ java/org/apache/catalina/session/ java/org/apache/catalina/startup/ webapps/manager/WEB-INF/

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 13:56:41 2012 New Revision: 1382850 URL: http://svn.apache.org/viewvc?rev=1382850&view=rev Log: Merge changes from trunk Modified: tomcat/sandbox/trunk-resources/ (props changed) tomcat/sandbox/trunk-resources/java/org/apache/catalina/DistributedManager.j

svn commit: r1382845 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/startup/HostConfig.java

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 13:51:15 2012 New Revision: 1382845 URL: http://svn.apache.org/viewvc?rev=1382845&view=rev Log: Take account of clusters and persistent session managers when checking if all sessions have expired. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7

svn commit: r1382842 - /tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 13:49:03 2012 New Revision: 1382842 URL: http://svn.apache.org/viewvc?rev=1382842&view=rev Log: Take account of clusters and persistent session managers when checking if all sessions have expired. Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConf

svn commit: r1382837 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ java/org/apache/catalina/session/ webapps/docs/ webapps/manager/WEB-INF/

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 13:43:41 2012 New Revision: 1382837 URL: http://svn.apache.org/viewvc?rev=1382837&view=rev Log: Make sessions in the session Store visible via the Manager web application if showProxySessions is enabled Modified: tomcat/tc7.0.x/trunk/ (props changed) tomc

svn commit: r1382832 - in /tomcat/trunk: java/org/apache/catalina/ java/org/apache/catalina/session/ webapps/manager/WEB-INF/

2012-09-10 Thread markt
Author: markt Date: Mon Sep 10 13:36:12 2012 New Revision: 1382832 URL: http://svn.apache.org/viewvc?rev=1382832&view=rev Log: Make sessions in the session Store visible via the Manager web application if showProxySessions is enabled Modified: tomcat/trunk/java/org/apache/catalina/Distribute

[Bug 53847] High CPU usage in tomcat native 1.22+

2012-09-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53847 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Mark Th

[VOTE] Apache Tomcat Maven Plugin 2.0

2012-09-10 Thread Olivier Lamy
Hi, I'd like to release Apache Tomcat Maven Plugin 2.0. We fixed 41 issues (see details http://s.apache.org/TOMCAT-MVN-2.0 ). Staging Maven repository: https://repository.apache.org/content/repositories/orgapachetomcat-045/ Sources release (as we distribute artifacts tru sync with Maven central) so

svn commit: r833 - in /dev/tomcat/maven-plugin: ./ v2.0/

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:36:30 2012 New Revision: 833 Log: add maven-plugin 2.0 for vote Added: dev/tomcat/maven-plugin/ dev/tomcat/maven-plugin/v2.0/ dev/tomcat/maven-plugin/v2.0/tomcat-maven-plugin-2.0-source-release.zip (with props) dev/tomcat/maven-plugin/v2.0/tomc

svn commit: r833 - in /dev/tomcat/maven-plugin: ./ v2.0/

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:36:30 2012 New Revision: 833 Log: add maven-plugin 2.0 for vote Added: dev/tomcat/maven-plugin/ dev/tomcat/maven-plugin/v2.0/ dev/tomcat/maven-plugin/v2.0/tomcat-maven-plugin-2.0-source-release.zip (with props) dev/tomcat/maven-plugin/v2.0/tomc

svn commit: r1382796 - /tomcat/maven-plugin/trunk/pom.xml

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:31:50 2012 New Revision: 1382796 URL: http://svn.apache.org/viewvc?rev=1382796&view=rev Log: remove plugins we have reports in analysis.apache.org Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache

[jira] [Updated] (MTOMCAT-158) WAR Overlay Does Not Include Resources

2012-09-10 Thread *$^¨%`£
[ https://issues.apache.org/jira/browse/MTOMCAT-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) updated MTOMCAT-158: --- Fix Version/s: 2.1 > WAR Overlay Does Not Include Resources > --

svn commit: r1382786 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/pom.xml pom.xml tomcat-maven-archetype/pom.xml tomcat-maven-plugin-it/pom.xml tomcat6-maven-plugin/pom.xml tomcat7-mave

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:06:00 2012 New Revision: 1382786 URL: http://svn.apache.org/viewvc?rev=1382786&view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml tomcat/maven-plugin/trunk/pom

svn commit: r1382785 - /tomcat/maven-plugin/tags/tomcat-maven-plugin-2.0/

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:05:55 2012 New Revision: 1382785 URL: http://svn.apache.org/viewvc?rev=1382785&view=rev Log: [maven-release-plugin] copy for tag tomcat-maven-plugin-2.0 Added: tomcat/maven-plugin/tags/tomcat-maven-plugin-2.0/ - copied from r1382784, tomcat/maven-plugi

svn commit: r1382784 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/pom.xml pom.xml tomcat-maven-archetype/pom.xml tomcat-maven-plugin-it/pom.xml tomcat6-maven-plugin/pom.xml tomcat7-mave

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:05:50 2012 New Revision: 1382784 URL: http://svn.apache.org/viewvc?rev=1382784&view=rev Log: [maven-release-plugin] prepare release tomcat-maven-plugin-2.0 Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml tomcat/maven-plugin/trunk/po

svn commit: r1382779 - /tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 12:01:35 2012 New Revision: 1382779 URL: http://svn.apache.org/viewvc?rev=1382779&view=rev Log: now possible to run integration tests with the browser I prefer Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml Modified: tomcat/maven-plugin/trun

[Bug 53847] High CPU usage in tomcat native 1.22+

2012-09-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53847 Andreas Soderer changed: What|Removed |Added Summary|High CPU usage in tamcat|High CPU usage in tomcat

[Bug 53847] New: High CPU usage in tamcat native 1.22+

2012-09-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53847 Priority: P2 Bug ID: 53847 Assignee: dev@tomcat.apache.org Summary: High CPU usage in tamcat native 1.22+ Severity: normal Classification: Unclassified OS: Linux

svn commit: r1382772 - /tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-webapp-it/pom.xml

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 11:50:02 2012 New Revision: 1382772 URL: http://svn.apache.org/viewvc?rev=1382772&view=rev Log: add a firefox profile in selenium test Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-webapp-it

Re: Release date of tomcat7-maven-plugin 2.0

2012-09-10 Thread Olivier Lamy
Hi, 2012/9/10 Franken, Arne : > Hi Olivier, > > Now that Tomcat 7.0.30 is released, are you releasing tomcat7-maven-plugin > 2.0 soon (today) or are you still waiting on a third party? Yes it's the goal, I will start the release process. > > We want to release our software tomorrow and are already

Re: Release date of tomcat7-maven-plugin 2.0

2012-09-10 Thread Franken, Arne
Hi Olivier, Now that Tomcat 7.0.30 is released, are you releasing tomcat7-maven-plugin 2.0 soon (today) or are you still waiting on a third party? We want to release our software tomorrow and are already depending on tomcat 7.0.30. Is it possible for you to release the plugin today? My backup p

svn commit: r1382740 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 10:27:22 2012 New Revision: 1382740 URL: http://svn.apache.org/viewvc?rev=1382740&view=rev Log: remove commented code Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java Mod

Re: svn commit: r1381781 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java

2012-09-10 Thread Robin Böhm
Am 10.09.2012 um 12:16 schrieb Olivier Lamy : > 2012/9/8 Konstantin Kolinko : >> 2012/9/7 : >>> Author: olamy >>> Date: Thu Sep 6 22:18:30 2012 >>> New Revision: 1381781 >>> >>> URL: http://svn.apache.org/viewvc?rev=1381781&view=rev >>> Log: >>> [MTOMCAT-174] tomcatConfigurationFilesDirectory

svn commit: r1382739 - in /tomcat/maven-plugin/trunk: ./ tomcat7-maven-plugin/src/it/simple-war-exec-project/ tomcat7-maven-plugin/src/it/simple-war-exec-project/src/main/tomcatconf/Catalina/ tomcat7-

2012-09-10 Thread olamy
Author: olamy Date: Mon Sep 10 10:27:06 2012 New Revision: 1382739 URL: http://svn.apache.org/viewvc?rev=1382739&view=rev Log: improve it test to ensure Catalina/* directories are added too Added: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/it/simple-war-exec-project/src/main/tomcatco

Re: svn commit: r1381781 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java

2012-09-10 Thread Olivier Lamy
2012/9/8 Konstantin Kolinko : > 2012/9/7 : >> Author: olamy >> Date: Thu Sep 6 22:18:30 2012 >> New Revision: 1381781 >> >> URL: http://svn.apache.org/viewvc?rev=1381781&view=rev >> Log: >> [MTOMCAT-174] tomcatConfigurationFilesDirectory is not implemented >> >> Submitted by Robin Böhm. >> >> Mod

Re: svn commit: r1382367 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/ java/org/apache/catalina/core/ java/org/apache/catalina/startup/ webapps/docs/ webapps/docs/config/

2012-09-10 Thread Mark Thomas
Keiichi Fujino wrote: >> /** >> + * Check for old versions of applications using parallel >deployment that are >> + * now unused (have no active sessions) and undeploy any that >are found. >> + */ >> +if (context != null) { >> +Manager man