Client Connection Failed, clearing up resources for session

My instance is running on version 2.34.6 build ec64f0a and the operating system is Ubuntu 20.4. In the Catalina log, I see the following errors below and I don’t know why. Kindly with the interpretation of this log.

Nov 20 02:00:19 nctva tomcat9[279]: * INFO 2021-11-20T02:00:19,157 ‘system-process’ update org.hisp.dhis.scheduling.JobConfiguration, name: Analytics run at 12am, uid: W8XEAbxpHJ0 (AuditLogUtil.java [taskScheduler-7])
Nov 20 02:00:19 nctva tomcat9[279]: * WARN 2021-11-20T02:00:19,163 AMQ222061: Client connection failed, clearing up resources for session 9cda0ca2-49a5-11ec-9588-00163e82479b (ServerSessionImpl.java [Thread-2 (activemq-netty-threads)])
Nov 20 02:00:19 nctva tomcat9[279]: * WARN 2021-11-20T02:00:19,163 AMQ222107: Cleared up resources for session 9cda0ca2-49a5-11ec-9588-00163e82479b (ServerSessionImpl.java [Thread-2 (activemq-netty-threads)])
Nov 20 02:00:19 nctva tomcat9[279]: * WARN 2021-11-20T02:00:19,164 AMQ222061: Client connection failed, clearing up resources for session 9cda33b3-49a5-11ec-9588-00163e82479b (ServerSessionImpl.java [Thread-2 (activemq-netty-threads)])
Nov 20 02:00:19 nctva tomcat9[279]: * WARN 2021-11-20T02:00:19,164 AMQ222107: Cleared up resources for session 9cda33b3-49a5-11ec-9588-00163e82479b (ServerSessionImpl.java [Thread-2 (activemq-netty-threads)])

Thank you for your post @Gerald_Thomas! I wonder if you are getting any related errors in the Console of your browser’s developer tools? Do you have other instances in your server, and if yes then do you see the same error?

Thanks! (:

I’m getting this error too. I’m thinking it could be related to the Tomcat thread pool limit.

We’re seeing this all the time, but we haven’t treated it as a problem - yet.

Hi all,

Is there any breakthrough on the same, run through a couple installation and everything seems fine save for that error and the landing page not loading on the designated url.

System Resources:
OS: Ubuntu 18.04
Java - Open JDK 11
Tomcat - Tomcat 8
Postgresql - Postgres 12
DHIS - DHIS 2.35.2

the specific error messages:

  • WARN 2022-04-07T03:08:46,216 AMQ222061: Client connection failed, clearing up resources for session e48ac00d-b606-11ec-87e2-0a54c994c5e4 (ServerSessionImpl.java [Thread-1 (activemq-netty-threads)])
  • WARN 2022-04-07T03:08:46,216 AMQ222107: Cleared up resources for session e48ac00d-b606-11ec-87e2-0a54c994c5e4 (ServerSessionImpl.java [Thread-1 (activemq-netty-threads)])

Hey @Gerald_Thomas , @JensTandstad , and @lillian1n2 ,

Thank you for your posts! I’m quoting @bobj here:

Getting the exact (searchable) log message would be key to starting to understand what is going on.

without context I can only say this can mean many things :slightly_smiling_face: . It can be bad internet on the side of the client causing the connection to vanish, or simply long processing on the DHIS2 side by which time the client has gone. In the past I’ve seen exceptions and stack trace when this happens but maybe we are now catching and logging? Need to grep out the exact log message from the source to know for sure.

Thanks! :+1:

Thank you! I was able to confirm that the error (while somewhat confusing on my end) does not necessarily inhibit the application from loading or being stable. I was able to access the application after reviewing my access settings and therefore run through a successful installation of DHIS2!

Thank you for your help!

1 Like