Re: Kinda urgent Connection error messages
From: Joe Weinstein (joeNOSPAM_at_bea.com)
Date: 11/02/04
- Previous message: richard x: "Re: unknow exception from jdbc driver"
- In reply to: jdnospam_at_hevanet.com: "Re: Kinda urgent Connection error messages"
- Next in thread: Saran: "Re: Kinda urgent Connection error messages"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 01 Nov 2004 16:47:15 -0800
jdnospam@hevanet.com wrote:
> Joe,
> There are a ton of locks in SQL Server under Locks/Process ID that
> reference the web renewal update table, but we know no one is using it.
Are you doing XA transactions? If so, in-doubt transactions may be holding
locks. Your DBA should be able to associate the locks with the connection
that holds them. Are you managing transactions yourself or are they managed
by websphere?
You may have to cycle websphere to truly kill all the connections it's
made. If that doesn't clear it I'll be surprised, and you might have to cycle
the DBMS. I can tell you that nothing you've shown implicates the driver at
all. If you were using WebLogic, I'd have lots of tools to help you...
> Most of the properties of these locks show this:
> sp_executesql;1
That implies use of PreparedStatements.
>
> or this:
> BeginTrans
That sounds like maybe bad application code. How are these transactions started?
You should never be sending "BEGIN TRAN" SQL. You should be only using setAutoCommit()
and commit()/rollback() JDBC calls.
>
> So you are probably right, but I don't know where to look for/which error log. Do I use Enterprise Manager or get on the SQL Server box and look at Win 2000 error log?
>
> What would you do to clean up these locks?
As above. First thing is to cycle the client (websphere).
Joe Weinstein at BEA
>
> John
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
- Previous message: richard x: "Re: unknow exception from jdbc driver"
- In reply to: jdnospam_at_hevanet.com: "Re: Kinda urgent Connection error messages"
- Next in thread: Saran: "Re: Kinda urgent Connection error messages"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|