On Tue, Nov 25, 2008 at 11:22 AM, jordi <[EMAIL PROTECTED]> wrote:
...
>
> Looking at the console log i see this message when redeploying:
>
> A C3P0Registry mbean is already registered. This probably means that an
> application using c3p0 was undeployed, but not all PooledDataSources were
> closed prior to undeployment. This may lead to resource leaks over time.
> Please take care to close all PooledDataSources.
>
> I guess i'll have to clean up some resources before reloading context..

Are you calling close() on the Hibernate SessionFactory? This is very important.

Also I recommend just bringing down the appserver every time. This
idea that webapps can be redeployed while the server remains up is a
bit silly to me.

Dhanji.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to