Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 22:38 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 8:20 AM, Rainer Jung wrote: Am 17.10.2016 um 12:35 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas wrote: A small hint. I'd expect those to be % encoded.

tomcat8 ClassCastException

2016-10-17 Thread musafir
Hi Apache Team, Got 2 tomcat hosting same web application. Tomcats are installed on dedicated centos(6.8) VMs. Everything was working fine in tomcat7 till upgrade to tomcat8(8.0.38). Now on one server, i am getting below error.. java.lang.ClassCastException: java.lang.String cannot be cast to

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Mark Juszczec
On Mon, Oct 17, 2016 at 8:20 AM, Rainer Jung wrote: > Am 17.10.2016 um 12:35 schrieb Mark Juszczec: > >> On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas wrote: >> >> >>> A small hint. I'd expect those to be % encoded. >>> >>> >> Thank you very much for

Re: Is UTF-8 used everywhere for Tomcat 8.5.6?

2016-10-17 Thread Konstantin Kolinko
/2016-10-17 19:59 GMT+03:00 R : > Hi, > > I have a default installation of Tomcat 8.5.6. When I make a POST request > with a tilde character, and the encoding is set to UTF-8, it seems that my > servlet handler is decoding it incorrectly. I have to set the character >

Re: how to write a valve

2016-10-17 Thread Mark Thomas
On 17/10/2016 16:53, André Warnier (tomcat) wrote: > In this case, the OP originally mentioned "add an attribute to the > request". > I have the feeling that the word "attribute" here was not very specific, > and in reality (since we are talking about an authentication method > "faking" another

Re: Is UTF-8 used everywhere for Tomcat 8.5.6?

2016-10-17 Thread Mark Thomas
On 17/10/2016 17:59, R wrote: > Hi, > > I have a default installation of Tomcat 8.5.6. When I make a POST request > with a tilde character, and the encoding is set to UTF-8, it seems that my > servlet handler is decoding it incorrectly. The tilde character should not need to be encoded. The byte

Re: Apache mod_jk connector question about alias

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 19:16 schrieb Marc Chamberlin: Hello - My apologies if this has already been asked or the wrong mail list, but Google is not coming up with an answer for me, so here goes... I am trying to set up the mod_jk connector between an Apache HTTPD server and Tomcat with the intent of

Apache mod_jk connector question about alias

2016-10-17 Thread Marc Chamberlin
Hello - My apologies if this has already been asked or the wrong mail list, but Google is not coming up with an answer for me, so here goes... I am trying to set up the mod_jk connector between an Apache HTTPD server and Tomcat with the intent of supporting virtual hosts, and serving static

Is UTF-8 used everywhere for Tomcat 8.5.6?

2016-10-17 Thread R
Hi, I have a default installation of Tomcat 8.5.6. When I make a POST request with a tilde character, and the encoding is set to UTF-8, it seems that my servlet handler is decoding it incorrectly. I have to set the character encoding on the HttpServletRequest parameter to decode properly,

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-17 Thread Tullio Bettinazzi
I monitored it using Yourkit profiler and I didn't see any extreme GC. I noticed anotehr thing : looking for 4 users which had the problem they seems to have the problem "in sequence". The first user "stops" for 4 seconds then another one "stops" and so on : they don't seem to stop at the sam

[ANN] Apache Tomcat 6.0.47 available

2016-10-17 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.47. Apache Tomcat is an open source software implementation of the Java Servlet, JavaServer Pages and Java Expression Language technologies. This release contains a number of bug fixes and improvements compared to

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-17 Thread tomcat
On 17.10.2016 17:52, Tullio Bettinazzi wrote: I didn't find any solution to my problem. Could someone provide suggestions or a strategy to find the solution ? "I don't see relevant garbage collection : heap size and permgen have correct dimentions." Define "correct". Are you really

Re: how to write a valve

2016-10-17 Thread tomcat
On 17.10.2016 16:57, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 10/14/16 6:08 AM, Mark Thomas wrote: On 14/10/2016 10:51, André Warnier (tomcat) wrote: On 14.10.2016 10:05, Mark Thomas wrote: On 13/10/2016 16:04, Campbell, Lance wrote: Tomcat 8.0.38

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-17 Thread Tullio Bettinazzi
I didn't find any solution to my problem. Could someone provide suggestions or a strategy to find the solution ? Tks Da: Martijn Bos Inviato: lunedì 3 ottobre 2016 21.05 A: Tomcat Users List Oggetto: Re: Strange wait time in my application -

Re: how to write a valve

2016-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 10/14/16 6:08 AM, Mark Thomas wrote: > On 14/10/2016 10:51, André Warnier (tomcat) wrote: >> On 14.10.2016 10:05, Mark Thomas wrote: >>> On 13/10/2016 16:04, Campbell, Lance wrote: Tomcat 8.0.38 In my Eclipse development

Re: Long running socket reads

2016-10-17 Thread Rallavagu
On 10/14/16 1:01 AM, Mark Thomas wrote: On 12/10/2016 16:22, Rallavagu wrote: Tomcat 7.0.70 - Sun JDK 1.7.0_80 I have following long running thread (almost 5 sec). No you don't. That thread isn't doing it any work. It is blocking, waiting for I/O. Well, I got in impression because the

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 12:35 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas wrote: On 17/10/2016 08:30, Mark Thomas wrote: On 16/10/2016 19:09, Mark Juszczec wrote: Hello I have Tomcat 8.0.28 running on CentOS Linux 7.2.1511 behind Apache 2.4.6 I'm using

Re: Mixed authentication

2016-10-17 Thread tomcat
On 17.10.2016 11:51, Brugnerotto Angélique wrote: Good morning everybody. We use Tomcat 6 for an internal web site. Actually, the authentication is negociate with SSO. It works fine. When we access the web site, the Windows authentication of the Windows session Windows is resumed. We would

Re: Round Robin LoadBalance/Failover Configuration for Apache

2016-10-17 Thread Jayaram Ponnusamy
Hi Christopher, Thanks for the reply. I am new to Apache and Tomcat, Our Tomcat is not cluster and Sticky is not enabled. Could you please let me know which one will be help to avoid failover if one Tomcat went down. Thanks Jayaram On Sun, Oct 16, 2016 at 10:32 PM, Christopher Schultz <

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Mark Juszczec
On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas wrote: > On 17/10/2016 08:30, Mark Thomas wrote: > > On 16/10/2016 19:09, Mark Juszczec wrote: > >> Hello > >> > >> I have Tomcat 8.0.28 running on CentOS Linux 7.2.1511 behind Apache > 2.4.6 > >> > >> I'm using AJP 1.3 for

Mixed authentication

2016-10-17 Thread Brugnerotto Angélique
Good morning everybody. We use Tomcat 6 for an internal web site. Actually, the authentication is negociate with SSO. It works fine. When we access the web site, the Windows authentication of the Windows session Windows is resumed. We would like to publish this site in external. We have

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Mark Thomas
On 17/10/2016 08:30, Mark Thomas wrote: > On 16/10/2016 19:09, Mark Juszczec wrote: >> Hello >> >> I have Tomcat 8.0.28 running on CentOS Linux 7.2.1511 behind Apache 2.4.6 >> >> I'm using AJP 1.3 for communication between Apache and Tomcat >> >> Its all powered by Java 1.8 >> >> I'm having a

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Mark Thomas
On 16/10/2016 19:09, Mark Juszczec wrote: > Hello > > I have Tomcat 8.0.28 running on CentOS Linux 7.2.1511 behind Apache 2.4.6 > > I'm using AJP 1.3 for communication between Apache and Tomcat > > Its all powered by Java 1.8 > > I'm having a problem with international characters when I send