aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Protocol Violation Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Protocol Violation Error" Watch "Protocol Violation Error" New topic
Author

Protocol Violation Error

Venkat Srini
Greenhorn

Joined: Jul 30, 2004
Posts: 3
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?
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Protocol Violation Error