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

0 votes
Accepted answer

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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,121 views 2 6
Read article

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