Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Protocol Violation
Hi Tom,
Just to have a little fun with you, it means your database code failed
at some point.;-)
On a more serious note, in the catch (SQLException e) {...}, put an e.printStackTrace() to determine at which line your code puked. Also put System.out.println(e.getMessage()) to see if Oracle will kick anything more useful.
You don't mention what driver you are using, or what version of the database you are trying to access, but make sure that those 2 are compatible.
You can also get the oracle error code by e.getErrorCode(), but e.getMessage() is usually pretty adequate.
Hope some of this helps!
cindy
Tom Kunetz wrote:
> Hi
>
> Does anyone knows what this error means ?
> java.sql.SQLException: Protocol violation
>
> I'm using JDBC to access an Oracle Database. I have around 300 Request
> by min with the same connection. (For performance reasons).
>
> Thanks a lot.
> Tom
Received on Fri Aug 20 1999 - 22:13:02 CDT