aspose file tools
The moose likes JDBC and the fly likes account locked error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "account locked error" Watch "account locked error" New topic
Author

account locked error

richard harlos
Greenhorn

Joined: Apr 28, 2004
Posts: 8
in oracle, my username is associated to an oracle profile that limits my failed logins to 3 before locking the oracle account.

when i test this through oracle's sql+plus interface, i can in fact attempt 3 failed logins before the oracle account gets locked.

after unlocking the oracle account, i attempt a single login through my java servlet interface. to my surprise, the error thrown reads that my oracle account has been locked.

it seems to me that the login attempt (implied via a Connection's createStatement() call) is repeatedly attempting to login until either a timeout of some kind is reached, or until the "locked account" error is thrown.

i tried writing a debug statement to the application/web log in order to verify that the createStatement() call is only being invoked once, and that seems to be the case so...

i'm confused!!! is it the case that, behind the scenes, createStatement() is repeatedly trying to login until either a timeout value is exceeded or until the oracle "account locked" error is thrown?

thanks in advance for all assistance.

richard
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: account locked error
 
Similar Threads
Prevent Duplicate Logins
URLyBird 1.3.1 Interface does not appear to be sufficient.
Login / Password (User Authentication )
B&S Locking
to create login.jsp