Use a filter:
Open connection
try {
  doFilter
} finally {
  Close connection
}
_________________________________________
Robert Leland                 INTEGRITYOne (Formerly PRIZUM)
P: (703) 581-6522                       1900 Campus Commons Drive
F: (703) 476-7405                        Reston, VA 20191
[EMAIL PROTECTED]


BUSINESS CONSULTING | TECHNOLOGY SOLUTIONS | INNOVATION R&D

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Davis
> Sent: Thursday, July 26, 2007 10:48
> To: resin-interest@caucho.com
> Subject: [Resin-interest] Dangling Connections
> 
> Hey list,
> 
> I'm trying to find information on how the error about closing 
> all dangling connections gets generated.
> 
> I'm using a library that works by attaching a connection to 
> each request and closes it automatically using a 
> ServletRequestListener. As far as I can tell, this behavior 
> is causing resin to spit out copious errors about not closing 
> dangling connections.
> 
> Is there a way to do something similar that won't trigger this error?
> Or a way to disable the behavior entirely?
> 
> Thanks,
> Paul Davis
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to