aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC tries multiple times to connect on a bad login