Hacked up a new chunk of pooling code for Stateless beans that allows
the pool to shrink down at some point after the max is hit. It also
allows for a minimum to be set. The mix is achieved via a combination
of hard references and SoftReference objects.
The tests for the pool itself and the
StatelessInstanceManagerPoolingTest work fine, but for some reason
when all tests are running together things eventually lockup. I've
tried to 'kill -QUIT' the test process to see where it's locked, but
for some reason I can't seem to find where the output is going, it's
not in the surefire output. Not sure there is some maven option I
need to set.
Looking for some help in finding the issue. I've attached a patch to
this JIRA:
http://issues.apache.org/jira/browse/OPENEJB-1235
Any tips welcome.
-David