I am Using wildfly-9.0.0 and what i see that the connections are not getting properly , connections goes to ESTABLISHED state and then remain on the same state and the no of connections are increasing on daily basis.
| <subsystem xmlns="urn:jboss:domain:ejb3:3.0"> | |
| <session-bean> | |
| <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/> | |
| <singleton default-access-timeout="5000"/> | |
| </session-bean> | |
| <mdb> | |
| <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra.rar}"/> | |
| <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/> | |
| </mdb> | |
| <pools> | |
| <bean-instance-pools> | |
| <strict-max-pool name="slsb-strict-max-pool" max-pool-size="5" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="SECONDS"/> | |
| <strict-max-pool name="mdb-strict-max-pool" max-pool-size="5" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="SECONDS"/> | |
| </bean-instance-pools> | |
| </pools> |