This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC tries multiple times to connect on a bad login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC tries multiple times to connect on a bad login" Watch "JDBC tries multiple times to connect on a bad login" New topic
Author

JDBC tries multiple times to connect on a bad login

Caroline Thorn
Greenhorn

Joined: Apr 23, 2008
Posts: 1
Hi, we got this problem when there's a bad login (ora-01017) from a user.
Note that everything works fine for a successful login.

So when a bad login occur it takes at least 2-3 minutes to catch the exception.
During that time we can see in the JDBC tracing that there's multiple tries to connect, about 200.

We use classes12 and Oracle 10g (RAC).
LOAD_BALANCE=ON
FAILOVER=ON
SERVER = DEDICATED

I did try with DriverManager and OracleDatasource with no difference.



Anyone can help?
Caroline
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Carot",
Please check your private messages regarding an important administrative matter.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
 
subject: JDBC tries multiple times to connect on a bad login
 
Similar Threads
not redirecting to main page
Lost properties
Throwing more than one application exception from a ejb interface
why jsp cannot use this class, which is no problem when compile singlely.
a mistake for bean