Subject | Re: Embedded FB on Windows - using Java - help appreciated. |
---|---|
Author | plinehan |
Post date | 2009-01-17T12:09:12Z |
Roman Rokytskyy <roman@...> wrote:
Hi again Roman, all,
==============================
D:\Test1>set
...
CLASSPATH=D:\Test1\jaybird-full-2.1.6.jar;.
COMPUTERNAME=LG12X07
FIREBIRD=D:\Test1
Path=D:\Test1; <rest snipped!>
...
==================================
The code that fails looks like this
con = DriverManager.getConnection
("jdbc:firebirdsql:embedded/3050:
D:\\Test1\\EMPLOYEE.FDB", "SYSDBA", "masterkey");
For "embedded" I have also subsituted the IP address,
localhost, 127.0.0.1 and the computer name - all to
no avail.
I have the jar file as a library in BlueJ.
Furthermore, when I run javac from the command line, I always
get the same error as with BlueJ - that error is
=============================
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable
to complete network request to host "192.168.74.1".
Reason: Unable to complete network request to host "192.168.74.1".
================================
The IP address gets changed into whatever I have put down
for the machine ID - i.e. localhost, LG12X07, 127.0.0.1,
whatever... in the error message!
I can connect and view/change data with IBOConsole.
Any help getting me over this hurdle appreciated, - it's a
real block to getting on with the project and I would
be very grateful!
TIA.
Paul...
Hi again Roman, all,
> Does your PATH includes also D:\Paulie\Test1?My system variables are as follows.
==============================
D:\Test1>set
...
CLASSPATH=D:\Test1\jaybird-full-2.1.6.jar;.
COMPUTERNAME=LG12X07
FIREBIRD=D:\Test1
Path=D:\Test1; <rest snipped!>
...
==================================
The code that fails looks like this
con = DriverManager.getConnection
("jdbc:firebirdsql:embedded/3050:
D:\\Test1\\EMPLOYEE.FDB", "SYSDBA", "masterkey");
For "embedded" I have also subsituted the IP address,
localhost, 127.0.0.1 and the computer name - all to
no avail.
I have the jar file as a library in BlueJ.
Furthermore, when I run javac from the command line, I always
get the same error as with BlueJ - that error is
=============================
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable
to complete network request to host "192.168.74.1".
Reason: Unable to complete network request to host "192.168.74.1".
================================
The IP address gets changed into whatever I have put down
for the machine ID - i.e. localhost, LG12X07, 127.0.0.1,
whatever... in the error message!
I can connect and view/change data with IBOConsole.
Any help getting me over this hurdle appreciated, - it's a
real block to getting on with the project and I would
be very grateful!
TIA.
Paul...
> Roman