Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL Exception with Oracle Thin JDBC drivers
hi,
i think i can help with at least one of your errors. About a week
ago I was having a similar problem getting "No more data to read from
socket", very frustrating. I got in contact with someone at Oracle
support (not the easiest thing in the world to do). What I had
discovered was that the Oracle "keep alive" connection check signal
kills the JDBC connection every time. There should be a file called
sqlnet.ora somewhere on the Oracle server. It has a line
SQLNET_EXPIRE_TIME = X where X is a value in minutes. I'd be willing
to bet that you recieve that SQL exception exactly every X minutes.
There are 3 possible solutions, I'll list them in order of least to
most desirable (in my opinion).'
hope this helps!
![]() |
![]() |