aspose file tools
The moose likes JDBC and the fly likes JDBC error when connecting to Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JDBC error when connecting to Oracle
 
Similar Threads
getting a CLOB value as a String object
oracle/jdbc/ttc7/TTC7Protocol Class Format Error
[JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
Connecting to Oracle
Oracle Error: ORA-04031: unable to allocate xxx bytes of shared memory ("","","")