473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

com.ibm.db2.jcc.c.DisconnectException

Hi,
In my web application we are using com.ibm.db2.jcc.DB2Driver driver to
connection DB2 data base. Application is running on linux environment

App server is : jakarta-tomcat-4.1.29

when we execute a procedure we get following error..
-------------------------
com.ibm.db2.jcc.c.DisconnectException: A communication error has been
detected. Communication protocol being used: Reply.fill().
Communication API being used: InputStream.read(). Location where the
error was detected: insufficient data. Communication function
detecting the error: *. Protocol specific error codes(s) TCP/IP
SOCKETS
at com.ibm.db2.jcc.b.a.a(a.java:412)
at com.ibm.db2.jcc.b.ba.b(ba.java:191)
at com.ibm.db2.jcc.b.ba.c(ba.java:208)
at com.ibm.db2.jcc.b.ba.c(ba.java:321)
at com.ibm.db2.jcc.b.ba.v(ba.java:1216)
at com.ibm.db2.jcc.b.bd.e(bd.java:90)
at com.ibm.db2.jcc.b.r.e(r.java:108)
at com.ibm.db2.jcc.b.bs.i(bs.java:191)
at com.ibm.db2.jcc.c.cw.o(cw.java:1213)
at com.ibm.db2.jcc.c.cx.d(cx.java:2061)
at com.ibm.db2.jcc.c.cy.bq(cy.java:145)
at com.ibm.db2.jcc.c.cy.execute(cy.java:128)
at org.apache.commons.dbcp.DelegatingCallableStatemen t.execute(DelegatingCallableStatement.java:215)
-------------------------

Our application is running in clustered environment and in few places
we placed our Connection object in HttpSession.

Please advice
thanks in advance.

regards
Hiresh
Nov 12 '05 #1
4 14615
I met some similiar error before. I can't remembered the error message I
got. Anyway, I remembered it is not because of the db2 communication layer
problem. I remembered the problem had relationship with SSL.

"Hiresh" <hi********@db.com> wrote in message
news:85**************************@posting.google.c om...
Hi,
In my web application we are using com.ibm.db2.jcc.DB2Driver driver to
connection DB2 data base. Application is running on linux environment

App server is : jakarta-tomcat-4.1.29

when we execute a procedure we get following error..
-------------------------
com.ibm.db2.jcc.c.DisconnectException: A communication error has been
detected. Communication protocol being used: Reply.fill().
Communication API being used: InputStream.read(). Location where the
error was detected: insufficient data. Communication function
detecting the error: *. Protocol specific error codes(s) TCP/IP
SOCKETS
at com.ibm.db2.jcc.b.a.a(a.java:412)
at com.ibm.db2.jcc.b.ba.b(ba.java:191)
at com.ibm.db2.jcc.b.ba.c(ba.java:208)
at com.ibm.db2.jcc.b.ba.c(ba.java:321)
at com.ibm.db2.jcc.b.ba.v(ba.java:1216)
at com.ibm.db2.jcc.b.bd.e(bd.java:90)
at com.ibm.db2.jcc.b.r.e(r.java:108)
at com.ibm.db2.jcc.b.bs.i(bs.java:191)
at com.ibm.db2.jcc.c.cw.o(cw.java:1213)
at com.ibm.db2.jcc.c.cx.d(cx.java:2061)
at com.ibm.db2.jcc.c.cy.bq(cy.java:145)
at com.ibm.db2.jcc.c.cy.execute(cy.java:128)
at org.apache.commons.dbcp.DelegatingCallableStatemen t.execute(DelegatingCallab
leStatement.java:215) -------------------------

Our application is running in clustered environment and in few places
we placed our Connection object in HttpSession.

Please advice
thanks in advance.

regards
Hiresh

Nov 12 '05 #2
I am also getting same error message. my environment is
WebSphere App. server V5.0.2 ND with LDAP security enabled.

Nov 12 '05 #3
Did anyone here find a solution for this problem? Coz we're having the same
problem with DB2 8.1 on an AIX machine, and are somewhat at a loss as how
to solve it.

Nov 12 '05 #4
I saw the same error. This ended up being an issue with DB2. Our DBA
bounced DB2 and the problem went away. Hope that helps someone.

--
Message posted using http://www.talkaboutdatabases.com/gr...bases.ibm-db2/
More information at http://www.talkaboutdatabases.com/faq.html

Nov 1 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: xixi | last post by:
hi, we are using db2 udb v8.1 on win 64 bit with fp3 with type 4 db2jcc.jar driver. i have this problem happened sometimes when try to execute a query and failed. ...
11
by: Serge Rielau | last post by:
For those of you playing with SQL Procedures, here's useful toy - I hope. http://www-106.ibm.com/developerworks/db2/library/techarticle/dm-0406rielau/ Enjoy Serge -- Serge Rielau DB2 SQL...
8
by: deegs_ca | last post by:
So I had my jdbc db28.2 fix pack 9 client running because I had taken the jars from <DB2ROOT>/java folder from Enterprise Edition 8.2 fix pack 9, db2java.zip, db2jcc.zip, and the license jar. ...
5
by: nielsgron | last post by:
Hi, I have created a database on DB2 8.1 and 8.2 for Windows using the codeset "Big5" with the command: db2 CREATE DATABASE TWBIG5 USING CODESET BIG5 TERRITORY TW When I try to connect to...
0
by: anaik100 | last post by:
am trying to run a java db2 program. my db2 is in os/390. below is the code public class T4DB2Connect { public static void main(String args) { try { // load the DB2 Driver...
1
by: Giovanni Tirloni | last post by:
Hello, I'm trying to connect to DB2 Express-C for Linux using the JDBC Universal Driver and I get the error below. I thought it was my code then I installed Websphere Community Edition 1.0.0.1...
0
by: Harikrishna Chenna | last post by:
Hi, While saving a attatchment file , iam getting this error :StaleConnectionException: com.ibm.db2.jcc.b.DisconnectException: Execution failed due to a distribution protocol error that caused...
3
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true,...
1
by: sudhakarb | last post by:
In my web application we are using com.ibm.db2.jcc.DB2Driver driver to connection DB2 data base. I got the Exception : com.ibm.db2.jcc.c.DisconnectException: A communication error has been...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.