java.sql.SQLException: Protocol violation: [6, 7, 21, 7, 21, 7, 21, 7, 21,
Hi
I've application running on:
- Solaris 10 64 bit
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04)
Java HotSpot(TM) Server VM (build 1.5.0_28-b04, mixed mode)
- jvm options"-Xms1024m -Xmx1536m -XX:MaxPermSize=128m -Duser.language=en -Duser.country=AU -XX:-UseVMInterruptibleIO"
- Oracle DBMS version 10.2.0.4.0 (64 bit)
- ojdbc version 11.2.0.3.0
And get the following exception:
java.sql.SQLException: Protocol violation: [6, 7, 21, 7, 21, 7, 21, 7, 21, 7, 21, 7, 21, 7, 21, 7, 21, 7, 54]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:464)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1112)
at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:373)
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:277)
I've read many posts and have found that it can be solaris issue because there are some problems when we are using 32 bit java on Solaris 10 64 bit machine. And the proposed solution is to use additional -d64 option in jvm. Is this the correct solution? Or there are some other soluions?
Regards Marcin.