java.sql.SQLException: Protocol violation

Hi,

I am using JDK 1.4 with Oracle 9i as backend. I get this error, when I run this program. I have consulted many sites and forums and come to know that this error occurs when Oracle User ID is about to expire & it requires to change the password for the same userid. When I use oracle frontend ie toad & login by same user id then it alerts me with the same error and requires me to either I should change my password or press NO and continue without changing it.

Summary is that when JDBC tries to login with the same userid, then Oracle prevents the login to the database & in returnjava.sql.SQLException: Protocol violation occurs.

Now my question is how to avoid this error? Is there is some way where JDBC bypasses this alert , when oracle alerts with the message to change the password.

[839 byte] By [SKapoora] at [2007-11-27 6:24:58]
# 1
It might have something to do with ur driver......may not be your username...try comparing the compatibility of ur driver...play with it...
subbu_javaa at 2007-7-12 17:44:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...