Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
JDBC and Relational Databases
Protocol Violation Error
posted 12 years ago
I am trying to connect to the Oracle database using an user ID that will expire in 7 days. I expect a return message "ORA-28002: the password will expire within 7 days". But I am getting the SQL Exception - Protocol Violation. The code is:
conn = DriverManager.getConnection(URL,ID,Password);
I don't get any problems with expired ID's/never expiring ones. Can somebody help me out?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
User Password Scipts
ORA-28001: the password has expired (DBD ERROR: OCISessionBegin)
Implementing password expiry using sessions