Alan,

On 1/20/22 09:33, Alan F wrote:
I have an issue with connections on Tomcat9 Oracle showing
connections made for about 2seconds then dropped again. Is this
normal when the server is not being used?
You mean like, a connection is made, no queries are executed, and then the connection is terminated?

Presumably, you have an application running on Tomcat with a JDBC connection configured. Are you using Tomcat's built-in pooling, or is your application managing its own pooling/connections?

Do you have any background tasks (in the JVM) that will run even when there is no user activity? Cache-management? Lazy-writes?

Are you using Tomcat's clustering? Are you using a database-backed session management or any kind?

Are the connections definitely being made from the application itself and/or Tomcat? Or do you just see those connections coming from the IP where the application is running?

Do you have any background tasks (outside the JVM) that will run even when there are no user actions? For example, some monitoring system that pings the server to say "can you reach the database?"

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to