Re: Brokers leak

2006-04-20 Thread Bruno CROS
why not, but how i known that pool have unclosed brokers? I thought about wrap all my broker usages to register open and close operations. But it will be so great to check directly inside broker pool, all the too old given brokers. Broker older than 2 minutes would be a good indication. If i ha

Re: Brokers leak

2006-04-20 Thread Jon_French
Here's one brute force idea: Put a javax.servlet.Filter across every URL ("/*") of your application. Then check for an unclosed broker after calling FilterChain.doFilter(...) like this: public void doFilter( ServletRequest aRequest, ServletRespon