Subject Re: Java <-> Firebird connection problems
Author batzee_33
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
> Try telnet <hostname> 3050. If you cannot get connection on that
port, you
> have to check if your inetd is started and /etc/inetd.conf contains
correct
> entries. Also you have to check whether that is not xinetd that
should be
> started.

xinetd is running, and the port is open. telnet works, isql connection
works, even login with IB Expert from remote works. It's not that
simple :(

> > Does anyone have an idea why this doesn't work?
> > Is the class 2 driver better or faster anyway?
>
> class 2 driver is faster if you connect to localhost without
specifying the
> host name. Then on Windows it uses IPC instead of local loopback. I
cannot
> tell you whether IPC is used on Linux, most likely it is accesses the
> database file direct using gds_lock_manager to coordinate its work with
> other instances. More information you get in Firebird-support. But
if you
> access remote host, type 2 is ~10% slower compared to type 4.

I have no idea either :-//
But if I got you right, there should be no performance loss when using
type 2 locally. So I'm happy with it. It's just I still wonder why
class 4 didn't work ?!?

Greetings
Bastian