Hi,

IMHO, the right way to handle this
would be to have the container
track open resource connections.
When the bean instance is then
discarded due to a RuntimeException,
the container can close all open
resource connections.

Best Regards,

Ole Husgaard.


Aaron Mulder wrote:
> 
> On Fri, 9 Feb 2001, marc fleury wrote:
> > RE: [jBoss-User] LOCKING-WAITING (TRANSACTION)Hey was this fixed in the new
> > version? I know we worked with the exception problems...
> 
>         The new version of what?  Not fixed in the new version of Minerva;
> Minerva is never informed when a bean has a runtime exception.  It would
> have to be in an exception handler somewhere to return the connection to
> Minerva.
>         However, the connection(s) would be returned to the pool
> eventually if you have garbage collection enabled in Minerva - but you'd
> have to run it pretty often if this happens a lot, so we should try to fix
> it in the CMP interceptor or whatever which originally checks out the
> connection.
> 
> Aaron

Reply via email to