Subject | Re: Exceptions using org.firebirdsql.gds |
---|---|
Author | sbnspindler |
Post date | 2004-04-01T13:56:29Z |
--- In Firebird-Java@yahoogroups.com, Niki Ivanchev <niki_iv@i...>
wrote:
wrote:
> This is normall, driver is trying to guess the name of the library.same problem and
> 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
> I digged into the code.client
> Jaybird is trying several names for .so files
> Regards
> Niki
>
>
>
> sbnspindler wrote:
>
> >--- In Firebird-Java@yahoogroups.com, "Ryan Baldwin"
> ><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
> >>libfbclient.so
> >>
> >library.
> >
> >
> >>If using Type 2 mode the driver will be looking for
> >><txpet1957@y...>
> >>
> >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
> >>wrote:and
> >>
> >>
> >>>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
> >also the libfbembed.so are accessible to the java process, but thejava
> >problem still exists. What else can I made wrong ?
> >By the way, the exception only occurs at the first time, but the
> >application can create the database and work with it.Okay ! Thank you !
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> [Non-text portions of this message have been removed]