This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
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 "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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC tries multiple times to connect on a bad login
 
Similar Threads
a mistake for bean
why jsp cannot use this class, which is no problem when compile singlely.
Throwing more than one application exception from a ejb interface
Lost properties
not redirecting to main page