JSS maths

My.cnf
max_Connections=(number of database.xml accessing DB*max_poolsize)+1

Server.xml
max Threads=(max_poolsize*3)*database.xml (a per tomcat setting)
e.g so if multi-context jss then there are a minimum of 2 database.xml’s on the host

database.xml
max_poolsize