Error occuring when using the sql plugin in confluence 3.5

Hi!

I've been using the sql plugin in our confluence instance for a while.

However, when the page which uses the sql plugin hasn't been used for a while, is accessed again for the "first time" I get an errormessage that says:

"com.ibm.db2.jcc.c.DisconnectException: ibmdb2jcct4203011211 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"

Actually the last part of the error message seems to vay a bit, but the first bit about being a communication error is constant, seems to be some sort of error from the database driver, but why it is occuring?

If I reload the page, the errormessage disappears and the plugin behaves as it is supposed to.

Any ideas on how to get rid of the errormessage??

Thanks in advance

Tor


1 answer

1 accepted

Look at your db2 datasource configuration in server.xml. Maybe adding a validationQuery would help.

Thanks!

That did the trick :)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

373 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you