> -----Original Message-----
> From: Hee Meng [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 23, 1999 9:43 PM
> To:   [EMAIL PROTECTED]
> Subject:      Off-topic but needed help badly : Oracle's classes111.zip
>
> Hi,
>
> Pardon me for this off-topic question..tried but didn't get any response
> from
> Oracle support.
>
> I am trying to connect to an Oracle db from my servlet and jsp classes
> using classes111.zip and
> encountered the following error :
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError :
> d:\rpograms\orawin95\bin\oci803jdbc.dll :
> One of the library files needed to run this application cannot be found
>          at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>          at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1203:)
>          blah, blah...
>
> The servlet engine is JRUN 2.3 build 149 running jre1.2. When I switched
> JRUN to use
> jre1.1.7, there's no such problem. Converted some of the db classes to
> run as java application.
> Problem encountered in jre 1.2 but not in java 1.x
>
> Anyone has any idea of what's wrong or has success with classes111.zip
> in java 2 runtime?
>
> Thanks for any help and info.
>
> Regards
>
        [Jack Li]
        Hi there,

        It seems like you're using Oracle Oci Driver to connect to your
Oracle database. But
        somehow the Oracle Oci Driver doesn't fit in Java2. Someone is
saying that the Oracle
        Oci Driver still uses JDK1.0 JNI when talking to database and this
might cause the
        problem when the user works in Java2 environment.

        My two suggestion:
        a> use Oracle Thin Driver instead of Oci. They are bundled together
in classes111.zip.
        You can get the API from Oracle's JDBC web site.
        b> use Jdbc-Odbc bridge from Sun, with the Odbc driver configured in
your box in the
        first place.

        Hope this can help.

        ---Jack

> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to