Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: jdbc : No more data to read from socket
I am adding more to my posting.
The driver gets loaded. It is not able to logon. It does detect the server,
because if I change the myhost or port or SID, I do get a Oracle Not Available
message.
Reading the archives , I note some answers:
1. time_out : I dont have Oracle client oci installed, no Oracle_home , I
want to use pure java driver.
2. This is bug, will be fixed. Where is the bug free driver ?
People are using jdbc drivers with oci , is there anyone using pure java driver without oci ?
Thanks again for your time.
In article <75aifp$8bl$1_at_nnrp1.dejanews.com>,
sudhin_at_saathi.ncst.ernet.in wrote:
> Hi
> I want to use a pure java driver for Oracle V8 ( and also V7.2 )
> I downloaded jdbcthin.zip
> and I get the message
>
> java.sql.SQLException: No more data to read from socket
>
> This is the source code I used
> // Load Oracle driver
> DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
> // Connect to the database
> Connection conn =
> DriverManager.getConnection ("jdbc:oracle:thin:@myhost:1521:orcl",
> "scott", "tiger");
>
> There were many such postings. But what is the answer ?
> thanks in advance
> -sudhin
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Dec 17 1998 - 21:40:59 CST