Connecting Tech Pros Worldwide Forums | Help | Site Map

com.ibm.db2.jcc.c.DisconnectException

Hiresh
Guest
 
Posts: n/a
#1: Nov 12 '05
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

Fan Ruo Xin
Guest
 
Posts: n/a
#2: Nov 12 '05

re: com.ibm.db2.jcc.c.DisconnectException


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" <hiresh.roy@db.com> wrote in message
news:85a8d5ba.0406070609.63f68bbb@posting.google.c om...[color=blue]
> 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[/color]
org.apache.commons.dbcp.DelegatingCallableStatemen t.execute(DelegatingCallab
leStatement.java:215)[color=blue]
> -------------------------
>
> 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[/color]


KGopal
Guest
 
Posts: n/a
#3: Nov 12 '05

re: com.ibm.db2.jcc.c.DisconnectException


I am also getting same error message. my environment is
WebSphere App. server V5.0.2 ND with LDAP security enabled.

arjanblokzijl
Guest
 
Posts: n/a
#4: Nov 12 '05

re: com.ibm.db2.jcc.c.DisconnectException


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.

talkabout66
Guest
 
Posts: n/a
#5: Nov 1 '07

re: com.ibm.db2.jcc.c.DisconnectException


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

Closed Thread