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
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

204 views 2 10
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