Re: Tomcat load balancing question x problem

2010-08-29 Thread Luca Gervasi
On Fri, 2010-08-27 at 09:17 -0300, Thiago Locatelli da Silva wrote: > Hello list! :) > > Here at work I was asked to give a try on load balancing two tomcat > servers running tomcat 6.0.29. The problem is that I was given only two > servers to do this, what gave me only one option: run the apach

Re: clear text keystore password in server.xml

2010-08-29 Thread Luca Gervasi
On Fri, 2010-08-27 at 17:53 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vijay, > > On 8/27/2010 5:41 AM, Vijay wrote: > > I am looking for a way to use only encrypted passwords. > > Cool. How are you going to do that? > > > I am looking to write a wra

RE: A little trouble with SSL

2010-08-29 Thread Andrea Freire
There are the configuration files. I can see the .jsp files throw the apache but only in port :80, when I put in port :443 only show that there are in apache only, not the .jsp or any servlet or application files. The .crt files for ssl works using this form-tomcat with mod_jk with apache- to

Re: Character encoding question

2010-08-29 Thread Dave Cherkassky
The Microsoft characters are encoded in CP-1252 (http://en.wikipedia.org/wiki/Windows-1252). However, if the problem is the database-driven content, then you also need to consider the encoding that the dB is using. For example, MySQL might by default use latin1 (ISO-8859-1), so your data migh

RE: Custom Realm

2010-08-29 Thread Caldarale, Charles R
> From: Michael Dockery [mailto:dockeryjava...@yahoo.com] > Subject: Custom Realm > Q1) Should I create a new custom realm (..subClass > of RealmBase) which is based-on/copied-from the > original/standard tomcat realm?   You can, but wouldn't it be simpler to subclass the realm whose behavior

Custom Realm

2010-08-29 Thread Michael Dockery
I need to override a single method in a standard tomcat6 realm for a particular webApp/context.    The method:   RealmBase.getPrincipal(X509Certificate usercert) Q1) Should I create a new custom realm (..subClass of RealmBase) which is based-on/copied-from the original/standard tomcat realm?

Re: async response being commited after flush in 7.0.x?

2010-08-29 Thread Mark Thomas
On 29/08/2010 13:18, Paulo Silveira - Caelum wrote: > 7.0.2. The response being committed is expected. Once the headers are sent to the client then the response is committed - although it may not be complete. How long is the gap between the flush and the next write? If it is longer than the async

Re: async response being commited after flush in 7.0.x?

2010-08-29 Thread Paulo Silveira - Caelum
7.0.2. On Aug 29, 2010 4:34 AM, "Pid *" wrote: > On 29 Aug 2010, at 06:51, Paulo Silveira wrote: > >> Hello >> >> I am starting async requests inside a asyncSupported=true servlet. >> After that, sometimes an event occurs and I need to dispatch a small >> message to each client. For this purpose

Re: async response being commited after flush in 7.0.x?

2010-08-29 Thread Pid *
On 29 Aug 2010, at 06:51, Paulo Silveira wrote: > Hello > > I am starting async requests inside a asyncSupported=true servlet. > After that, sometimes an event occurs and I need to dispatch a small > message to each client. For this purpose I use a executor that will > send this message to each