Subject Re: socket timeout
Author hugo.larson
--- In Firebird-Java@yahoogroups.com, Mark Rotteveel <mark@...> wrote:
>
> On Sun, 28 Oct 2012 15:16:21 -0700 (PDT), Hugo Larson
> <hugo.larson@...> wrote:
> > I'm using Firebird 1.5 with Jbuilder and jaybird 2.1.6
> > I tried your suggestion
> > "jdbc:firebirdsql:myhost/3050:/path/to/db.fdb?so_timeout=3000"
> > But it does not work. The timeout still take about 10 seconds.
>
> Could you describe your exact problem, and specifically which timeout you
> are talking about, and when/where it occurs?
>
> There are different timeouts in sockets, and without specifically knowing
> the nature of the problem it is hard to decide if Jaybird is doing
> something wrong, or if it is a timeout type that is not influenced by
> so_timeout.
>
> Mark
>

Hi,

I'm trying to reduce the timeout time when i connect to a database and the database is down, or the server its on is down.
Right now it take more than 10 seconds for an exception to be thrown which make my GUI unresponsive.

Roman suggested:
http://tech.groups.yahoo.com/group/Firebird-Java/message/10603

But it does not work for me.
I'm using Firebird 1.5.3 with Jbuilder and jaybird 2.1.6

Thanks,