Subject | Type 2 Driver |
---|---|
Author | Luca Lafranchi |
Post date | 2003-06-05T09:53:59Z |
Hi :)
I'm trying to use the type 2 driver against the embedded 1.5 server, but
I'm stuck at the basics: I get no connection. I'm using the
"DriverManger.getConnection(...)" mechanism. As written in the
readme.txt file, I must use the loopback address, so that my connection
string looks like "jdbc:firebirdsql://127.0.0.1/c:/path/to/db/db.gdb".
What I get is:
Cannot connect to this database:
jdbc:firebirdsql://127.0.0.1/c:/path/to/db/db.gdb
org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to
complete network request to host "127.0.0.1".
I also tried setting the port, but nothing changed.
I copied the dlls in JDK/bin, JRE/bin, my project's root directory under
JBuilder, but nothing...
Any hints?
Environment is Win2000Pro, I'm using the
firebirdsql_withtype2changes.jar, with the dlls from
firebirdembededforjava_JDK14_RC1_01.zip, which are both on the file
section of the yahoo group.
TIA
Luca
I'm trying to use the type 2 driver against the embedded 1.5 server, but
I'm stuck at the basics: I get no connection. I'm using the
"DriverManger.getConnection(...)" mechanism. As written in the
readme.txt file, I must use the loopback address, so that my connection
string looks like "jdbc:firebirdsql://127.0.0.1/c:/path/to/db/db.gdb".
What I get is:
Cannot connect to this database:
jdbc:firebirdsql://127.0.0.1/c:/path/to/db/db.gdb
org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to
complete network request to host "127.0.0.1".
I also tried setting the port, but nothing changed.
I copied the dlls in JDK/bin, JRE/bin, my project's root directory under
JBuilder, but nothing...
Any hints?
Environment is Win2000Pro, I'm using the
firebirdsql_withtype2changes.jar, with the dlls from
firebirdembededforjava_JDK14_RC1_01.zip, which are both on the file
section of the yahoo group.
TIA
Luca