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

This widget could not be displayed.

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

596 views 7 6
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