Re: Issues in Apache Taglibs 1.2.0-RC1

2013-09-18 Thread Jeremy Boynes
On Sep 15, 2013, at 4:49 PM, sebb  wrote:

> On 14 September 2013 17:09, Jeremy Boynes  wrote:
>> 
>> I think addressed those issues in the following changes:
>> http://svn.apache.org/r1512150
>> http://svn.apache.org/r1512151
>> http://svn.apache.org/r1512153
>> http://svn.apache.org/r1512158
> 
> BTW, there was no need to drop @version entirely; it was only the
> $Date$ part that causes problems.

They had been removed from the rest of the codebase previously; I did that to 
match.

> 
>> http://svn.apache.org/r1512166
>> http://svn.apache.org/r1512172
> 
> Those changes look OK at first glance.
> 
>> except for the "several files without AL headers." I'll look to see which 
>> those are but pointers would help.
> 
> I just ran RAT.
> Sorry, but I did not keep the report.

I see RAT has a Maven plugin - would it make sense to add that to the release 
profile for the project?

Thanks
Jeremy



signature.asc
Description: Message signed with OpenPGP using GPGMail


[Bug 55383] Improve markup and design of Tomcat's HTML pages

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55383

--- Comment #43 from Mark Thomas  ---
(In reply to Konstantin Preißer from comment #42)
> Created attachment 30824 [details]

> this patch improves the markup in the Tomcat Site XMLs. After applying, the
> HTMls should validate against a HTML5 validator.

Patch applied. Thanks again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524365 - /tomcat/trunk/java/org/apache/catalina/webresources/Cache.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 11:07:00 2013
New Revision: 1524365

URL: http://svn.apache.org/r1524365
Log:
Fix broken message

Modified:
tomcat/trunk/java/org/apache/catalina/webresources/Cache.java

Modified: tomcat/trunk/java/org/apache/catalina/webresources/Cache.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/Cache.java?rev=1524365&r1=1524364&r2=1524365&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/webresources/Cache.java (original)
+++ tomcat/trunk/java/org/apache/catalina/webresources/Cache.java Wed Sep 18 
11:07:00 2013
@@ -102,7 +102,7 @@ public class Cache {
 // Unable to create sufficient space for this resource
 // Remove it from the cache
 removeCacheEntry(path, true);
-log.warn(sm.getString("cache.addFail"));
+log.warn(sm.getString("cache.addFail", path));
 }
 }
 } else {



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524366 - /tomcat/trunk/java/org/apache/catalina/webresources/Cache.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 11:12:02 2013
New Revision: 1524366

URL: http://svn.apache.org/r1524366
Log:
Fix a TODO. Exclude resources in WEB-INF/classes and WEB-INF/lib from
the cache as the class loader has its own caching mechanism.

Modified:
tomcat/trunk/java/org/apache/catalina/webresources/Cache.java

Modified: tomcat/trunk/java/org/apache/catalina/webresources/Cache.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/Cache.java?rev=1524366&r1=1524365&r2=1524366&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/webresources/Cache.java (original)
+++ tomcat/trunk/java/org/apache/catalina/webresources/Cache.java Wed Sep 18 
11:12:02 2013
@@ -57,7 +57,9 @@ public class Cache {
 
 protected WebResource getResource(String path) {
 
-// TODO Should some resources be excluded from caching?
+if (noCache(path)) {
+return root.getResourceInternal(path);
+}
 
 CachedResource cacheEntry = resourceCache.get(path);
 
@@ -137,6 +139,15 @@ public class Cache {
 }
 }
 
+private boolean noCache(String path) {
+// Don't cache resources used by the class loader (it has its own 
cache)
+if (path.startsWith("/WEB-INF/classes") ||
+path.startsWith("/WEB-INF/lib")) {
+return true;
+}
+return false;
+}
+
 private long evict(long targetSize, Iterator iter) {
 
 long now = System.currentTimeMillis();



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 55511] Reduce contention on WebappClassLoader

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55511

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #8 from Mark Thomas  ---
Happy to revisit this if a test case is developed that shows a genuine problem.
However, given that - at the moment - such a test case doesn't exist I'm
resolving this as invalid.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 55508] TldLocationsCache not recognising custom TLDs in WEB-INF/lib

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55508

Violeta Georgieva  changed:

   What|Removed |Added

  Component|Jasper  |Jasper
Version|7.0.42  |trunk
Product|Tomcat 7|Tomcat 8
   Target Milestone|--- |

--- Comment #5 from Violeta Georgieva  ---
Changing the product to Tomcat 8 as this discussion may affect Tomcat 8.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 44818] tomcat hangs with GET when content-length is defined

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44818

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #6 from Mark Thomas  ---
The only way to handle this would be to explicitly deny GET requests with a
content length header and close the connection with a 400 response.

If an application wants to do this, they can do so with a Filter.

There is no greater DoS risk with this than there is with a POST request that
fails to provide the complete request body.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 40728] Catalina MBeans use non-serializable classes

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40728

Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WONTFIX

--- Comment #14 from Mark Thomas  ---
No list has been forthcoming in well over 18 months.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524400 - in /tomcat/trunk: java/org/apache/catalina/servlets/DefaultServlet.java webapps/docs/changelog.xml

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 13:21:08 2013
New Revision: 1524400

URL: http://svn.apache.org/r1524400
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46727
 Refactor default servlet to make it easier to sub-class to implement finer 
grained control of the file encoding. Based on a patch by Fred Toth.

Modified:
tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java?rev=1524400&r1=1524399&r2=1524400&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java Wed Sep 
18 13:21:08 2013
@@ -387,7 +387,7 @@ public class DefaultServlet
 throws IOException, ServletException {
 
 // Serve the requested resource, including the data content
-serveResource(request, response, true);
+serveResource(request, response, true, fileEncoding);
 
 }
 
@@ -407,7 +407,7 @@ public class DefaultServlet
 throws IOException, ServletException {
 
 // Serve the requested resource, without the data content
-serveResource(request, response, false);
+serveResource(request, response, false, fileEncoding);
 
 }
 
@@ -664,16 +664,19 @@ public class DefaultServlet
 /**
  * Serve the specified resource, optionally including the data content.
  *
- * @param request The servlet request we are processing
+ * @param request  The servlet request we are processing
  * @param response The servlet response we are creating
- * @param content Should the content be included?
+ * @param content  Should the content be included?
+ * @param encoding The encoding to use if it is necessary to access the
+ * source as characters rather than as bytes
  *
  * @exception IOException if an input/output error occurs
  * @exception ServletException if a servlet-specified error occurs
  */
 protected void serveResource(HttpServletRequest request,
  HttpServletResponse response,
- boolean content)
+ boolean content,
+ String encoding)
 throws IOException, ServletException {
 
 boolean serveContent = content;
@@ -877,7 +880,7 @@ public class DefaultServlet
 contentLength, null))
 copy(resource, renderResult, ostream);
 } else {
-copy(resource, renderResult, writer);
+copy(resource, renderResult, writer, encoding);
 }
 }
 
@@ -1764,11 +1767,12 @@ public class DefaultServlet
  * @param resource  The source resource
  * @param isThe input stream to read the source resource from
  * @param writerThe writer to write to
+ * @param encoding  The encoding to use when reading the source input 
stream
  *
  * @exception IOException if an input/output error occurs
  */
-protected void copy(WebResource resource, InputStream is, PrintWriter 
writer)
-throws IOException {
+protected void copy(WebResource resource, InputStream is, PrintWriter 
writer,
+String encoding) throws IOException {
 
 IOException exception = null;
 
@@ -1780,11 +1784,10 @@ public class DefaultServlet
 }
 
 Reader reader;
-if (fileEncoding == null) {
+if (encoding == null) {
 reader = new InputStreamReader(resourceInputStream);
 } else {
-reader = new InputStreamReader(resourceInputStream,
-   fileEncoding);
+reader = new InputStreamReader(resourceInputStream, encoding);
 }
 
 // Copy the input stream to the output stream

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1524400&r1=1524399&r2=1524400&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Sep 18 13:21:08 2013
@@ -65,6 +65,11 @@
 contributions from Nick Williams, Rossen Stoyanchev and Niki Dokovski.
 (markt)
   
+  
+46727: Refactor default servlet to make it easier to
+sub-class to implement finer grained control of the file encoding. 
Based
+on a patch by Fred Toth. (markt)
+  
   
 45995: Align Tomcat with Apache httpd and perform MIME type
 mapping based on file extension in a case insensitive manner.

[Bug 46727] DefaultServlet - serving multiple encodings

2013-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46727

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  Component|Catalina|Catalina
Version|unspecified |trunk
 Resolution|--- |FIXED
Product|Tomcat 6|Tomcat 8
   Target Milestone|default |

--- Comment #3 from Mark Thomas  ---
Sorry it has been rather a long time getting back to this.

A variation of this patch has been applied to 8.0.x and will be included in
8.0.0-RC3 onwards.

Since this patch changes the default servlet signature and it is likely that
folks have extended the default servlet, I don't think it would be a good idea
to back-port this to earlier versions of Tomcat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524418 - /tomcat/trunk/res/findbugs/filter-false-positives.xml

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 14:00:41 2013
New Revision: 1524418

URL: http://svn.apache.org/r1524418
Log:
A few more false positives

Modified:
tomcat/trunk/res/findbugs/filter-false-positives.xml

Modified: tomcat/trunk/res/findbugs/filter-false-positives.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/findbugs/filter-false-positives.xml?rev=1524418&r1=1524417&r2=1524418&view=diff
==
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Wed Sep 18 14:00:41 
2013
@@ -476,6 +476,19 @@
 
 
   
+  
+
+
+
+
+  
+  
+
+
+
+
+  
+
 
   
   
@@ -608,6 +621,17 @@
 
   
   
+
+
+  
+  
+  
+  
+
+
+
+  
+  
 
 
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524419 - /tomcat/trunk/TOMCAT-NEXT.txt

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 14:02:11 2013
New Revision: 1524419

URL: http://svn.apache.org/r1524419
Log:
Update

Modified:
tomcat/trunk/TOMCAT-NEXT.txt

Modified: tomcat/trunk/TOMCAT-NEXT.txt
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/TOMCAT-NEXT.txt?rev=1524419&r1=1524418&r2=1524419&view=diff
==
--- tomcat/trunk/TOMCAT-NEXT.txt (original)
+++ tomcat/trunk/TOMCAT-NEXT.txt Wed Sep 18 14:02:11 2013
@@ -37,6 +37,7 @@ but possibly 7.1.x).
 - Complete
 
  6. Change the default URIEncoding on the connector to UTF-8.
+- Complete
 
  7. Rip out all the JNDI code in resource handling and replace it with straight
 URLs (File or WAR).



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524491 - /tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/

2013-09-18 Thread remm
Author: remm
Date: Wed Sep 18 16:58:49 2013
New Revision: 1524491

URL: http://svn.apache.org/r1524491
Log:
The previous tag was missing a connector related patch.

Added:
tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/
  - copied from r1524490, tomcat/sandbox/storeconfig6/trunk/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524492 - /tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/

2013-09-18 Thread remm
Author: remm
Date: Wed Sep 18 17:01:01 2013
New Revision: 1524492

URL: http://svn.apache.org/r1524492
Log:
The previous tag was missing a connector related patch.

Added:
tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/
  - copied from r1524491, tomcat/sandbox/storeconfig7/trunk/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524493 - in /tomcat/sandbox: storeconfig6/tags/0.0.1.Alpha2/pom.xml storeconfig7/tags/0.0.1.Alpha2/pom.xml

2013-09-18 Thread remm
Author: remm
Date: Wed Sep 18 17:06:30 2013
New Revision: 1524493

URL: http://svn.apache.org/r1524493
Log:
Fix version numbers ...

Modified:
tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/pom.xml
tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/pom.xml

Modified: tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/pom.xml?rev=1524493&r1=1524492&r2=1524493&view=diff
==
--- tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/pom.xml (original)
+++ tomcat/sandbox/storeconfig6/tags/0.0.1.Alpha2/pom.xml Wed Sep 18 17:06:30 
2013
@@ -27,7 +27,7 @@
 
 org.apache.tomcat
 tomcat6-storeconfig
- 0.0.1.Alpha2-SNAPSHOT
+ 0.0.1.Alpha2
 
 Store Config
 Configuration storage for Apache Tomcat 6

Modified: tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/pom.xml?rev=1524493&r1=1524492&r2=1524493&view=diff
==
--- tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/pom.xml (original)
+++ tomcat/sandbox/storeconfig7/tags/0.0.1.Alpha2/pom.xml Wed Sep 18 17:06:30 
2013
@@ -27,7 +27,7 @@
 
 org.apache.tomcat
 tomcat7-storeconfig
-0.0.1.Alpha2-SNAPSHOT
+0.0.1.Alpha2
 
 Store Config
 Configuration storage for Apache Tomcat 7



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524528 - /tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 18:48:41 2013
New Revision: 1524528

URL: http://svn.apache.org/r1524528
Log:
Fix comment

Modified:
tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java

Modified: tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java?rev=1524528&r1=1524527&r2=1524528&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java Wed Sep 18 
18:48:41 2013
@@ -54,7 +54,7 @@ import org.apache.tomcat.util.res.String
 /**
  * Classloader implementation which is specialized for handling web
  * applications in the most efficient way, while being Catalina aware (all
- * accesses to resources are made through the DirContext interface).
+ * accesses to resources are made through {@link WebResourceRoot}).
  * This class loader supports detection of modified
  * Java classes, which can be used to implement auto-reload support.
  * 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524545 - in /tomcat/tc7.0.x/tags/TOMCAT_7_0_43: ./ build.properties.default

2013-09-18 Thread violetagg
Author: violetagg
Date: Wed Sep 18 19:44:03 2013
New Revision: 1524545

URL: http://svn.apache.org/r1524545
Log:
Tag 7.0.43

Added:
tomcat/tc7.0.x/tags/TOMCAT_7_0_43/   (props changed)
  - copied from r1524542, tomcat/tc7.0.x/trunk/
Modified:
tomcat/tc7.0.x/tags/TOMCAT_7_0_43/build.properties.default

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
bugtraq:append = false

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
bugtraq:label = Bugzilla ID (optional)

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
--- bugtraq:message (added)
+++ bugtraq:message Wed Sep 18 19:44:03 2013
@@ -0,0 +1 @@
+Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
bugtraq:number = true

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
bugtraq:url = https://issues.apache.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
bugtraq:warnifnoissue = false

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
--- subclipse:tags (added)
+++ subclipse:tags Wed Sep 18 19:44:03 2013
@@ -0,0 +1,27 @@
+933020,TOMCAT_7_0_0_RC1,/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC1,tag
+945257,TOMCAT_7_0_0_RC2,/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC2,tag
+947494,TOMCAT_7_0_0_RC3,/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC3,tag
+952212,TOMCAT_7_0_0_RC4,/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC4,tag
+954232,TOMCAT_7_0_0,/tomcat/tc7.0.x/tags/TOMCAT_7_0_0,tag
+981255,TOMCAT_7_0_1,/tomcat/tc7.0.x/tags/TOMCAT_7_0_1,tag
+982035,TOMCAT_7_0_2,/tomcat/tc7.0.x/tags/TOMCAT_7_0_2,tag
+1003912,TOMCAT_7_0_3,/tomcat/tc7.0.x/tags/TOMCAT_7_0_3,tag
+1022637,TOMCAT_7_0_4,/tomcat/tc7.0.x/tags/TOMCAT_7_0_4,tag
+1038717,TOMCAT_7_0_5,/tomcat/tc7.0.x/tags/TOMCAT_7_0_5,tag
+1057288,TOMCAT_7_0_6,/tomcat/tc7.0.x/tags/TOMCAT_7_0_6,tag
+1066773,TOMCAT_7_0_7,/tomcat/tc7.0.x/tags/TOMCAT_7_0_7,tag
+1067169,TOMCAT_7_0_8,/tomcat/tc7.0.x/tags/TOMCAT_7_0_8,tag
+1075337,TOMCAT_7_0_9,/tomcat/tc7.0.x/tags/TOMCAT_7_0_9,tag
+1078282,TOMCAT_7_0_10,/tomcat/tc7.0.x/tags/TOMCAT_7_0_10,tag
+1080182,TOMCAT_7_0_11,/tomcat/tc7.0.x/tags/TOMCAT_7_0_11,tag
+1087797,TOMCAT_7_0_12,/tomcat/tc7.0.x/tags/TOMCAT_7_0_12,tag
+1101230,TOMCAT_7_0_14,/tomcat/tc7.0.x/tags/TOMCAT_7_0_14,tag
+1101232,TOMCAT_7_0_13,/tomcat/tc7.0.x/tags/TOMCAT_7_0_13,tag
+1131469,TOMCAT_7_0_15,/tomcat/tc7.0.x/tags/TOMCAT_7_0_15,tag
+1134562,TOMCAT_7_0_16,/tomcat/tc7.0.x/tags/TOMCAT_7_0_16,tag
+1142314,TOMCAT_7_0_17,/tomcat/tc7.0.x/tags/TOMCAT_7_0_17,tag
+1143610,TOMCAT_7_0_18,/tomcat/tc7.0.x/tags/TOMCAT_7_0_18,tag
+1146504,TOMCAT_7_0_19,/tomcat/tc7.0.x/tags/TOMCAT_7_0_19,tag
+1155255,TOMCAT_7_0_20,/tomcat/tc7.0.x/tags/TOMCAT_7_0_20,tag
+1162976,TOMCAT_7_0_21,/tomcat/tc7.0.x/tags/TOMCAT_7_0_21,tag
+1176597,TOMCAT_7_0_22,/tomcat/tc7.0.x/tags/TOMCAT_7_0_22,tag

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
--- svn:ignore (added)
+++ svn:ignore Wed Sep 18 19:44:03 2013
@@ -0,0 +1,7 @@
+.*
+build.properties
+logs
+nbproject
+output
+work
+*.iml

Propchange: tomcat/tc7.0.x/tags/TOMCAT_7_0_43/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Sep 18 19:44:03 2013
@@ -0,0 +1 @@
+/tomcat/trunk:1156115-1157160,1157162-1157859,1157862-1157942,1157945-1160347,1160349-1163716,1163718-1166689,1166691-1174340,1174342-1175596,1175598-1175611,1175613-1175932,1175934-1177783,1177785-1177980,1178006-1180720,1180722-1183094,1183096-1187753,1187755,1187775,1187801,1187806,1187809,1187826-1188312,1188314-1188401,1188646-1188840,1188842-1190176,1190178-1195223,1195225-1195953,1195955,1195957-1201238,1201240-1203345,1203347-1206623,1206625-1208046,1208073,1208096,1208114,1208145,1208772,1209194-1212125,1212127-1220291,1220293,1220295-1221321,1221323-1222328,1222332-1222401,1222405-1222795,1222850-1222950,1222969-1225326,1225328-1225463,1225465,1225627,1225629-1226534,1226536-1228908,1228911-1228923,1228927-1229532,1229534-1230766,1230768-1231625,1231627-1233414,1233419-1235207,1235209-1237425,1237427,1237429-1237977,1237981,1237985,1237995,1238070,1238073,1239024-1239048,1239050-1239062,1239135,1239256,1239258-1239485,1239785-1240046,1240101,1240106,1240109,1240112,1240114
 
,1240116,1240118,1240121,1240329,1240474-1240850,1240857,1241087,1241160,1241408-1241822,1241908-1241909,1241912-1242110,1242371-1292130,1292134-1292458,1292464-1292670,1292672-1292776,1292780-1293392,1

svn commit: r1524546 - /tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 19:45:13 2013
New Revision: 1524546

URL: http://svn.apache.org/r1524546
Log:
Correct log message. Use better language

Modified:
tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java

Modified: tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java?rev=1524546&r1=1524545&r2=1524546&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java Wed Sep 
18 19:45:13 2013
@@ -877,7 +877,7 @@ public class WebappClassLoader
 continue;
 if (!name.equals(jarNames[i])) {
 // Missing JAR
-log.info("Additional JARs have been added : '"
+log.info("One or more JARs have been added : '"
  + name + "'");
 return true;
 }
@@ -894,7 +894,7 @@ public class WebappClassLoader
 }
 } else if (i < jarNames.length) {
 // There was less JARs
-log.info("Additional JARs have been added");
+log.info("One or more JARs have been removed");
 return (true);
 }
 }



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 8.0.0-RC2

2013-09-18 Thread Konstantin Kolinko
2013/9/17 Mark Thomas :
> The proposed Apache Tomcat 8.0.0 release candidate 2 is now available
> for voting.
>
> Given this is a release candidate I am working on the basis that it is
> equivalent to an alpha. The main changes since RC1 are:
> - Updated spec implementations with results of various "grey area"
> discussions from the EG mailing lists
> - Now uses UTF-8 by default
> - Switch to async logging and one-line log format by default
> - New doc style
> - Refactored TLD parsing (work in progress)
> - Fixed all the issues reported against RC1
> - Add Servlet 3.1 non-blocking support to the AJP connectors
> - Fix an issue with the new WebResources and packed WAR files
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC2/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-066/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC2/
>
> The proposed 8.0.0-RC2 release is:
> [x] Broken - do not release
> [ ] Alpha - go ahead and release as 8.0.0-RC2 alpha
>

WinXP, Java 7u25, trying to start with security being enabled Tomcat
just dies at bootstrap time.

> catalina.bat run -security
results in
[[[
java.lang.ClassNotFoundException:
org.apache.tomcat.util.net.JIoEndpoint$PrivilegedSetTccl
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.apache.catalina.security.SecurityClassLoad.loadTomcatPackage(SecurityClassLoad.java
:282)
at 
org.apache.catalina.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java
:49)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:461)
]]]
and Tomcat dies.

(I was going to test ClassLoaderLogManager after recent changed by
Chris, but it just dies before reaching there.)

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 8.0.0-RC2

2013-09-18 Thread Christopher Schultz
Mark,

On 9/17/13 1:53 PM, Mark Thomas wrote:
> The proposed Apache Tomcat 8.0.0 release candidate 2 is now available
> for voting.
> 
> Given this is a release candidate I am working on the basis that it is
> equivalent to an alpha. The main changes since RC1 are:
> - Updated spec implementations with results of various "grey area"
> discussions from the EG mailing lists
> - Now uses UTF-8 by default
> - Switch to async logging and one-line log format by default
> - New doc style
> - Refactored TLD parsing (work in progress)
> - Fixed all the issues reported against RC1
> - Add Servlet 3.1 non-blocking support to the AJP connectors
> - Fix an issue with the new WebResources and packed WAR files
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC2/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-066/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC2/
> 
> The proposed 8.0.0-RC2 release is:
> [ ] Broken - do not release
> [X] Alpha - go ahead and release as 8.0.0-RC2 alpha

Works fine in dev environment with some of my webapps. Specifically
configured with NIO connector, no SSL, no Websocket usage, small heap
(-Xmx128M, compressed OOPs). Mac OS X on Oracle 1.7.0_40-b43 (64-bit).

> - Now uses UTF-8 by default

Yay! Did anything actually change? I think this had been done before, no?

> - Switch to async logging and one-line log format by default

Does this affect catalina.out? I'm still seeing multi-line messages
going to catalina.out (stderr/stdout).

> - New doc style

Nice!

Strangely, I got 2171 of these in catalina.out when launching:

Sep 18, 2013 4:03:42 PM org.apache.catalina.webresources.Cache getResource
WARNING: Unable to add the resource at [{0}] to the cache because there
was insufficient free space available after evicting expired cache
entries - consider increasing the maximum size of the cache

I don't have anything cache-related defined in my server.xml (nor
META-INF/context.xml) so I suspect I have whatever defaults are

Of primary concern is that I have not specifically configured anything,
and with what I consider to be a modestly-small-sizes webapp, I got 2171
warnings on startup. Yikes. The 'resource' isn't named, which is a
slight concern, too.

After using my webapp for a bit, I started getting more of the above
warnings in catalina.out. I'm up to 2299 at this point.

-chris



signature.asc
Description: OpenPGP digital signature


Re: [VOTE] Release Apache Tomcat 8.0.0-RC2

2013-09-18 Thread Mark Thomas
On 18/09/2013 21:18, Christopher Schultz wrote:
> Mark,
> 
> On 9/17/13 1:53 PM, Mark Thomas wrote:
>> The proposed Apache Tomcat 8.0.0 release candidate 2 is now
>> available for voting.
>> 
>> Given this is a release candidate I am working on the basis that
>> it is equivalent to an alpha. The main changes since RC1 are: -
>> Updated spec implementations with results of various "grey area" 
>> discussions from the EG mailing lists - Now uses UTF-8 by
>> default - Switch to async logging and one-line log format by
>> default - New doc style - Refactored TLD parsing (work in
>> progress) - Fixed all the issues reported against RC1 - Add
>> Servlet 3.1 non-blocking support to the AJP connectors - Fix an
>> issue with the new WebResources and packed WAR files
>> 
>> It can be obtained from: 
>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC2/
>>
>> 
The Maven staging repo is:
>> https://repository.apache.org/content/repositories/orgapachetomcat-066/
>>
>> 
The svn tag is:
>> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC2/
>> 
>> The proposed 8.0.0-RC2 release is: [ ] Broken - do not release 
>> [X] Alpha - go ahead and release as 8.0.0-RC2 alpha
> 
> Works fine in dev environment with some of my webapps.
> Specifically configured with NIO connector, no SSL, no Websocket
> usage, small heap (-Xmx128M, compressed OOPs). Mac OS X on Oracle
> 1.7.0_40-b43 (64-bit).
> 
>> - Now uses UTF-8 by default
> 
> Yay! Did anything actually change? I think this had been done
> before, no?
> 
>> - Switch to async logging and one-line log format by default
> 
> Does this affect catalina.out? I'm still seeing multi-line
> messages going to catalina.out (stderr/stdout).
> 
>> - New doc style
> 
> Nice!
> 
> Strangely, I got 2171 of these in catalina.out when launching:
> 
> Sep 18, 2013 4:03:42 PM org.apache.catalina.webresources.Cache
> getResource WARNING: Unable to add the resource at [{0}] to the
> cache because there was insufficient free space available after
> evicting expired cache entries - consider increasing the maximum
> size of the cache
> 
> I don't have anything cache-related defined in my server.xml (nor 
> META-INF/context.xml) so I suspect I have whatever defaults are
> 
> Of primary concern is that I have not specifically configured
> anything, and with what I consider to be a modestly-small-sizes
> webapp, I got 2171 warnings on startup. Yikes. The 'resource' isn't
> named, which is a slight concern, too.
> 
> After using my webapp for a bit, I started getting more of the
> above warnings in catalina.out. I'm up to 2299 at this point.

See the users list.

Mark


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 8.0.0-RC2

2013-09-18 Thread Mark Thomas
On 18/09/2013 20:49, Konstantin Kolinko wrote:
> 2013/9/17 Mark Thomas :
>> The proposed Apache Tomcat 8.0.0 release candidate 2 is now available
>> for voting.
>>
>> Given this is a release candidate I am working on the basis that it is
>> equivalent to an alpha. The main changes since RC1 are:
>> - Updated spec implementations with results of various "grey area"
>> discussions from the EG mailing lists
>> - Now uses UTF-8 by default
>> - Switch to async logging and one-line log format by default
>> - New doc style
>> - Refactored TLD parsing (work in progress)
>> - Fixed all the issues reported against RC1
>> - Add Servlet 3.1 non-blocking support to the AJP connectors
>> - Fix an issue with the new WebResources and packed WAR files
>>
>> It can be obtained from:
>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC2/
>> The Maven staging repo is:
>> https://repository.apache.org/content/repositories/orgapachetomcat-066/
>> The svn tag is:
>> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC2/
>>
>> The proposed 8.0.0-RC2 release is:
>> [x] Broken - do not release
>> [ ] Alpha - go ahead and release as 8.0.0-RC2 alpha
>>
> 
> WinXP, Java 7u25, trying to start with security being enabled Tomcat
> just dies at bootstrap time.
> 
>> catalina.bat run -security
> results in
> [[[
> java.lang.ClassNotFoundException:
> org.apache.tomcat.util.net.JIoEndpoint$PrivilegedSetTccl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at 
> org.apache.catalina.security.SecurityClassLoad.loadTomcatPackage(SecurityClassLoad.java
> :282)
> at 
> org.apache.catalina.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java
> :49)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:266)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:461)
> ]]]
> and Tomcat dies.
> 
> (I was going to test ClassLoaderLogManager after recent changed by
> Chris, but it just dies before reaching there.)

Whoops. I've just fixed that locally and I now see some warnings related
to Chris's changes. I'll commit the first fix and then look at the
remaining warnings from the security manager.

It isn't as if the release process takes much effort so I'll roll RC3
anyway to pick up this and the cache fixes. I might get to that tonight
- it might wait until tomorrow.

Mark


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524557 - /tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 20:24:02 2013
New Revision: 1524557

URL: http://svn.apache.org/r1524557
Log:
Fix starting with a security manager

Modified:
tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java

Modified: tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java?rev=1524557&r1=1524556&r2=1524557&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java Wed 
Sep 18 20:24:02 2013
@@ -280,9 +280,7 @@ public final class SecurityClassLoad {
 "util.net.NioBlockingSelector$BlockPoller$3");
 loader.loadClass(basePackage + "util.net.SSLSupport$CipherData");
 loader.loadClass
-(basePackage + "util.net.JIoEndpoint$PrivilegedSetTccl");
-loader.loadClass
-(basePackage + "util.net.AprEndpoint$PrivilegedSetTccl");
+(basePackage + "util.net.AbstractEndpoint$PrivilegedSetTccl");
 }
 }
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524558 - /tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 20:28:19 2013
New Revision: 1524558

URL: http://svn.apache.org/r1524558
Log:
Use the intended (based on the changes to the policy file) name for the new 
system property.

Modified:
tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java

Modified: tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java?rev=1524558&r1=1524557&r2=1524558&view=diff
==
--- tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java (original)
+++ tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java Wed Sep 18 
20:28:19 2013
@@ -50,7 +50,8 @@ import java.util.logging.Logger;
  * Short configuration information will be sent to System.err.
  */
 public class ClassLoaderLogManager extends LogManager {
-public static final String DEBUG_PROPERTY = LogManager.class.getName() + 
".debug";
+public static final String DEBUG_PROPERTY =
+ClassLoaderLogManager.class.getName() + ".debug";
 
 private final class Cleaner extends Thread {
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1524559 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/juli/ClassLoaderLogManager.java

2013-09-18 Thread markt
Author: markt
Date: Wed Sep 18 20:30:48 2013
New Revision: 1524559

URL: http://svn.apache.org/r1524559
Log:
Use the intended (based on the changes to the policy file) name for the new 
system property.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1524558

Modified: tomcat/tc7.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java?rev=1524559&r1=1524558&r2=1524559&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java Wed 
Sep 18 20:30:48 2013
@@ -50,7 +50,8 @@ import java.util.logging.Logger;
  * Short configuration information will be sent to System.err.
  */
 public class ClassLoaderLogManager extends LogManager {
-public static final String DEBUG_PROPERTY = LogManager.class.getName() + 
".debug";
+public static final String DEBUG_PROPERTY =
+ClassLoaderLogManager.class.getName() + ".debug";
 
 private final class Cleaner extends Thread {
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1524558 - /tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java

2013-09-18 Thread Christopher Schultz
Mark,

On 9/18/13 4:28 PM, ma...@apache.org wrote:
> Author: markt
> Date: Wed Sep 18 20:28:19 2013
> New Revision: 1524558
> 
> URL: http://svn.apache.org/r1524558
> Log:
> Use the intended (based on the changes to the policy file) name for the new 
> system property.

Ugh. Thanks for the cleanup.

I don't have a webapp that's (currently) usable under a SecurityManager
so I never run under one. That's no excuse for not having done a smoke-test.

Thanks,
-chris

> 
> Modified:
> tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java
> 
> Modified: tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java
> URL: 
> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java?rev=1524558&r1=1524557&r2=1524558&view=diff
> ==
> --- tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java (original)
> +++ tomcat/trunk/java/org/apache/juli/ClassLoaderLogManager.java Wed Sep 18 
> 20:28:19 2013
> @@ -50,7 +50,8 @@ import java.util.logging.Logger;
>   * Short configuration information will be sent to System.err.
>   */
>  public class ClassLoaderLogManager extends LogManager {
> -public static final String DEBUG_PROPERTY = LogManager.class.getName() + 
> ".debug";
> +public static final String DEBUG_PROPERTY =
> +ClassLoaderLogManager.class.getName() + ".debug";
>  
>  private final class Cleaner extends Thread {
>  
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 



signature.asc
Description: OpenPGP digital signature


Re: [VOTE] Release Apache Tomcat 8.0.0-RC2

2013-09-18 Thread Rainer Jung
I get a crash when using tcnative 1.1.28 and JDK 1.7.0_40 on Solaris 10:

WARN: Test failure in
'output/build/logs/TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.APR.txt':
Testsuite: org.apache.tomcat.websocket.TestWsWebSocketContainer
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec

Testcase: testSessionExpiryContainer took 0.006 sec
Caused an ERROR
Forked Java VM exited abnormally. Please note the time in the report
does not reflect the time until the VM exit.
junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
Please note the time in the report does not reflect the time until the
VM exit.

Stack from HotSpot error file:

Stack: [0xb280,0xb288],  sp=0xb287cfa8,  free space=499k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C  [libtcnative-1.so.0.1.28+0x100fc]
Java_org_apache_tomcat_jni_Socket_recv+0x40
j  org.apache.tomcat.jni.Socket.recv(J[BII)I+1
j  org.apache.tomcat.jni.Socket.recv(J[BII)I+0
j  org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(Z[BII)I+83
j
org.apache.coyote.http11.upgrade.AbstractServletInputStream.read([BII)I+20
j  org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable()V+46
j
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable()V+4
j
org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable()V+11
j
org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
+11
j
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/ut
il/net/AbstractEndpoint$Handler$SocketState;+212
j
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tom
cat/util/net/AbstractEndpoint$Handler$SocketState;+76
j  org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun()V+26
j  org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run()V+55
J
java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x1bc72c]  void
JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x320
V  [libjvm.so+0x6bd888]  void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,Symbol*,Symbol*,Thread*)+0x1a0
V  [libjvm.so+0x267820]  void thread_entry(JavaThread*,Thread*)+0x170
V  [libjvm.so+0xb0bf98]  void JavaThread::thread_main_inner()+0x9c
V  [libjvm.so+0x263250]  void JavaThread::run()+0x494
V  [libjvm.so+0x9e30f0]  java_start+0x338


Note that there's another error only happening with apr:

WARN: Test failure in
'output/build/logs/TEST-org.apache.catalina.connector.TestCoyoteAdapter.APR.txt':
Testsuite: org.apache.catalina.connector.TestCoyoteAdapter
Tests run: 18, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 48.535 sec
- Standard Output ---
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Date: Wed, 18 Sep 2013 22:16:04 GMT

4
TEST
4
TEST
-  ---
- Standard Error -
19-Sep-2013 00:15:56.939 INFO [main]
org.apache.catalina.core.AprLifecycleListener.init Loaded APR based
Apache Tomcat Native library 1.1.28 using APR version 1.4.8.
19-Sep-2013 00:15:56.945 INFO [main]
org.apache.catalina.core.AprLifecycleListener.init APR capabilities:
IPv6 [true], sendfile [true], accept filters [false], random [true].
19-Sep-2013 00:15:57.238 INFO [main]
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
successfully initialized (OpenSSL 1.0.1esp1 12 Feb 2013)
19-Sep-2013 00:15:58.510 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-apr-127.0.0.1-auto-1"]
19-Sep-2013 00:15:58.555 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Tomcat
...
19-Sep-2013 00:16:18.685 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Tomcat
19-Sep-2013 00:16:18.685 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
Engine: Apache Tomcat/8.0.0-RC2
19-Sep-2013 00:16:18.709 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-apr-127.0.0.1-auto-13-62683"]
19-Sep-2013 00:16:28.796 SEVERE [http-apr-127.0.0.1-auto-13-Poller]
org.apache.tomcat.util.net.AprEndpoint$Poller.run Poller failed with
error [81] : [File descriptor in bad state]
19-Sep-2013 00:16:38.806 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-apr-127.0.0.1-auto-13-62683"]
19-Sep-2013 00:16:38.858 INFO [main]
org.apache.cata