Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Unmesh Joshi
StrutsExecuteFilter is mapped to * struts2-execute /* SRV.15.2.5 explains RequestDispatcher as follows. It does not say u can (or can not) get request dispatcher for filters. But I think Filters do not match definition of 'Resource' in SRV. Resources are either servlets, jsps or stati

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Konstantin Kolinko
2010/4/17 Unmesh Joshi : > Yes. On tomcat u get dispatcher for DefaultServlet if there is no > servlet mapping for the url. Typically on Struts2 all the urls get > handled in StrutsExecuteFilter and u dont get dispatcher go that > filter. > > On Sat, Apr 17, 2010 at 7:11 AM, Konstantin Kolinko > w

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Unmesh Joshi
Yes. On tomcat u get dispatcher for DefaultServlet if there is no servlet mapping for the url. Typically on Struts2 all the urls get handled in StrutsExecuteFilter and u dont get dispatcher go that filter. On Sat, Apr 17, 2010 at 7:11 AM, Konstantin Kolinko wrote: > 2010/4/17 Unmesh Joshi : >>> F

svn commit: r935107 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-04-16 Thread kkolinko
Author: kkolinko Date: Sat Apr 17 02:09:09 2010 New Revision: 935107 URL: http://svn.apache.org/viewvc?rev=935107&view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=

svn commit: r935105 - in /tomcat/trunk/webapps/examples: WEB-INF/classes/chat/ChatServlet.java jsp/chat/chat.jsp jsp/chat/index.jsp jsp/chat/login.jsp jsp/chat/post.jsp

2010-04-16 Thread kkolinko
Author: kkolinko Date: Sat Apr 17 01:59:56 2010 New Revision: 935105 URL: http://svn.apache.org/viewvc?rev=935105&view=rev Log: Improve the ChatServlet comet example. 1. Fix possible deadlock in ChatServlet$MessageSender, similar to BZ 48843. 2. Properly wake up ChatServlet$MessageSender when the

DO NOT REPLY [Bug 49144] New: Incorrect lazy initialization and update of static fields?

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49144 Summary: Incorrect lazy initialization and update of static fields? Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW

DO NOT REPLY [Bug 49143] New: Possible incorrect lazy initialisations

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49143 Summary: Possible incorrect lazy initialisations Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Konstantin Kolinko
2010/4/17 Unmesh Joshi : >> Filters can be called for forwarded and included requests, if you map >> them in certain way (something like INCLUDE). >> See the Servlet spec for details.  SRV.6.2.5 > But you cant get dispatchers for filters. UrlRewriteFilter gets a > dispatcher (so rewrtten url must h

DO NOT REPLY [Bug 49142] Missing serialVersionUIDs

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49142 Sebb changed: What|Removed |Added Severity|normal |enhancement -- Configure bugmail: https://

DO NOT REPLY [Bug 49142] New: Missing serialVersionUIDs

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49142 Summary: Missing serialVersionUIDs Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Com

DO NOT REPLY [Bug 49141] New: Impossible cast in naming.factory.SendMailFactory.getObjectInstance

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49141 Summary: Impossible cast in naming.factory.SendMailFactory.getObjectInstance Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW

DO NOT REPLY [Bug 49140] New: Inefficient use of keySet() iterator in StandardContext.java

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49140 Summary: Inefficient use of keySet() iterator in StandardContext.java Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Unmesh Joshi
> Filters can be called for forwarded and included requests, if you map > them in certain way (something like INCLUDE). > See the Servlet spec for details.  SRV.6.2.5 But you cant get dispatchers for filters. UrlRewriteFilter gets a dispatcher (so rewrtten url must have a servlet or jsp handler).

Re: svn commit: r935092 - /tomcat/trunk/TOMCAT-7-RELEASE-PLAN.txt

2010-04-16 Thread sebb
On 16/04/2010, ma...@apache.org wrote: > Author: markt > Date: Fri Apr 16 22:39:55 2010 > New Revision: 935092 > > URL: http://svn.apache.org/viewvc?rev=935092&view=rev > Log: > More checking against the spec > > Modified: > tomcat/trunk/TOMCAT-7-RELEASE-PLAN.txt > > Modified: tomcat/tr

svn commit: r935092 - /tomcat/trunk/TOMCAT-7-RELEASE-PLAN.txt

2010-04-16 Thread markt
Author: markt Date: Fri Apr 16 22:39:55 2010 New Revision: 935092 URL: http://svn.apache.org/viewvc?rev=935092&view=rev Log: More checking against the spec Modified: tomcat/trunk/TOMCAT-7-RELEASE-PLAN.txt Modified: tomcat/trunk/TOMCAT-7-RELEASE-PLAN.txt URL: http://svn.apache.org/viewvc/tom

DO NOT REPLY [Bug 49072] NullPointerException in Request.removeAttribute

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49072 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r935077 - /tomcat/trunk/build.xml

2010-04-16 Thread markt
Author: markt Date: Fri Apr 16 20:41:11 2010 New Revision: 935077 URL: http://svn.apache.org/viewvc?rev=935077&view=rev Log: Get build working with relative base.path Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?r

svn commit: r935072 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-04-16 Thread kkolinko
Author: kkolinko Date: Fri Apr 16 20:34:13 2010 New Revision: 935072 URL: http://svn.apache.org/viewvc?rev=935072&view=rev Log: proposal Modified: tomcat/tc5.5.x/trunk/STATUS.txt Modified: tomcat/tc5.5.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=

svn commit: r935071 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-04-16 Thread kkolinko
Author: kkolinko Date: Fri Apr 16 20:32:13 2010 New Revision: 935071 URL: http://svn.apache.org/viewvc?rev=935071&view=rev Log: vote and proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS

Re: Proposal (cleanup): drop "org.apache.tomcat.util.collections" package (MultiMap class) in TC7

2010-04-16 Thread Mark Thomas
On 16/04/2010 17:34, Konstantin Kolinko wrote: > Hi! > > I propose to drop the "org.apache.tomcat.util.collections" package in > our trunk (TC7). +1 Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additio

Proposal (cleanup): drop "org.apache.tomcat.util.collections" package (MultiMap class) in TC7

2010-04-16 Thread Konstantin Kolinko
Hi! I propose to drop the "org.apache.tomcat.util.collections" package in our trunk (TC7). It contains the following classes: MultiMap MultiMapNamesEnumeration MultiMapValuesEnumeration Rationale: Cleanup. The implementation is incomplete, e.g. MultiMap$Field.name and .value fields are never ass

svn commit: r934968 - /tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java

2010-04-16 Thread kkolinko
Author: kkolinko Date: Fri Apr 16 15:44:51 2010 New Revision: 934968 URL: http://svn.apache.org/viewvc?rev=934968&view=rev Log: Remove unused dependency on o.a.t.util.collections.MultiMap. An indication here is that MultiMap$Field.name and .value fields are never assigned. Modified: tomcat/t

svn commit: r934936 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java

2010-04-16 Thread jfclere
Author: jfclere Date: Fri Apr 16 14:44:50 2010 New Revision: 934936 URL: http://svn.apache.org/viewvc?rev=934936&view=rev Log: Fix asyn with APR. Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcess

DO NOT REPLY [Bug 48843] Tomcat Acceptor Thread goes into wait() and it will never come back

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48843 --- Comment #6 from Konstantin Kolinko 2010-04-16 10:39:19 EDT --- The patch was applied to 5.5 in r934922, will be in 5.5.30 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are recei

svn commit: r934922 - in /tomcat/tc5.5.x/trunk: STATUS.txt connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java container/webapps/docs/changelog.xml

2010-04-16 Thread kkolinko
Author: kkolinko Date: Fri Apr 16 14:33:13 2010 New Revision: 934922 URL: http://svn.apache.org/viewvc?rev=934922&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48843 Prevent possible deadlock for worker allocation in APR connectors Modified: tomcat/tc5.5.x/trunk/STATUS.

[Tomcat Wiki] Trivial Update of "PoweredBy" by Bruno

2010-04-16 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "PoweredBy" page has been changed by Bruno. http://wiki.apache.org/tomcat/PoweredBy?action=diff&rev1=254&rev2=255 -- === MetaWe

DO NOT REPLY [Bug 49135] SPDY Connector for The Tomcat

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49135 jfclere changed: What|Removed |Added CC||jfcl...@gmail.com -- Configure bugmail:

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Konstantin Kolinko
2010/4/16 Unmesh Joshi : You have to create your own subclass of HttpServletRequestWrapper. >>>Note also, that the Servlet specification says something about >>>wrapping and unwrapping the requests and responses. > E.g., SRV.6.2.2, SRV.9.9.1 in the Servlet 2.5 specification. > > Servlet specifi

DO NOT REPLY [Bug 49132] JNDI not working

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49132 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 49135] New: SPDY Connector for The Tomcat

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49135 Summary: SPDY Connector for The Tomcat Product: Tomcat Connectors Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priorit

DO NOT REPLY [Bug 49134] Server.stop() doesn't unregister all MBeans

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49134 --- Comment #1 from Marc Guillemot 2010-04-16 05:33:11 EDT --- For info: same problem exists with Tomcat 6 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because:

DO NOT REPLY [Bug 49134] New: Server.stop() doesn't unregister all MBeans

2010-04-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49134 Summary: Server.stop() doesn't unregister all MBeans Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2

Re: setRequest method on HttpServletRequestWrapper

2010-04-16 Thread Unmesh Joshi
>>>You have to create your own subclass of HttpServletRequestWrapper. >>Note also, that the Servlet specification says something about >>wrapping and unwrapping the requests and responses. E.g., SRV.6.2.2, SRV.9.9.1 in the Servlet 2.5 specification. Servlet specification does not talk about overri