wood burning stoves 2.0*
The moose likes JDBC and the fly likes JDBC error when connecting to Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC error when connecting to Oracle" Watch "JDBC error when connecting to Oracle" New topic
Author

JDBC error when connecting to Oracle

Amit Chitre
Greenhorn

Joined: Jan 23, 2001
Posts: 2
Hello everyone,
I'm running Oracle 8.0.5 on Red Hat Linux 6.1. I'm using a oci8 driver.
The driver registers fine. But when I try to establish a connection with oracle, it gives me this error:
ELF file data enconding not little-endian
I've the classes111.zip in the CLASSPATH. Any suggestions would be appreciated. Thanks.
------------------
Amit Chitre


Amit Chitre
Kevin Mukhar
Ranch Hand

Joined: Nov 28, 2000
Posts: 83
The oci driver uses native code on the client machine. For Windows NT this file is jdbcoci8.dll and for Solaris it is liboci805jdbc.so. I am not aware of any native code library written for Linux, so I doubt you will be able to use the oci8 driver. You should be able to use the Oracle thin driver.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC error when connecting to Oracle
 
Similar Threads
oracle/jdbc/ttc7/TTC7Protocol Class Format Error
Oracle Error: ORA-04031: unable to allocate xxx bytes of shared memory ("","","")
[JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
getting a CLOB value as a String object
Connecting to Oracle