FAQ
Hi gurus,

we would like to connect to 8i databases with jdbc oci driver.

Our environment:
Db servers:

Oracle Standard Ed. v. 8.1.6.1.0 on RedHat Linux 6.2
Oracle Enterprise Ed. v. 8.1.7.0.0 on Windows 2000

Client:

8.1.7 client on RedHat Linux
java version: 1.2.2
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.jar
LD_LIBRARY_PATH=/lib:$ORACLE_HOME/lib

There is no classes11* file in $OH/jdbc/lib directory.
libocijdbc8.so and libocijdbc8_g.so files are in $OH/lib.

The tnsnames.ora on client contains valid entries to
databases so connection via sqlplus works fine.

We compiled JdbcCheckup.java according to JDBC Developer's
Guide and Reference. But we get the following error when we
launch it:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
get_env_handle

Any suggestion to solve this problem?
Thanks in advance!

Zoltan Hives

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?ISO-8859-1?Q?H=EDves=20Zolt=E1n?=
INET: hives_at_jmester.hu

Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------

To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).

Search Discussions

  • Marin Dimitrov at Apr 2, 2002 at 2:23 pm
    Original Message -----
    Exception in thread "main" java.lang.UnsatisfiedLinkError:
    get_env_handle
    Metalink Note 157468.1 may be helpful:

    fact: Oracle Server - Enterprise Edition 8.1.7
    fact: Oracle JDBC/OCI Driver for JDK 1.2
    fact: JDK 1.2
    fact: Intel Based Server LINUX
    symptom: Connecting to database fails

    symptom: java.lang.UnsatisfiedLinkError: get_env_handle
    symptom: Works using thin driver.
    cause: The cause of this problem is still undetermined.

    fix: Upgrade to Oracle Server - Enterprise Edition 9i or Apply patchset
    8.1.7.2

    hth,

    Marin

    "...what you brought from your past, is of no use in your present. When
    you must choose a new path, do not bring old experiences with you.
    Those who strike out afresh, but who attempt to retain a little of the
    old life, end up torn apart by their own memories. "

    --
    Please see the official ORACLE-L FAQ: http://www.orafaq.com
    --
    Author: Marin Dimitrov
    INET: marin.dimitrov_at_sirma.bg

    Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
    San Diego, California -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message
    to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
    the message BODY, include a line containing: UNSUB ORACLE-L
    (or the name of mailing list you want to be removed from). You may
    also send the HELP command for other information (like subscribing).

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
categoriesoracle
postedApr 2, '02 at 1:38p
activeApr 2, '02 at 2:23p
posts2
users2
websiteoracle.com

2 users in discussion

Marin Dimitrov: 1 post Híves Zoltán: 1 post

People

Translate

site design / logo © 2022 Grokbase