Error 4505 is an error from Unity, and the error is probably indicating that Unity lost its connection to the back-end Teradata Database.
If you want to use a "validation query" to test whether a connection is still valid, you can specify a very simple query such as SELECT 1
Thanks a lot for your fast answer.
What I don't understand the connection works fine for approx. 24h, afterworks this error begins and till I don't restart tomcat the problem remains.
We work with Connection Pooling.
Perhaps your database administrator has configured Viewpoint to terminate idle sessions. You can ask your database administrator to exclude your application's userid.