This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Protocol Violation Error

 
Venkat Srini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic