Getting
com.ca.erm.webviewer.control.AdminPrefDetailBean: getPrefList - Database Query(selectPreferences)fails. Attempting to execute an operation on a closed EntityManagerFactory.
when configuring the F5 load balancer to make health checks on Web Viewer 12.1.
The Load Balancer was looking at Web Viewer login.jsf or login.jsp files to ensure the application was alive - that caused the number of sessions on Tomcat to grow to over 750.
Configuring the F5 load balancer to use a ping.html page to ensure the Web Viewer application was alive avoided the problem.