Right now i'm restarting jordi's webapp server when changes happen. There's no doubt that's the easier thing to do, but for seconds you got a 403 on the main page. Just one server at this time... i'll do some fancy 403 twitter-style page and no problem with that.
On Tue, Nov 25, 2008 at 8:27 PM, Dhanji R. Prasanna <[EMAIL PROTECTED]>wrote: > > 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 google-guice@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---