Subject problems connecting to the server
Author Marco Ferretti
I just realized that somehow the message I sent was incomplete .
As I said in the previous message, I have an ib6 server running on a winNt
server machine. When I connect via odbc/jdbc-odbc everything works fine. But
if I try the connection with a jdbc driver (interclient 2) I get hunged
while opening the connection or get a Communication Exception (if I try the
odbc stile DNS).
Looking at the api reference it only says to look at the service port ( wich
should be tcp 3060). I checked the service both on the server-side and on
the client side and they match.

I am tryong to connect via the "usual way" :
...
Connection cnn=null;
String url = "//tame-db/d:/Database/FireBird/SID/sid.gdb"; //this hungs
String url = "//tame-db:d:/Database/FireBird/SID/sid.gdb"; //this gets
the exception
try{

Class.forName(Utils.getFromIni("interbase.interclient.Driver");
cnn = DriverManager.getConnection(url,"SYSDBA","masterkey");
}catch(Exception e){
e.printStackTrace();
}

Can somebody help ? The problem is quite annoying because the db has to work
on the web (applet/servlet) on a Apache/Tomcat Linux machine (so I won't be
able to connect via jdbc/odbc). So if we don't manage to get the connection
we will probably have to change db.
TIA