How to resolve isValid exceptions - 10.x

Symptoms

You see multiple exceptions with the word 'isValid' in the error message for Confluence 5.8 and higher versions. 

Cause

This is a known issue with newer versions of Tomcat.

Resolution

Add a validation query to your configuration. Refer to SQL-376 for more details about solutions.