On Dec 9, 10:01 pm, Shawn Pearce <
s...@google.com> wrote:
> I solved it with MySQL by just removing the connection pool and
> opening a new connection each time. Unlike PostgreSQL, MySQL opens
> and closes connections fairly quickly so connection pooling is
> slightly less important to get reasonable response times.
>
> On Tue, Dec 8, 2009 at 20:15, Edwin Cruz <
sof...@gmail.com> wrote:
> > We solved the problem adding autoReconnect flag in the connection string:
> > jetty/context/gerrit.xml
> > <Set name="driverClassName">com.mysql.jdbc.Driver</Set>
> > <Set
> > name="url">jdbc:mysql://localhost/reviews?autoReconnect=true&characterEncoding=latin1&user=reviews&password=secret</Set>
>
> > hope that helps and regards!
> > --
> > Ing. Edwin Cruz
>