Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: oracle oci driver error

Re: oracle oci driver error

From: alex <is80029_at_cis.nctu.edu.tw>
Date: 3 Dec 1999 00:57:28 GMT
Message-ID: <8274ho$no1$1@news.cis.nctu.edu.tw>


: It just a guess.
: Have you tried to run /sbin/ldconfig
: If you have not, try this
: Add this line to /etc/ld.so.conf
: /db01/app/oracle/product/8.1.5/lib/libocijdbc8.so
: run /sbin/ldconfig
: see man ldconfig for its purpose.

	I got the same problem on Red Hat Linux 6.1 with Oracle8 8.0.5!
	The message is:

[oracle_at_alex oracle]$ java JdbcTest
SIGSEGV received at bffff398 in /u01/app/oracle/product/8.0.5/lib/liboci805jdbc.so. Processing terminated Writing stack trace to javacore1012.txt ... OK Aborted

	I have tried to run /sbin/ldconfig, but nothing was better!
	When I use thin driver:
          DriverManager.getConnection("jdbc:oracle:thin:@(description=
                                       (address=(host=localhost)
                                       (protocol=tcp)(port=1521))
                                       (connect_data=(sid=ORCL)))",
                                       "scott", "tiger");
          it worked;
        But when I use oci8 driver:
          DriverManager.getConnection ("jdbc:oracle:oci8:@ORCL",
                                       "scott", "tiger");
          it failed!


	Can you tell me where is wrong ? Thanx in advance!

	Alex
Received on Thu Dec 02 1999 - 18:57:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US