Subject Re: Embedded FB on Windows - using Java - help appreciated.
Author plinehan
"plinehan" <plinehan@...> wrote:



> con = DriverManager.getConnection
> ("jdbc:firebirdsql:embedded/3050:
> D:\\Test1\\EMPLOYEE.FDB", "SYSDBA", "masterkey");


This just in - if I remove the 3050 port no. I get
this from BlueJ

java.lang.RuntimeException: Failed to initilize Jaybird native
library. This is most likley due to a failure to load the firebird
client library.
at
org.firebirdsql.gds.impl.jni.JniGDSImpl.attemptToLoadAClientLibraryFromList(JniGDSImpl.java:100)
at
org.firebirdsql.gds.impl.jni.EmbeddedGDSImpl.<init>(EmbeddedGDSImpl.java:31)
at
org.firebirdsql.gds.impl.jni.EmbeddedGDSImpl.<init>(EmbeddedGDSImpl.java:21)
at
org.firebirdsql.gds.impl.jni.EmbeddedGDSFactoryPlugin.getGDS(EmbeddedGDSFactoryPlugin.java:40)
at org.firebirdsql.gds.impl.GDSFactory.getGDSForType(GDSFactory.java:219)
at
org.firebirdsql.jca.FBManagedConnectionFactory.getGDS(FBManagedConnectionFactory.java:117)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:125)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at TestDB.main(TestDB.java:51)



Exception in thread "main" java.lang.RuntimeException: Failed to
initilize Jaybi
rd native library. This is most likley due to a failure to load the
firebird cli
ent library.


If this helps, that would be great, TIA.



Paul...


> Paul...