wood burning stoves 2.0*
The moose likes JDBC and the fly likes java.sql.SQLException: Protocol violation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.sql.SQLException: Protocol violation" Watch "java.sql.SQLException: Protocol violation" New topic
Author

java.sql.SQLException: Protocol violation

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Hi,

I was just wondering if anybody has faced this problem in past when i am trying to get the connection

Also I am trying to connect to Oracle 9i from JSDK 1.4.2_08_b3 and including proper classes12.zip in the classpath



let me know if u have any suggestions.

Cheers,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Thanks Guys !

I got the solution myself... the problem was my DB connecting password was showing an error ORA-28002: the password will expire within 25 day.

As soon as i reset the password its working fine now.

Cheers,
Rahul
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Rahul,
Thanks for posting the solution for others who come across this thread in the future!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
RashMin Gadhavi
Greenhorn

Joined: Feb 12, 2008
Posts: 15
Jeanne Boyarsky wrote:Rahul,
Thanks for posting the solution for others who come across this thread in the future!


Hello Rahul!

It just came across the same problem. Our Oracle Version is 11gR2 and I was getting the same Password expiry problem on Oracle. The DBs were locked, once we reset the password and un-lock the DB, problem got resolved!

Thank a lot !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql.SQLException: Protocol violation
 
Similar Threads
Protocol Violation
unable to connect to oracle database
exception while connecting to the database
OracleDatasource with Eclipse
oracle.jdbc.driver.OracleDriver