[Bug 55217] New: Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 Bug ID: 55217 Summary: Common EntityResolver that can be used by Catalina and Jasper Product: Tomcat 8 Version: trunk Hardware: All OS: All

[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 --- Comment #1 from Jeremy Boynes jboy...@apache.org --- Created attachment 30570 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30570action=edit Implementation of an EntityResolver2 that loads local resources Also includes

[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 --- Comment #2 from Jeremy Boynes jboy...@apache.org --- I added the base Class as DigesterFactory and Jasper's MyEntityResolver may be coming from different ClassLoaders which in an OSGI world may have a different version of

Bugzilla component for Tomcat-Utils?

2013-07-09 Thread Jeremy Boynes
Is it worth adding one for tomcat-util to be distinct from Catalina and Jasper? - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

[Bug 55218] New: Upgrade Digester to be based on DefaultHandler2 and use LexicalHandler to detect publicId

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55218 Bug ID: 55218 Summary: Upgrade Digester to be based on DefaultHandler2 and use LexicalHandler to detect publicId Product: Tomcat 8 Version: trunk Hardware: PC

[Bug 55219] New: Simplify version detection in WebXml

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55219 Bug ID: 55219 Summary: Simplify version detection in WebXml Product: Tomcat 8 Version: trunk Hardware: All OS: All Status: NEW Severity:

[Bug 55220] New: Tomcat adding trailing slash when directory exists

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55220 Bug ID: 55220 Summary: Tomcat adding trailing slash when directory exists Product: Tomcat 7 Version: 7.0.41 Hardware: PC OS: Linux Status: NEW

[Bug 55220] Tomcat adding trailing slash when directory exists

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55220 japgo...@gmail.com changed: What|Removed |Added CC||japgo...@gmail.com ---

Re: buildbot failure in ASF Buildbot on tomcat-trunk

2013-07-09 Thread Mark Thomas
On 09/07/2013 06:39, Violeta Georgieva wrote: 2013/7/9 Konstantin Kolinko wrote: 2013/7/9 build...@apache.org: 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/4625

[Bug 55220] Tomcat adding trailing slash when directory exists

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55220 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

svn commit: r1501139 - in /tomcat/trunk: java/org/apache/tomcat/util/descriptor/LocalResolver.java java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java test/org/apache/tomcat/util/descriptor/Tes

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 08:51:17 2013 New Revision: 1501139 URL: http://svn.apache.org/r1501139 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 Implement a common EntityResolver that can be used by Catalina and Jasper. Patch provided by Jeremy Boynes. Added:

[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

svn commit: r1501143 - in /tomcat/trunk/java/org/apache/tomcat/util/descriptor/web: LocalStrings.properties WebXml.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 09:01:11 2013 New Revision: 1501143 URL: http://svn.apache.org/r1501143 Log: Consistency Modified: tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/LocalStrings.properties tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/WebXml.java

svn commit: r1501154 - in /tomcat/trunk: java/org/apache/catalina/startup/DigesterFactory.java java/org/apache/catalina/util/SchemaResolver.java webapps/docs/changelog.xml

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 09:21:40 2013 New Revision: 1501154 URL: http://svn.apache.org/r1501154 Log: Switch to using new LocalResolver. Based on a patch by Jeremy Boynes. Removed: tomcat/trunk/java/org/apache/catalina/util/SchemaResolver.java Modified:

svn commit: r1501159 - in /tomcat/trunk/java/org/apache: catalina/ant/ValidatorTask.java catalina/startup/ContextConfig.java catalina/startup/DigesterFactory.java catalina/startup/TldConfig.java tomca

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 09:25:47 2013 New Revision: 1501159 URL: http://svn.apache.org/r1501159 Log: Move DigesterFactory to new o.a.t.u.descriptor package since JspC will eventually need to use it. Added: tomcat/trunk/java/org/apache/tomcat/util/descriptor/DigesterFactory.java

svn commit: r1501176 - in /tomcat/trunk: java/org/apache/catalina/core/ java/org/apache/tomcat/util/descriptor/web/ java/org/apache/tomcat/util/digester/ test/javax/servlet/resources/ test/org/apache/

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 10:07:23 2013 New Revision: 1501176 URL: http://svn.apache.org/r1501176 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55218 and https://issues.apache.org/bugzilla/show_bug.cgi?id=55219 Upgrade digester to use DefaultHandler2 and use LexicalHandler to

[Bug 55218] Upgrade Digester to be based on DefaultHandler2 and use LexicalHandler to detect publicId

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55218 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 55219] Simplify version detection in WebXml

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55219 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 55171] [jsr 356] All server threads become blocked after some websocket testing

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55171 --- Comment #7 from Stoyan Boshev s.bos...@gmail.com --- The SocketProcessor.status for those threads that are blocked at line 1542 of NioEndpoint is OPEN_READ. -- You are receiving this mail because: You are the assignee for the bug.

svn commit: r1501179 - /tomcat/trunk/java/org/apache/catalina/startup/Constants.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 10:10:29 2013 New Revision: 1501179 URL: http://svn.apache.org/r1501179 Log: Removed unused constants. Modified: tomcat/trunk/java/org/apache/catalina/startup/Constants.java Modified: tomcat/trunk/java/org/apache/catalina/startup/Constants.java URL:

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

2013-07-09 Thread olamy
Author: olamy Date: Tue Jul 9 10:17:04 2013 New Revision: 1501183 URL: http://svn.apache.org/r1501183 Log: [MTOMCAT-231] tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6 Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL:

[jira] [Closed] (MTOMCAT-231) tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6

2013-07-09 Thread *$^¨%`£
[ https://issues.apache.org/jira/browse/MTOMCAT-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-231. -- Resolution: Fixed Fix Version/s: 2.2 fixed. BTW you can change the

buildbot failure in ASF Buildbot on tomcat-trunk

2013-07-09 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/4628 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

svn commit: r1501195 - in /tomcat/trunk: java/org/apache/catalina/startup/ java/org/apache/tomcat/util/descriptor/web/ test/javax/servlet/resources/ test/org/apache/catalina/startup/ test/org/apache/t

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 10:41:35 2013 New Revision: 1501195 URL: http://svn.apache.org/r1501195 Log: Move WebRuleSet to new o.a.t.u.descriptor.web package Added: tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/LocalStrings_es.properties (with props)

buildbot success in ASF Buildbot on tomcat-trunk

2013-07-09 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/4629 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build

[jira] [Commented] (MTOMCAT-231) tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6

2013-07-09 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/MTOMCAT-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703169#comment-13703169 ] Hudson commented on MTOMCAT-231: Integrated in TomcatMavenPlugin-mvn3.x #252 (See

svn commit: r1501266 - in /tomcat/trunk: java/javax/el/MapELResolver.java test/javax/el/TestMapELResolver.java

2013-07-09 Thread violetagg
Author: violetagg Date: Tue Jul 9 13:59:07 2013 New Revision: 1501266 URL: http://svn.apache.org/r1501266 Log: javax.el.MapELResolver: 1. According to javadoc when creating FeatureDescriptors - ShortDescription must be empty string - ELResolver.RESOLVABLE_AT_DESIGN_TIME must be TRUE 2. Unit

svn commit: r1501280 - in /tomcat/trunk/java/org/apache: catalina/startup/ tomcat/util/descriptor/ tomcat/util/descriptor/web/

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:10:04 2013 New Revision: 1501280 URL: http://svn.apache.org/r1501280 Log: Refactor WebXml parsing to new package. Based on a patch by violetagg. Added: tomcat/trunk/java/org/apache/tomcat/util/descriptor/Constants.java (with props)

svn commit: r1501296 - /tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/WebXml.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:39:55 2013 New Revision: 1501296 URL: http://svn.apache.org/r1501296 Log: Change the default Modified: tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/WebXml.java Modified: tomcat/trunk/java/org/apache/tomcat/util/descriptor/web/WebXml.java URL:

svn commit: r1501302 - in /tomcat/trunk/java/org/apache/jasper/compiler: JspConfig.java TldLocationsCache.java WebXml.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:48:01 2013 New Revision: 1501302 URL: http://svn.apache.org/r1501302 Log: Re-apply r1377509 - the fix for bug 53737 that did not account for JspC Removed: tomcat/trunk/java/org/apache/jasper/compiler/WebXml.java Modified:

svn commit: r1501303 - in /tomcat/trunk/java/org/apache/jasper: JspC.java compiler/ParserController.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:48:24 2013 New Revision: 1501303 URL: http://svn.apache.org/r1501303 Log: Fix Eclipse warnings Modified: tomcat/trunk/java/org/apache/jasper/JspC.java tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java Modified:

svn commit: r1501304 - /tomcat/trunk/java/org/apache/jasper/JspC.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:48:40 2013 New Revision: 1501304 URL: http://svn.apache.org/r1501304 Log: Clean-up. Extracted from a patch by Jeremy Boynes. Modified: tomcat/trunk/java/org/apache/jasper/JspC.java Modified: tomcat/trunk/java/org/apache/jasper/JspC.java URL:

[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 --- Comment #4 from Jeremy Boynes jboy...@apache.org --- Created attachment 30571 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30571action=edit Simpler DigesterFactory with base Class With the base class added, the urlFor is

svn commit: r1501305 - in /tomcat/trunk: java/org/apache/catalina/core/ java/org/apache/catalina/startup/ java/org/apache/jasper/ java/org/apache/jasper/servlet/ java/org/apache/tomcat/util/descriptor

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 14:49:28 2013 New Revision: 1501305 URL: http://svn.apache.org/r1501305 Log: Fully fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53737 Enable Jasper to use information from the ServletContext rather than having to re-parse web.xml This commit re-adds the

[Bug 53737] Use ServletContext.getJspConfigDescriptor() in Jasper instead of XML-parsing of merged web.xml

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53737 --- Comment #6 from Mark Thomas ma...@apache.org --- This has been partially fixed using a combination of the original fix, the patches here and patches from violetagg. web-fragment and annotations are still TODO so the code is effectively

[Bug 55221] [websocket] Session is closed without notification

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55221 Stoyan Boshev s.bos...@gmail.com changed: What|Removed |Added OS||All --- Comment

svn commit: r1501310 - /tomcat/trunk/java/org/apache/tomcat/util/descriptor/DigesterFactory.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 15:02:15 2013 New Revision: 1501310 URL: http://svn.apache.org/r1501310 Log: Simplify. Use DigesterFactory as base for loading resources for consistency with earlier versions. Patch provided by Jeremy Boynes. Modified:

[Bug 55217] Common EntityResolver that can be used by Catalina and Jasper

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55217 --- Comment #5 from Mark Thomas ma...@apache.org --- Thanks. Applied. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail:

buildbot failure in ASF Buildbot on tomcat-trunk

2013-07-09 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/4632 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

svn commit: r1501341 - /tomcat/trunk/test/org/apache/tomcat/util/descriptor/web/TestWebXml.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 15:43:33 2013 New Revision: 1501341 URL: http://svn.apache.org/r1501341 Log: Update default version in test. Modified: tomcat/trunk/test/org/apache/tomcat/util/descriptor/web/TestWebXml.java Modified:

Re: Bugzilla component for Tomcat-Utils?

2013-07-09 Thread Rainer Jung
On 09.07.2013 09:20, Jeremy Boynes wrote: Is it worth adding one for tomcat-util to be distinct from Catalina and Jasper? Done: added Component Util to Tomcat 8. Regards, Rainer - To unsubscribe, e-mail:

Re: Bugzilla component for Tomcat-Utils?

2013-07-09 Thread Rainer Jung
On 09.07.2013 09:20, Jeremy Boynes wrote: Is it worth adding one for tomcat-util to be distinct from Catalina and Jasper? Done: added Component Util to Tomcat 8. Regards, Rainer - To unsubscribe, e-mail:

[Bug 55171] [jsr 356] All server threads become blocked after some websocket testing

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55171 --- Comment #8 from Mark Thomas ma...@apache.org --- OK. Not what I was expecting but thanks for the information. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 55171] [jsr 356] All server threads become blocked after some websocket testing

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55171 --- Comment #9 from Mark Thomas ma...@apache.org --- I'm not sure how it ended up this way (I cleary wasn't paying attention to this particular refactoring) but we have timeouts for non-blocking / async messages but not for blocking / sync

svn commit: r1501478 - in /tomcat/tc7.0.x/trunk: ./ java/javax/el/MapELResolver.java test/javax/el/TestMapELResolver.java webapps/docs/changelog.xml

2013-07-09 Thread violetagg
Author: violetagg Date: Tue Jul 9 19:25:22 2013 New Revision: 1501478 URL: http://svn.apache.org/r1501478 Log: Merged revision 1501266 from tomcat/trunk: javax.el.MapELResolver: 1. According to javadoc when creating FeatureDescriptors - ShortDescription must be empty string -

[Bug 55171] [jsr 356] All server threads become blocked after some websocket testing

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55171 --- Comment #10 from Mark Thomas ma...@apache.org --- I've added a default timeout of 5s to all blocking writes to trunk. That should resolve the issues you see. If you could repeat your test and report back that would be very helpful. --

svn commit: r1501530 - in /tomcat/trunk/java/org/apache/tomcat/websocket: AsyncChannelWrapperSecure.java LocalStrings.properties

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 20:21:35 2013 New Revision: 1501530 URL: http://svn.apache.org/r1501530 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55221 Shorten message and make it more useful. Modified:

[Bug 55221] [websocket] Session is closed without notification

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55221 --- Comment #2 from Mark Thomas ma...@apache.org --- I've fixed the immediate issue in trunk and provided some more information in the message. I'll look into truncating overly long close reasons. -- You are receiving this mail because:

svn commit: r1501548 - in /tomcat/trunk: java/org/apache/tomcat/websocket/WsSession.java test/org/apache/tomcat/websocket/TestWsSession.java

2013-07-09 Thread markt
Author: markt Date: Tue Jul 9 21:01:37 2013 New Revision: 1501548 URL: http://svn.apache.org/r1501548 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55221 Truncate excessively long clean reasons before sending as control messages are strictly limited in length. Added:

[Bug 55221] [websocket] Session is closed without notification

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55221 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 55220] Tomcat adding trailing slash when directory exists

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55220 --- Comment #3 from japgo...@gmail.com --- My servlet is mapped to /* so shouldn't that pickup /foo? When you say the rules for welcome files will be applied can you help me understand where/how that happens? Ideally I'd like a way to

[Bug 55228] New: AbstractHttp11Processor overwrites Date header, even when set by application

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55228 Bug ID: 55228 Summary: AbstractHttp11Processor overwrites Date header, even when set by application Product: Tomcat 6 Version: 6.0.37 Hardware: All

[Bug 55228] AbstractHttp11Processor overwrites Date header, even when set by application

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55228 --- Comment #1 from f...@alum.mit.edu f...@alum.mit.edu --- I opened this bug against Tomcat6 since that is what we're using, but this bug exists on all Tomcat7, as well, and most likely Tomcat8. I'm not sure how to deal with that.

[Bug 55228] AbstractHttp11Processor overwrites Date header, even when set by application

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55228 f...@alum.mit.edu f...@alum.mit.edu changed: What|Removed |Added CC|

[Bug 55231] NPE and incorrect version detection in JspC

2013-07-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55231 --- Comment #1 from Jeremy Boynes jboy...@apache.org --- Created attachment 30574 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30574action=edit Patch extracted from 53737 that fixes these Extracted changes to JspConfig from