we've encountered situations where our connection pool fills up and can't get any more connections. this does indicate a possible leak or error somewhere, but what we would like to have is a way for an snmp trap to be sent when the pool reaches say 90% utilization or so.
i notice jboss has an snmp adapter service to send traps/notifcations. what I'm unsure of is how to tie the connection pool reaching 90% to the snmp service. any pointers would be most appreciated.