Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setLoginTimeout

31 views
Skip to first unread message

bc

unread,
Dec 15, 2009, 6:27:44 PM12/15/09
to
We are troubleshooting some legacy code. We need our login
attempts to time out when the dataserver is unresponsive.
DriverManager.setLoginTimeout() isn't working. Does
jConnect support this call? Should we be calling
SybDriver.setLoginTimeout instead?

If those aren't supported, what about implementing
DataSource.setLoginTimeout() or
SybDataSource.setLoginTimeout()?

Thanks

Ray

unread,
Dec 15, 2009, 8:54:21 PM12/15/09
to
You can try this property

AseCommand.CommandTimeout


<bc> wrote in message news:4b281b70.1a2...@sybase.com...

joe.we...@gmail.com

unread,
Dec 16, 2009, 12:43:07 AM12/16/09
to

The driver should easily be able to implement it's reaction to
DriverManager.setLoginTimeout().
All that call does is to set a value in DriverManager so when/if a
driver calls getLoginTimeout()
it gets that value. Setting the socket timeout on the driver's
creation of the socket it uses
to connect to the DBMS is as simple as it can be...
Joe Weinstein at Oracle (nee j...@sybase.com in the 80's and mid 90's)

0 new messages