Solved

Sybase JDBC connection dies intermittantly

Posted on 2006-07-06
4
1,343 Views
Last Modified: 2008-02-01
We have a web service that executes stored procedures on our SYbase database and intermittantly we get the following errors back from Sybase/JDBC:

JZ006: Caught IOException: com.sybase.jdbc2.jdbc.SybConnectionDeadException:
JZ0C0: Connection is already closed.</daws:Errors></daws:Results>

Any ideas on why the connection would unexpected die?

The web server is running on Sun 1.
0
Comment
Question by:TadHawkins
4 Comments
 
LVL 19

Expert Comment

by:grant300
ID: 17063310
This usually happens when the underlying network connection drops.  It may be coming back up fast enough you are not noticing it.  It may also be do to a timeout if the keepalive is not getting a response.

Does it happen when there is fairly constant traffic between the Sybase and WEB servers, or does it happen when things are quite?

Bill
0
 
LVL 2

Author Comment

by:TadHawkins
ID: 17091043
Turned out to be a static Java method that did some of the connetion work. Once it was made dynamic and instantiated for each process the problem seems to have gone away.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17738847
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The world seems to conceive of a curious bubble separating IT from “the business.”  More so than just about any other pursuit in the commercial world, people think of IT as some kind of an island.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question