Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Connection pooling to reduce first load time after Tomcat start

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Connection pooling to reduce first load time after Tomcat start


Chronological Thread 
  • From: "Wessel, Keith" <>
  • To: "" <>
  • Subject: [grouper-users] Connection pooling to reduce first load time after Tomcat start
  • Date: Mon, 3 Oct 2016 20:35:14 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:eDOl4hXH0quHQT98celv8PJVM7rV8LGtZVwlr6E/grcLSJyIuqrYZhSDt8tkgFKBZ4jH8fUM07OQ6P+wHzFbqs/c+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3ZkJJIbG/FZTVkty6zaWv4JDJeC1Jgiawe7V/ME/woAnM/IFCjpFlN7480F7UuXZSYMxXw39lP1Seg0y668utqs1N6SNV7rge+tVbXKG+N4c1TKBYRnxyMH84/9bmsTHCSQ+O4HwdSSMbngceUFuN1w3zQpqk6niyjeF6wiTPZcA=

Hi, all,

 

We’re running a fairly vanilla Grouper installation at this point, with few changes from what the Grouper Installer did. One change is that we’re talking to a remote MySQL database server instead of HSQL.

 

I’ve noticed, the first time we connect to Grouper after a Tomcat restart or after a while of inactivity, things take a while to return – usually longer than the 15 second time-out we have configured in Apache mod_proxy. That means that the first page load usualy results in a 503 from Apache.

 

How would I go about configuring connection pooling and starting up some initial connections on Tomcat start as well as a validation check and occasional retirement/regeneration of db connections? Is there a way to interface something like Tomcat CP or HikariCP with Grouper, or should I just use the options available in the MySQL Connector JAR?

 

Thanks,

Keith

 




Archive powered by MHonArc 2.6.19.

Top of Page