File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Protocol Violation Error
Joined: Jul 30, 2004
Jul 30, 2004 13:23:00
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?
rocket mass heater
subject: Protocol Violation Error
ORA-28001: the password has expired (DBD ERROR: OCISessionBegin)
User Password Scipts
Implementing password expiry using sessions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014