Subject | Re: [Firebird-Java] UTF-8 and tomcat |
---|---|
Author | Ray Holme |
Post date | 2014-04-05T17:55:40Z |
The following ridiculous changes to our DB Resource allow us to actually
do something for a short while - note that we used 10-20 time the times
we used normally
... validationInterval="300000"
timeBetweenEvictionRunsMillis="300000"
minEvictableIdleTimeMillis="600000"
removeAbandonedTimeout="600"
I don't know if that helps define what is going on, but I guess
somewhere somehow we are timing out connections.
do something for a short while - note that we used 10-20 time the times
we used normally
... validationInterval="300000"
timeBetweenEvictionRunsMillis="300000"
minEvictableIdleTimeMillis="600000"
removeAbandonedTimeout="600"
I don't know if that helps define what is going on, but I guess
somewhere somehow we are timing out connections.
On Sat, 2014-04-05 at 11:01 +0200, Mark Rotteveel wrote:
>
> On 5-4-2014 00:03, Ray Holme wrote:
> > I have used firebird for multiple tomcat web applications.
> > We use the tomcat connection pool successfully for multiple
> > applications.
>
> What do you use to populate the connection pool (eg which Firebird
> classes, config of the connection pool)?
>
> > Recently we had to resurrect two applications and use UTF-8.
> > We think all the right things were done:
> > post requests use tomcat built-in filter
> > application.xml file says UTF-8
> > jsp files all marked for UTF-8
> >
> > The applications come up and we can do things with them, but the
> > connections seem to start failing within a minute or so.
> >
> > I am not sure that we have not done something else wrong, but the
> only
> > commonality between the two applications failing is UTF-8.
> >
> > Has anyone seen anything like this?
>
> Could you provide some more detail:
> * How do connections fail (exceptions, etc)?
> * Which Jaybird version?
> * Which Firebird version?
> * What is the connection character set?
> * What is the default database character set?
>
> Mark
>
>
>