Solved

Sybase JDBC connection dies intermittantly

Posted on 2006-07-06
4
1,329 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 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