-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [SORRY, A DOUBLE] A C3P0Registry mbean is already registered
PostPosted: Thu Jul 10, 2008 3:40 pm 
Newbie

Joined: Sun Nov 26, 2006 12:53 pm
Posts: 13
Hello everybody.
I'm using Hibernate and C3P0 in my Content Management System.
I have installed 4 instances of the CMS to mantain 4 web sites. The java under each application is obiously the same while the static files and the db (mysql) are differentiated for every instance.

Under Tomcat, when I start the server, I'm receiving this warning at the startup of every app but the first, so from the second app to the last:

Code:
com.mchange.v2.c3p0.management.ActiveManagementCoordinator|WARN - 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.


Since only the first app doesn't cast this warning it is obvious that the next instances try to create their C3P0Registry and C3P0 complains about it.

I've tried to google the problem but I cannot find any good answer to configure my applications or C3P0 or Hibernate or Tomcat to work properly...

I feel that the problem has a very simple solution but I cannot find it, does anyone of you have any idea?

thank you in advance
bluedog


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.