Subject Re: [Firebird-Java] firebird embedded under Linux problems
Author Niki Ivanchev
Hi Roman,
this is the log from my application

[FBConnectionPoolDataSource,DEBUG] Trying to create connection, total
connections 0, max allowed 1
[GDS_Impl,INFO] Attempting to loadLibrary for "jaybird"
[GDS_Impl,INFO] loadLibrary for "java_gds" returned OK.
[GDS_Impl,INFO] Attempting to initilize native library.
[GDS_Impl,DEBUG] Failed to load client library # 0 - "fbembed.dll".
org.firebirdsql.ngds.InternalError: FirebirdApiBinding::Initialize -
Could not find or load the firebird client library.
at org.firebirdsql.ngds.GDS_Impl.nativeInitilize(Native Method)
at
org.firebirdsql.ngds.GDS_Impl.attemptToLoadAClientLibraryFromList(GDS_Impl.java:120)
at org.firebirdsql.ngds.GDS_Impl.<init>(GDS_Impl.java:79)
at org.firebirdsql.gds.GDSFactory.createGDSForType(GDSFactory.java:61)
at org.firebirdsql.gds.GDSFactory.getGDSForType(GDSFactory.java:48)
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnectionFactory.java:127)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.getManagedConnectionFactory(FBConnectionPoolDataSource.java:211)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.allocateConnection(FBConnectionPoolDataSource.java:267)
at
org.firebirdsql.pool.PooledConnectionQueue.addConnection(PooledConnectionQueue.java:426)
at
org.firebirdsql.pool.PooledConnectionQueue.start(PooledConnectionQueue.java:157)
at
org.firebirdsql.pool.AbstractConnectionPool.getQueue(AbstractConnectionPool.java:182)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.getPooledConnection(FBConnectionPoolDataSource.java:385)
at
org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:216)
at
com.icygen.advm.db.FBConnectionManager.getConnection(FBConnectionManager.java:175)
at com.icygen.advm.db.DAO.getConnection(DAO.java:361)
at com.icygen.advm.db.DAO.selectOpen(DAO.java:119)
at
com.icygen.advm.services.PropertyService.load(PropertyService.java:67)
at
com.icygen.advm.services.PropertyService.<init>(PropertyService.java:30)
at com.icygen.advm.planner.Holder.<init>(Holder.java:103)
at com.icygen.advm.planner.Holder.getInstance(Holder.java:86)
at com.icygen.advm.planner.PlannerFrance.main(PlannerFrance.java:10)
[GDS_Impl,INFO] Successfully loaded client library # 1 - "libfbembed.so".
[GDS_Impl,INFO] Initilized native library OK.
[GDS_Impl,DEBUG] Original file name:
/home/niki/.wine/fake_windows/WORK/PROJECTS/ADVMANAGER/advmanager.fdb
[GDS_Impl,DEBUG] File name for native code:
/home/niki/.wine/fake_windows/WORK/PROJECTS/ADVMANAGER/advmanager.fdb

>
>