Subject | Re: [Firebird-Java] Re: Exceptions using org.firebirdsql.gds |
---|---|
Author | Niki Ivanchev |
Post date | 2004-04-01T13:20:47Z |
This is normall, driver is trying to guess the name of the library.
I do not have the source in front of me (jaybird source),
but when I was tampering with embedded client in Linux, I had the same problem and
I digged into the code.
Jaybird is trying several names for .so files
Regards
Niki
sbnspindler wrote:
I do not have the source in front of me (jaybird source),
but when I was tampering with embedded client in Linux, I had the same problem and
I digged into the code.
Jaybird is trying several names for .so files
Regards
Niki
sbnspindler wrote:
>--- In Firebird-Java@yahoogroups.com, "Ryan Baldwin"[Non-text portions of this message have been removed]
><ryan.baldwin@n...> wrote:
>
>
>>Hi,
>>
>>This problem is due to the driver being used in either Type 2 or
>>
>>
>embedded
>
>
>>mode and the process not being able to load the appropriate client
>>
>>
>library.
>
>
>>If using Type 2 mode the driver will be looking for libfbclient.so
>>
>>
>or
>
>
>>libgds.so. If using embedded mode the driver will be looking for
>>libfbembed.so(currently no SS arch embedded server exists for
>>
>>
>linux - but I
>
>
>>have been away for a while so this may be out of date.)
>>
>>To fix this problem you need to make it possible for the java
>>
>>
>process to
>
>
>>load the firebird client library. If you have problems doing this
>>
>>
>let us
>
>
>>know and I can give some further advice.
>>
>>Alternativly you could use the driver in type 4 mode and it will
>>
>>
>not need to
>
>
>>load any native library. I am assuming though that you are trying
>>
>>
>to use the
>
>
>>driver in type 2 mode for a specific reason.
>>
>>Hope this helps
>>Ryan
>>
>>Also - my appologies for vanishing for the last couple of months.
>>
>>-----Original Message-----
>>From: sbnspindler [mailto:sabine.spindler@f...]
>>Sent: 01 April 2004 09:46
>>To: Firebird-Java@yahoogroups.com
>>Subject: [Firebird-Java] Re: Exceptions using org.firebirdsql.gds
>>
>>
>>--- In Firebird-Java@yahoogroups.com, Tim Peterson <txpet1957@y...>
>>wrote:
>>
>>
>>>I am experimenting the import org.firebirdsql.gds
>>>classes. I keep getting the following exception when
>>>attaching, however, the attachement appears to work.
>>>I am able to use the resulting handle. The client
>>>directorys are being loaded in ldconfig (SUSE 9.0).
>>>Any idea's?
>>>
>>>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:117)
>>
>>
>>> at
>>>org.firebirdsql.ngds.GDS_Impl.<init>(GDS_Impl.java:74)
>>> at
>>>org.firebirdsql.gds.GDSFactory.createGDSForType
>>>
>>>
>(GDSFactory.java:60)
>
>> /rest is removed (Niki Ivanchev)/
>>
>>Hello,
>>I've the same problem on my linux.
>>Does nobody have an idea ??
>>Regards,
>>Sabine
>>
>>Yahoo! Groups Links
>>
>>
>
>Hello,
>
>I want to use the driver in the embedded mode. The libfbclient.so and
>also the libfbembed.so are accessible to the java process, but the
>problem still exists. What else can I made wrong ?
>By the way, the exception only occurs at the first time, but the java
>application can create the database and work with it.
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>