Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8362695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:59:57+00:00 2026-06-09T11:59:57+00:00

Since yesterday I’ve been facing a problem with a DB2 data source in WSO2

  • 0

Since yesterday I’ve been facing a problem with a DB2 data source in WSO2 Data Service Server. Every night I have a schedule shell script script wich makes a maintenance in the database, but at some point I have to drop all connections on the DB2 then I expect WSO2 have to bound the connection pool again, but when this is done I getting this error:

Nested Exception:
– com.ibm.db2.jcc.c.DisconnectException: [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
Communication API being used: SOCKETS. Location where the error was detected: T4Agent.sendRequest().
Communication function detecting the error: OutputStream.flush(). Protocol specific error codes Broken pipe, *, 0. Message: Broken pipe

Caused by: javax.xml.stream.XMLStreamException: DS Fault Message: Error in ‘SQLQuery.processNormalQuery’

Am I wrong to expect that or is natural to get this error after a connection drop?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:59:59+00:00Added an answer on June 9, 2026 at 11:59 am

    Yeah, the error you get can be expected, since the database connections in the connection pool become invalid when DB2 drops the connections. So the first request going to data service will fail. To handle this, use the “validationQuery” option in the data sources to overcome this issue. You can use a query like “select 1 from sysibm.sysdummy1” as the validation query, where this will be called each time before a connection is used from the connection pool.

    Cheers,
    Anjana.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been playing around with this problem since yesterday. I can't seem to
Since yesterday, I've been facing a compiling error for my C project. The project
I have been using a demo site since yesterday and made a version on
I have been trying since yesterday to get google like paging, but each time
I'm having a problem, I've been trying to solve it since yesterday but no
i have a huge problem since yesterday!! i have installed titanium studio,it runs with
This is the continuation of the my earlier post Since yesterday I have been
i've been working on this question since yesterday, i have the following code.. <?php
I'm stuck on a small but tricky problem since yesterday. What I have is
Since yesterday I have a problem with Visual C# Express 2010. When I start

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.