Re: UTF-8 POST request results in corrupted data

2008-10-06 Thread Andre-John Mas
Thanks for the answer on this point. Reading section 3.7.1 of RFC 2616 indicates that request can specify a character other than the default. For this reason the following should technically be legal: What I see, from testing on my Mac, is that Firefox and Safari fail to pass the charset

Re: UTF-8 POST request results in corrupted data

2008-10-06 Thread William A. Rowe, Jr.
Andre-John Mas wrote: > Just to repeat what I stated in the ticket: > > The problem I have with the suggested approach is that it treats UTF-8 > as an > exception, rather that a norm for my whole application server. I am not > sure > that I should be having to be specifying the encoding before han

Re: UTF-8 POST request results in corrupted data

2008-10-06 Thread Andre-John Mas
Just to repeat what I stated in the ticket: The problem I have with the suggested approach is that it treats UTF-8 as an exception, rather that a norm for my whole application server. I am not sure that I should be having to be specifying the encoding before handling every request. For a we

DO NOT REPLY [Bug 45957] POST request-body permits only ISO-8859-1

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 --- Comment #4 from André-John Mas <[EMAIL PROTECTED]> 2008-10-06 17:56:06 PST --- The problem I have with the suggested approach is that it treats UTF-8 as an exception, rather that a norm for my whole application server. I am not sur

DO NOT REPLY [Bug 45957] POST request-body permits only ISO-8859-1

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 Will Rowe <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED R

Re: UTF-8 POST request results in corrupted data

2008-10-06 Thread Tim Funk
Before reading the POST body - you should first be doing this: request.setCharacterEncoding("UTF-8") -Tim André-John Mas wrote: Hi, I have opened issue 45957, for an issue that has bothered me for a while: https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 To resume: Currently in Tom

DO NOT REPLY [Bug 45957] POST request-body permits only ISO-8859-1

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 --- Comment #2 from André-John Mas <[EMAIL PROTECTED]> 2008-10-06 14:20:44 PST --- Confirmed, I do mean the entity body, as URIencoding already exists for the request-URI. Thanks. -- Configure bugmail: https://issues.apache.org/bugz

DO NOT REPLY [Bug 45957] POST request-body permits only ISO-8859-1

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 Will Rowe <[EMAIL PROTECTED]> changed: What|Removed |Added Summary|UTF-8 POST request results |POST request-body p

Re: In-process connector?

2008-10-06 Thread Costin Manolache
About how to word the question for tomcat-dev: "Hi, I'm interested in developing an 'in-process' feature if it's not already there, will start sending out patches " :-) BTW - there is also an 'in-memory' connector in coyote, not sure what's his status - but it can be easily enhanced. You actually

Re: In-process connector?

2008-10-06 Thread Jess Holle
Cool. Thanks for the helpful reply. I just wish I could have figured out how to word my question better so as to elicit this helpful information to start with -- instead of getting told I was posting to the wrong group and chasing my tail with it. -- Jess Holle Costin Manolache wrote: Well

UTF-8 POST request results in corrupted data

2008-10-06 Thread André-John Mas
Hi, I have opened issue 45957, for an issue that has bothered me for a while: https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 To resume: Currently in Tomcat 5 if a request is received containing UTF-8 content then any accents or non-Roman characters are corrupted, since there is an ass

DO NOT REPLY [Bug 45957] New: UTF-8 POST request results in corrupted data

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45957 Summary: UTF-8 POST request results in corrupted data Product: Tomcat 5 Version: 5.5.27 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P

Re: In-process connector?

2008-10-06 Thread Costin Manolache
Well, there is interest - the tomcat-lite in the sandbox does allow that ( there is even a TomcatLiteNoConnector unit test ). The code is broken right now - in process of moving part of it to trunk and adjusting it to be easier to digest. Will take quite a while before it's ready for an official r

DO NOT REPLY [Bug 42419] Options for changing jsessionid cookie name

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42419 --- Comment #7 from Mark Thomas <[EMAIL PROTECTED]> 2008-10-06 11:41:50 PST --- A broader patch has been proposed for 5.5.x that additionally: - makes the path name parameter configurable - provides documentation -- Configure bugmail

DO NOT REPLY [Bug 45951] Provide support for renaming JSESSIONID

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45951 --- Comment #1 from Mark Thomas <[EMAIL PROTECTED]> 2008-10-06 11:41:10 PST --- A broader patch has been committed that additionally: - makes the path name parameter configurable - provides documentation This has been committed to trun

svn commit: r702222 - /tomcat/current/tc5.5.x/STATUS.txt

2008-10-06 Thread markt
Author: markt Date: Mon Oct 6 11:40:14 2008 New Revision: 70 URL: http://svn.apache.org/viewvc?rev=70&view=rev Log: Propose fix for 42419 Modified: tomcat/current/tc5.5.x/STATUS.txt Modified: tomcat/current/tc5.5.x/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/current/tc5.5.x

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

2008-10-06 Thread markt
Author: markt Date: Mon Oct 6 11:39:25 2008 New Revision: 702221 URL: http://svn.apache.org/viewvc?rev=702221&view=rev Log: Propose fix for 45951 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/STATU

Re: Ability to rename JSESSIONID to something else

2008-10-06 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: very true, didn't realize so many places referenced it, however, this gets confusing -public static final String SESSION_COOKIE_NAME = "JSESSIONID"; +public static final String SESSION_COOKIE_NAME = +System.getProperty("org.apache.catalina.JSESSION

svn commit: r702219 - in /tomcat/trunk: java/org/apache/catalina/Globals.java java/org/apache/catalina/authenticator/Constants.java java/org/apache/jasper/Constants.java webapps/docs/config/systemprop

2008-10-06 Thread markt
Author: markt Date: Mon Oct 6 11:25:55 2008 New Revision: 702219 URL: http://svn.apache.org/viewvc?rev=702219&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45951 Based on jfclere's patch Modified: tomcat/trunk/java/org/apache/catalina/Globals.java tomcat/trunk/java

DO NOT REPLY [Bug 42419] Options for changing jsessionid cookie name

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42419 André-John Mas <[EMAIL PROTECTED]> changed: What|Removed |Added Attachment #22672|application/octet-stream|text/plain

Re: Ability to rename JSESSIONID to something else

2008-10-06 Thread André-John Mas
On Mon, Oct 6, 2008 at 1:54 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > very true, didn't realize so many places referenced it, however, this gets > confusing > > -public static final String SESSION_COOKIE_NAME = "JSESSIONID"; > +public static final String SESSION_COOKIE_NAME =

Re: In-process connector?

2008-10-06 Thread Jess Holle
Having looked into this further it seems clear Tomcat is not designed to provide any reasonably reliable / easy-to-use means of making a JSP or servlet request from within the process but outside a connector request thread. If one wants to properly do this it would appear one has to call org.a

Re: Ability to rename JSESSIONID to something else

2008-10-06 Thread Filip Hanik - Dev Lists
very true, didn't realize so many places referenced it, however, this gets confusing -public static final String SESSION_COOKIE_NAME = "JSESSIONID"; +public static final String SESSION_COOKIE_NAME = +System.getProperty("org.apache.catalina.JSESSIONID", "JSESSIONID"); /**

Re: Ability to rename JSESSIONID to something else

2008-10-06 Thread Mark Thomas
Filip Hanik - Dev Lists wrote: > I don't see an issue with that patch, looks good to me http://people.apache.org/~jfclere/patches/jsessionid.patch is more complete but as Remy pointed out it has a couple of issues. As it happens, I am looking at this now. I'll commit something to trunk and then p

DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added CC||[EMAIL PROTECTED]

DO NOT REPLY [Bug 42681] FarmWarDeployer

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42681 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED

Re: Ability to rename JSESSIONID to something else

2008-10-06 Thread Filip Hanik - Dev Lists
I don't see an issue with that patch, looks good to me Filip André-John Mas wrote: Hi, We have recently encountered an issue where running two separate Tomcat instances behind a single HTTPD server would cause issues with the JSESSIONID cookie, because each is over-writing the name of the othe

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

2008-10-06 Thread markt
Author: markt Date: Mon Oct 6 10:33:24 2008 New Revision: 702209 URL: http://svn.apache.org/viewvc?rev=702209&view=rev Log: Propose patch 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?re

svn commit: r702208 - /tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

2008-10-06 Thread markt
Author: markt Date: Mon Oct 6 10:30:44 2008 New Revision: 702208 URL: http://svn.apache.org/viewvc?rev=702208&view=rev Log: Handle nested contexts when foo#bar.xml exists Bug reported on users list Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Modified: tomcat/t

Ability to rename JSESSIONID to something else

2008-10-06 Thread André-John Mas
Hi, We have recently encountered an issue where running two separate Tomcat instances behind a single HTTPD server would cause issues with the JSESSIONID cookie, because each is over-writing the name of the other. Having looked in Bugzilla I found the following ticket for Tomcat 5: https://issues

svn commit: r702160 - /tomcat/connectors/trunk/jk/native/common/jk_shm.c

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 07:28:20 2008 New Revision: 702160 URL: http://svn.apache.org/viewvc?rev=702160&view=rev Log: Implement global shared memory lock for IIS. With IIS 6+ we don't have a single process any more Modified: tomcat/connectors/trunk/jk/native/common/jk_shm.c Modified:

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

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 06:59:16 2008 New Revision: 702148 URL: http://svn.apache.org/viewvc?rev=702148&view=rev Log: Make retry_interval stored in shared memory and synced on push/pull Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c tomcat/connectors/trunk/jk/na

DO NOT REPLY [Bug 45015] Quoting in attributes

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|REOPENED|RESOLVED

Re: svn commit: r701754 - in /tomcat/connectors/trunk/jk: native/common/ xdocs/miscellaneous/ xdocs/reference/

2008-10-06 Thread Eiji Takahashi
On Mon, Oct 6, 2008 at 4:56 PM, Mladen Turk <[EMAIL PROTECTED]> wrote: > Eiji Takahashi wrote: >> >> Hi. >> >> I think that retry_interval can be set also with LB. >> Is it correct? >> >>> +>> required="false"> >> > > Sure, it's a work in progress. > Thanks for keeping an eye. > Thank you for the

DO NOT REPLY [Bug 43656] ELSupport.coerceToType modifies BigDecimal Values

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43656 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added CC||[EMAIL PROTECTED]

DO NOT REPLY [Bug 45953] ELSupport.coerceToNumber with Number as type

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45953 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED

DO NOT REPLY [Bug 45953] New: ELSupport.coerceToNumber with Number as type

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45953 Summary: ELSupport.coerceToNumber with Number as type Product: Tomcat 6 Version: 6.0.18 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Prior

DO NOT REPLY [Bug 45015] Quoting in attributes

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 Sam <[EMAIL PROTECTED]> changed: What|Removed |Added CC||[EMAIL PROTECTED]

svn commit: r702108 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 04:38:37 2008 New Revision: 702108 URL: http://svn.apache.org/viewvc?rev=702108&view=rev Log: Add retry_interval to lb as well Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c URL: ht

svn commit: r702101 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 04:20:52 2008 New Revision: 702101 URL: http://svn.apache.org/viewvc?rev=702101&view=rev Log: Add Retry Interval display and update Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c URL

svn commit: r702090 - in /tomcat/connectors/trunk/jk/native/iis: Makefile.amd64 Makefile.ia64

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 03:56:33 2008 New Revision: 702090 URL: http://svn.apache.org/viewvc?rev=702090&view=rev Log: Allow build provided CFLAGS environment variable usage during build. Eg. set CFLAGS="/D ISAPI_ALLOW_CHUNKING" nmake -f Makefile.x86 Modified: tomcat/connectors/trunk/j

svn commit: r702085 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

2008-10-06 Thread mturk
Author: mturk Date: Mon Oct 6 03:31:33 2008 New Revision: 702085 URL: http://svn.apache.org/viewvc?rev=702085&view=rev Log: Bring back the commented RECOVER_ABORT_IF_CLIENTERROR. Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Modified: tomcat/connectors/trunk/jk/native/c

Re: svn commit: r701754 - in /tomcat/connectors/trunk/jk: native/common/ xdocs/miscellaneous/ xdocs/reference/

2008-10-06 Thread Mladen Turk
Eiji Takahashi wrote: Hi. I think that retry_interval can be set also with LB. Is it correct? + Sure, it's a work in progress. Thanks for keeping an eye. Regards -- ^(TM) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

DO NOT REPLY [Bug 42554] mod_ssl + mod_jk with status_worker does not work on a single node cluster.

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42554 --- Comment #9 from oscar <[EMAIL PROTECTED]> 2008-10-06 00:33:40 PST --- Hi, I think issue is not solved yet. Please, ask for all information you need in order to fix this issue. Due to it, we could not activate the ssl layer in a

DO NOT REPLY [Bug 42554] mod_ssl + mod_jk with status_worker does not work on a single node cluster.

2008-10-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42554 oscar <[EMAIL PROTECTED]> changed: What|Removed |Added Status|CLOSED |REOPENED Resol