What is wrong in my jdbc config pool?
Go into my.cnf (or my.ini).  Increase (or set) max_user_connections in the [mysqld] section.

Also check max_connections; the 197 may be bumping up against that.

Do you really have a single user connecting more than 40 times?  Or is the "connection pooling" inflating things?