Re: connection timeouts
- From: "joeNOSPAM@xxxxxxx" <joe.weinstein@xxxxxxxxx>
- Date: Tue, 28 Aug 2007 19:54:23 -0000
On Aug 28, 12:26 pm, Kev <K...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Joe,
I ran some queries to determine if there were any blocking proesses at the
time and none showed up. Also, the number of locks was normal, nothing out of
the ordinary.
Kev.
"Joe Weinstein" wrote:
Kev wrote:
Hi,
Experiencing a problem whereby a jdbc connection seems to become stuck while
executing a prepared/callable statement (and does not return from the call).
The connection will then throw an SQLServerException some time later
reporting a Connection Timed Out error. It appears to be random and does not
consistently fail on the same area of code.
Also, is there a way to set a connection timeout that may help with this?
SQL Server 2005 SP1
Anyone else experienced this problem or has any ideas?
Cheers.
The first thing you'd want to look at is at the DBMS. You'd want
to find out what the DBMS thinks is going on with that connection.
It might be that your statement's SQL is blocked by locks in the
DBMS that are being held by another process.
Ok, I would double-check, and verify what the DBMS thinks
specifically
is being done by the JDBC connection. If the DBMS says there is
nothing at all being done, then there's a complicated problem. What
version of the JDBC driver are you using?
Joe
.
- References:
- Re: connection timeouts
- From: Joe Weinstein
- Re: connection timeouts
- Prev by Date: Re: connection timeouts
- Next by Date: RE: Connection Reset Error with SQLState() = 08S01
- Previous by thread: Re: connection timeouts
- Next by thread: RE: Connection Reset Error with SQLState() = 08S01
- Index(es):
Relevant Pages
|