[Bug 55144] New: NIO connection locked when trying to release it

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55144 Bug ID: 55144 Summary: NIO connection locked when trying to release it Product: Tomcat 7 Version: 7.0.41 Hardware: PC Status: NEW Severity: major

svn commit: r1496809 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/AsyncContextImpl.java test/org/apache/catalina/core/TestAsyncContextImpl.java webapps/docs/changelog.xml

2013-06-26 Thread violetagg
Author: violetagg Date: Wed Jun 26 07:48:36 2013 New Revision: 1496809 URL: http://svn.apache.org/r1496809 Log: Merged revisions 1496732, 1496734 from tomcat/trunk: When AsyncContext.dispatch(...) is invoked do not cast request and response to HttpServletRequest/HttpServletResponse.

svn commit: r1496844 - in /tomcat/jk/trunk/native/common: jk_ajp_common.c jk_ajp_common.h

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 09:08:54 2013 New Revision: 1496844 URL: http://svn.apache.org/r1496844 Log: - Use defined constants in ping mode config parsing. - Fix handling of default values in ping mode config parsing. - Provide utility function to map ping mode numeric value to text

svn commit: r1496851 - in /tomcat/trunk/java/org/apache/tomcat/websocket: LocalStrings.properties MessageHandlerResult.java MessageHandlerResultType.java Util.java WsSession.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 09:19:02 2013 New Revision: 1496851 URL: http://svn.apache.org/r1496851 Log: Refactoring in support of fixing BZ 55143 Added: tomcat/trunk/java/org/apache/tomcat/websocket/MessageHandlerResult.java

svn commit: r1496852 - /tomcat/jk/trunk/native/common/jk_util.c

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 09:20:47 2013 New Revision: 1496852 URL: http://svn.apache.org/r1496852 Log: - Save stack bytes: reduce param buffer from 1024 bytes to 100 bytes and check remaining length when doing buffer operations. We should document and check the resulting estriction

svn commit: r1496858 - /tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 09:39:01 2013 New Revision: 1496858 URL: http://svn.apache.org/r1496858 Log: Update changelog. Modified: tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml Modified: tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml URL:

[jira] [Created] (MTOMCAT-229) Release 2.2

2013-06-26 Thread Francois Wauquier (JIRA)
Francois Wauquier created MTOMCAT-229: - Summary: Release 2.2 Key: MTOMCAT-229 URL: https://issues.apache.org/jira/browse/MTOMCAT-229 Project: Apache Tomcat Maven Plugin Issue Type: Bug

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-26 Thread Rainer Jung
Hi Henri, On 25.06.2013 22:11, Henri Gomez wrote: Hi Christopher I don't have access to code inside application, I'm using stock Sonatype Nexus OSS who use Shiro internally to manage (and regenetate JSESSIONID cookie), loosing jvmRoute contents. See

svn commit: r1496889 - in /tomcat/trunk/java/org/apache/tomcat/websocket: LocalStrings.properties Util.java WsSession.java pojo/PojoMessageHandlerWholeBinary.java pojo/PojoMessageHandlerWholeText.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 11:54:31 2013 New Revision: 1496889 URL: http://svn.apache.org/r1496889 Log: Further refactoring towards a fix for BZ 55143 Modified: tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties

svn commit: r1496892 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 12:03:06 2013 New Revision: 1496892 URL: http://svn.apache.org/r1496892 Log: Note expectations Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java URL:

svn commit: r1496897 - /tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 12:06:45 2013 New Revision: 1496897 URL: http://svn.apache.org/r1496897 Log: Extract decoder use flag to a field (will use it later) Modified: tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java Modified:

[Bug 55143] Unable to add programmatic message handler to an endpoint with custom decoder

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55143 --- Comment #7 from Mark Thomas ma...@apache.org --- The WAR is helpful, but any chance you could convert your WAR to Tomcat unit test? The more cases the unit test or tests can cover the better. The ideal would be once that includes cover

svn commit: r1496905 - in /tomcat/trunk: java/org/apache/tomcat/websocket/ java/org/apache/tomcat/websocket/pojo/ test/org/apache/tomcat/websocket/

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 12:36:58 2013 New Revision: 1496905 URL: http://svn.apache.org/r1496905 Log: More work for BZ 55143 Add support for byte[], InopuStream and Reader message handlers Modified: tomcat/trunk/java/org/apache/tomcat/websocket/Util.java

[Bug 55143] Unable to add programmatic message handler to an endpoint with custom decoder

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55143 --- Comment #8 from Niki Dokovski nick...@gmail.com --- yep I'll prepare a change -- You are receiving this mail because: You are the assignee for the bug. - To

svn commit: r1496907 - in /tomcat/trunk/java/org/apache/tomcat/websocket: WsSession.java pojo/PojoMessageHandlerBase.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 12:45:47 2013 New Revision: 1496907 URL: http://svn.apache.org/r1496907 Log: BZ 55143 Handle removal of listeners that might have been wrapped Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsSession.java

svn commit: r1496909 - in /tomcat/trunk/java/org/apache/tomcat/websocket: DecoderEntry.java Util.java pojo/PojoMethodMapping.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 12:50:37 2013 New Revision: 1496909 URL: http://svn.apache.org/r1496909 Log: Refactor - move DecoderEntry to new file Added: tomcat/trunk/java/org/apache/tomcat/websocket/DecoderEntry.java (with props) Modified:

[Bug 55143] Unable to add programmatic message handler to an endpoint with custom decoder

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55143 --- Comment #9 from Mark Thomas ma...@apache.org --- Thanks. Current trunk should have fixed this now. I'll leave the issue open until your test case is complete. -- You are receiving this mail because: You are the assignee for the bug.

svn commit: r1496923 - /tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 13:14:44 2013 New Revision: 1496923 URL: http://svn.apache.org/r1496923 Log: Reduce decoder scanning Modified: tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java Modified:

buildbot failure in ASF Buildbot on tomcat-trunk

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

svn commit: r1496936 - in /tomcat/trunk/test/org/apache/tomcat/websocket/pojo: TestEncodingDecoding.java TestPojoEndpointBase.java TestPojoMethodMapping.java TesterUtil.java Util.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 13:43:52 2013 New Revision: 1496936 URL: http://svn.apache.org/r1496936 Log: Rename for consistency Added: tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TesterUtil.java - copied, changed from r1496910,

svn commit: r1496942 - in /tomcat/trunk: java/org/apache/tomcat/websocket/ java/org/apache/tomcat/websocket/pojo/ test/org/apache/tomcat/websocket/

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 14:15:08 2013 New Revision: 1496942 URL: http://svn.apache.org/r1496942 Log: Add message size limit support for message handlers Added: tomcat/trunk/java/org/apache/tomcat/websocket/WrappedMessageHandler.java (with props) Modified:

[Bug 55146] New: bin/version.sh reports false server number

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55146 Bug ID: 55146 Summary: bin/version.sh reports false server number Product: Tomcat 6 Version: 6.0.37 Hardware: Sun OS: SunOS Status: NEW Severity:

Re: Jasper improvements, was: Timeline for beginning EL 3.0 implementation?

2013-06-26 Thread Christopher Schultz
Jeremy, On 6/26/13 1:44 AM, Jeremy Boynes wrote: On Jun 11, 2013, at 1:50 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Okay. One of many reasons I ask is that I still have it on my to-do to make some improvements on the JSP compiler to support things like 1) precompiling all JSPs

[Bug 55146] bin/version.sh reports false server number

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55146 --- Comment #1 from Christopher Schultz ch...@christopherschultz.net --- Why do you think the server number should be 6.0.37.0? -- You are receiving this mail because: You are the assignee for the bug.

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-26 Thread Henri Gomez
You can configure the name of the session cookie in TC 6 and 7. I see sessionCookieName in http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ... So if in your case Tomcat would also set a cookie (in addition to the app) we wouldn't need anything else. Just switch TC to MYCOOKIE and

[Bug 55146] bin/version.sh reports false server number

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55146 --- Comment #2 from i...@inusasha.de --- Tomcat 6.0.35 have 6.0.35.0 Tomcat 6.0.36 have 6.0.36.0 Tomcat 7.0.40 have 7.0.40.0 Tomcat 7.0.41 have 7.0.41.0 So it looks like Server number is a extended version number. Sascha -- You are

buildbot success in ASF Buildbot on tomcat-trunk

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

[Bug 55146] bin/version.sh reports false server number

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55146 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Status|NEW

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-26 Thread Rainer Jung
On 26.06.2013 16:54, Henri Gomez wrote: You can configure the name of the session cookie in TC 6 and 7. I see sessionCookieName in http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ... So if in your case Tomcat would also set a cookie (in addition to the app) we wouldn't need

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-26 Thread Henri Gomez
I'll try it as soon as available. Thanks Rainer, Prince of Jk :-) Le 26 juin 2013 à 19:42, Rainer Jung rainer.j...@kippdata.de a écrit : On 26.06.2013 16:54, Henri Gomez wrote: You can configure the name of the session cookie in TC 6 and 7. I see sessionCookieName in

Re: Jasper improvements

2013-06-26 Thread Jeremy Boynes
On Jun 26, 2013, at 7:49 AM, Christopher Schultz ch...@christopherschultz.net wrote: Jeremy, On 6/26/13 1:44 AM, Jeremy Boynes wrote: On Jun 11, 2013, at 1:50 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Okay. One of many reasons I ask is that I still have it on my to-do to

Re: Jasper improvements

2013-06-26 Thread Nick Williams
On Jun 26, 2013, at 1:57 PM, Jeremy Boynes wrote: On Jun 26, 2013, at 7:49 AM, Christopher Schultz ch...@christopherschultz.net wrote: Jeremy, On 6/26/13 1:44 AM, Jeremy Boynes wrote: On Jun 11, 2013, at 1:50 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Okay. One of many

[Bug 55146] bin/version.sh reports false server number

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55146 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Resolution|INVALID

svn commit: r1497064 - in /tomcat/jk/trunk/native/common: jk_lb_worker.c jk_shm.h

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 19:58:39 2013 New Revision: 1497064 URL: http://svn.apache.org/r1497064 Log: Remove session_cookie and session_path from shm. It would only be needed if we wanted to change it dynamically, e.g. through the status worker. This is not implemented currently. Modified:

Re: Jasper improvements

2013-06-26 Thread Christopher Schultz
Jeremy, On 6/26/13 2:57 PM, Jeremy Boynes wrote: On Jun 26, 2013, at 7:49 AM, Christopher Schultz ch...@christopherschultz.net wrote: Jeremy, On 6/26/13 1:44 AM, Jeremy Boynes wrote: On Jun 11, 2013, at 1:50 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Okay. One of many

[Bug 54086] ConcurrentModificationException in NioReceiver on shutdown

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54086 Casey Lucas clu...@e-miles.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 54086] ConcurrentModificationException in NioReceiver on shutdown

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54086 --- Comment #3 from Casey Lucas clu...@e-miles.com --- Created attachment 30489 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30489action=edit fix for bug -- You are receiving this mail because: You are the assignee for the

[Bug 54086] ConcurrentModificationException in NioReceiver on shutdown

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54086 Casey Lucas clu...@e-miles.com changed: What|Removed |Added Version|7.0.30 |7.0.41 -- You

svn commit: r1497068 - in /tomcat/jk/trunk/native: apache-1.3/ apache-2.0/ common/ iis/

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 20:11:12 2013 New Revision: 1497068 URL: http://svn.apache.org/r1497068 Log: Add new configuration attributes and also mount extensions with the same names. Currently they don't do anything. Next step is implementing the following functionality: -

svn commit: r1497071 - in /tomcat/jk/trunk/native/common: jk_lb_worker.c jk_service.h

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 20:17:05 2013 New Revision: 1497071 URL: http://svn.apache.org/r1497071 Log: Add a flag to pass status, whether a request could be handled in a sticky way. Modified: tomcat/jk/trunk/native/common/jk_lb_worker.c tomcat/jk/trunk/native/common/jk_service.h

[Bug 54086] ConcurrentModificationException in NioReceiver on shutdown

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54086 --- Comment #4 from Casey Lucas clu...@e-miles.com --- Created attachment 30490 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30490action=edit fix for bug i inadvertently left in a printStackTrace on the original patch. use

[Bug 55144] NIO connection locked when trying to release it

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55144 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |NEEDINFO

svn commit: r1497079 - in /tomcat/jk/trunk/native/common: jk_ajp_common.c jk_lb_worker.c jk_service.h

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 20:25:47 2013 New Revision: 1497079 URL: http://svn.apache.org/r1497079 Log: Add ability to set additional response headers which do not come from the backend. Use them to set a cookie if set_session_cookie is true and we didn't get a session cookie, or couldn't

[Bug 55144] NIO connection locked when trying to release it

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55144 --- Comment #2 from Pavel pavel.re...@gmail.com --- here is my connection config: Connector address=1.1.1.1 connectionTimeout=2 port=80 protocol=org.apache.coyote.http11.Http11NioProtocol redirectPort=8443 maxThreads=500

svn commit: r1497091 - in /tomcat/jk/trunk/xdocs: miscellaneous/changelog.xml reference/uriworkermap.xml reference/workers.xml

2013-06-26 Thread rjung
Author: rjung Date: Wed Jun 26 20:54:26 2013 New Revision: 1497091 URL: http://svn.apache.org/r1497091 Log: Basic docs for the new cookie generation feature. Modified: tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml tomcat/jk/trunk/xdocs/reference/uriworkermap.xml

svn commit: r1497098 - in /tomcat/trunk/java/org/apache/tomcat/websocket/pojo: LocalStrings.properties PojoMethodMapping.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 21:09:11 2013 New Revision: 1497098 URL: http://svn.apache.org/r1497098 Log: WebSocket 1.0, Section 4.3 Invalid use of @PathParam should trigger a deployment error Modified: tomcat/trunk/java/org/apache/tomcat/websocket/pojo/LocalStrings.properties

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-26 Thread Rainer Jung
Hi Henri, you can find a dev snapshot at: http://people.apache.org/~rjung/mod_jk-dev/source/jk-1.2.38-dev/ You know those are not releases. The updated documentation is at: http://people.apache.org/~rjung/mod_jk-dev/docs/jk-1.2.38-dev/reference/workers.html look for set_session_cookie. I

svn commit: r1497124 - /tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMessageHandlerWholeText.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 21:51:01 2013 New Revision: 1497124 URL: http://svn.apache.org/r1497124 Log: Fix indent / format Modified: tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMessageHandlerWholeText.java Modified:

svn commit: r1497135 - /tomcat/trunk/java/org/apache/tomcat/websocket/Util.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 22:13:50 2013 New Revision: 1497135 URL: http://svn.apache.org/r1497135 Log: Fix wrong MessageHandler type for Reader Add support for message handlers for primitives Modified: tomcat/trunk/java/org/apache/tomcat/websocket/Util.java Modified:

svn commit: r1497136 - /tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 22:14:57 2013 New Revision: 1497136 URL: http://svn.apache.org/r1497136 Log: Rename prior to some more BZ 55143 related changes Modified: tomcat/trunk/java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java Modified:

svn commit: r1497142 - /tomcat/trunk/java/org/apache/tomcat/websocket/Util.java

2013-06-26 Thread markt
Author: markt Date: Wed Jun 26 22:23:04 2013 New Revision: 1497142 URL: http://svn.apache.org/r1497142 Log: Remove primitive support for MessageHandler - it is only required for @OnMessage Modified: tomcat/trunk/java/org/apache/tomcat/websocket/Util.java Modified:

[Bug 55150] New: Memory leak with tag-file

2013-06-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55150 Bug ID: 55150 Summary: Memory leak with tag-file Product: Tomcat 6 Version: unspecified Hardware: PC Status: NEW Severity: normal Priority: P2

Re: Jasper improvements

2013-06-26 Thread Jeremy Boynes
On Jun 26, 2013, at 12:10 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Jun 26, 2013, at 1:57 PM, Jeremy Boynes wrote: On Jun 26, 2013, at 7:49 AM, Christopher Schultz ch...@christopherschultz.net wrote: Jeremy, On 6/26/13 1:44 AM, Jeremy Boynes wrote: On Jun 11, 2013,

Re: Jasper improvements

2013-06-26 Thread Jeremy Boynes
On Jun 26, 2013, at 12:58 PM, Christopher Schultz ch...@christopherschultz.net wrote: On 6/26/13 2:57 PM, Jeremy Boynes wrote: You wrote in the bug that annotation's don't make sense - could you clarify that? Yes: I was thinking that generating classes that used annotations would be a