No more data to read from socket
I work with Oracle 8.1.7 on HP-UX and I use JDBC (JDK 1.2) for connectivity from Java to Oracle.
When i connect to Oracle with driver "oracle.jdbc.driver.OracleDriver"
from classes12.jar I receveid this error:
"No more data to read from socket"
What are possible causes of this error?
Thank's in advance,
check the sqlnet.ora file on the server.
If you have the SQLNET.EXPIRE_TIME parameter set, comment it out or remove it.
If this does not work, try downloading the latest jdbc drivers from Oracle:
It is better to ask and appear ignorant, than to remain silent and remain ignorant.
Oracle OCP DBA 9i,
C++, Java developer
Thanks, but there is not the parameter SQLNET.EXPIRE_TIME in my sqlnet.ora file. But I restart my DB and the problem disappear, i don't know why. For me remain a mystery.
What type of jdbc driver are u using?
-- thin or
if thin then parameter expire_time is nothing
because OracleJdbc thin diver doesn't use sqlnet at all.
I use jdbc driver thin, thank you for this specification,
Click Here to Expand Forum to Full Width