-->
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.  [ 2 posts ] 
Author Message
 Post subject: c3p0 in Eclipse 3.1 plugin: PoolThread timed out
PostPosted: Mon Sep 26, 2005 9:57 am 
Newbie

Joined: Mon Sep 29, 2003 6:59 am
Posts: 3
Hibernate version: 3.0.5

Full stack trace of any exception that occurs:

#1: While loading class "com.mchange.v2.c3p0.impl.NewPooledConnection", thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" timed out waiting (5000ms) for thread "main" to finish starting bundle "org.deltadebugging.ddchange.eclipse.core". To avoid deadlock, thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" is proceeding but "com.mchange.v2.c3p0.impl.NewPooledConnection" may not be fully initialized.

java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:107)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665)
at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)


#2: While loading class "com.mchange.v2.c3p0.util.ConnectionEventSupport", thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" timed out waiting (5000ms) for thread "main" to finish starting bundle "org.deltadebugging.ddchange.eclipse.core". To avoid deadlock, thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" is proceeding but "com.mchange.v2.c3p0.util.ConnectionEventSupport" may not be fully initialized.

java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:85)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:107)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665)
at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)


#3: While loading class "com.mchange.v2.c3p0.impl.C3P0PooledConnection", thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" timed out waiting (5000ms) for thread "main" to finish starting bundle "org.deltadebugging.ddchange.eclipse.core". To avoid deadlock, thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" is proceeding but "com.mchange.v2.c3p0.impl.C3P0PooledConnection" may not be fully initialized.

java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:95)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665)
at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)





Name and version of the database you are using: hsqldb-1.8.0.1

Debug level Hibernate log excerpt:

750 [ main] INFO org.hibernate.cfg.Environment - Hibernate 3.0.5
750 [ main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
750 [ main] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
750 [ main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
890 [ main] INFO rg.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
890 [ main] INFO rg.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
968 [ main] DEBUG bernate.util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
968 [ main] DEBUG bernate.util.DTDEntityResolver - found http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
1015 [ main] DEBUG rg.hibernate.cfg.Configuration - show_sql=false
1015 [ main] DEBUG rg.hibernate.cfg.Configuration - hibernate.c3p0.min_size=5
1015 [ main] DEBUG rg.hibernate.cfg.Configuration - hibernate.c3p0.max_size=20
1015 [ main] DEBUG rg.hibernate.cfg.Configuration - hibernate.c3p0.timeout=1800
1015 [ main] DEBUG rg.hibernate.cfg.Configuration - hibernate.c3p0.max_statements=50
1015 [ main] INFO rg.hibernate.cfg.Configuration - Configured SessionFactory: null
1031 [ main] DEBUG rg.hibernate.cfg.Configuration - properties: {show_sql=false, java.vendor=Sun Microsystems Inc., osgi.bundles.defaultStartLevel=4, org.osgi.supports.framework.extension=true, hibernate.connection.url=jdbc:hsqldb:file:E:\Uni\DiplInf\runtime-workspace\.metadata\.plugins\org.deltadebugging.ddchange.eclipse.core\ddchange_database, osgi.framework.beginningstartlevel=1, os.name=Windows XP, sun.boot.class.path=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\rt.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\i18n.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\sunrsasign.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\jsse.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\jce.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\charsets.jar;C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\classes, osgi.ws=win32, hibernate.c3p0.max_size=20, sun.java2d.fontpath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.4.2_08-b03, hibernate.c3p0.min_size=5, osgi.instance.area=file:/E:/Uni/DiplInf/runtime-workspace/, user.name=Martin Burger, org.osgi.framework.system.packages=javax.accessibility,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers, org.osgi.framework.language=de, hibernate.c3p0.timeout=1800, user.language=de, org.osgi.framework.processor=x86, osgi.syspath=c:\Programme\Entwicklung\IDE\eclipse-SDK-3.1.x\plugins, sun.boot.library.path=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\bin, osgi.manifest.cache=E:\Uni\DiplInf\workspace-3.1.x\.metadata\.plugins\org.eclipse.pde.core\DDChange\org.eclipse.osgi\manifests, org.osgi.framework.bootdelegation=*, java.version=1.4.2_08, org.osgi.framework.os.name=WindowsXP, user.timezone=Europe/Berlin, sun.arch.data.model=32, osgi.bundles=reference:file:C:/Programme/Entwicklung/IDE/eclipse-SDK-3.1.x/plugins/org.eclipse.core.runtime_3.1.0.jar/@2:start,reference:file:C:/Programme/Entwicklung/IDE/eclipse-SDK-3.1.x/plugins/org.eclipse.update.configurator_3.1.0.jar/@3:start, java.endorsed.dirs=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\endorsed, sun.cpu.isalist=pentium i486 i386, eclipse.application=org.eclipse.ui.ide.workbench, file.encoding.pkg=sun.io, org.osgi.framework.vendor=Eclipse, file.separator=\, java.specification.name=Java Platform API Specification, osgi.checkConfiguration=true, hibernate.cglib.use_reflection_optimizer=true, java.class.version=48.0, user.country=DE, osgi.configuration.cascaded=false, java.home=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre, osgi.os=win32, eclipse.commands=-launcher
c:\Programme\Entwicklung\IDE\eclipse-SDK-3.1.x\eclipse
-name
Eclipse
-showsplash
600
-product
org.eclipse.sdk.ide
-data
E:\Uni\DiplInf\runtime-workspace
-configuration
file:E:/Uni/DiplInf/workspace-3.1.x/.metadata/.plugins/org.eclipse.pde.core/DDChange/
-dev
file:E:/Uni/DiplInf/workspace-3.1.x/.metadata/.plugins/org.eclipse.pde.core/DDChange/dev.properties
-pdelaunch
-os
win32
-ws
win32
-arch
x86
, java.vm.info=mixed mode, osgi.splashLocation=C:\Programme\Entwicklung\IDE\eclipse-SDK-3.1.x\plugins\org.eclipse.platform_3.1.0\splash.bmp, os.version=5.1, osgi.arch=x86, path.separator=;, java.vm.version=1.4.2_08-b03, hibernate.connection.password=, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, user.variant=, osgi.framework.shape=jar, java.awt.printerjob=sun.awt.windows.WPrinterJob, java.security.policy=file:/E:/Uni/DiplInf/repository/trunk/ddchange-eclipse-core/wideopen.policy, sun.io.unicode.encoding=UnicodeLittle, org.osgi.framework.version=1.3.0, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=sa, osgi.dev=file:E:/Uni/DiplInf/workspace-3.1.x/.metadata/.plugins/org.eclipse.pde.core/DDChange/dev.properties, osgi.install.area=file:/c:/Programme/Entwicklung/IDE/eclipse-SDK-3.1.x/, osgi.framework=file:/C:/Programme/Entwicklung/IDE/eclipse-SDK-3.1.x/plugins/org.eclipse.osgi_3.1.0.jar, user.home=C:\Dokumente und Einstellungen\Martin Burger, osgi.bundlestore=E:\Uni\DiplInf\workspace-3.1.x\.metadata\.plugins\org.eclipse.pde.core\DDChange\org.eclipse.osgi\bundles, osgi.splashPath=file:C:/Programme/Entwicklung/IDE/eclipse-SDK-3.1.x/plugins/org.eclipse.platform_3.1.0/, java.specification.vendor=Sun Microsystems Inc., osgi.nl=de_DE, java.library.path=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Datei\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\System\ATI Control Panel;C:\Programme\Datei\UltraEdit;E:\Uni\DiplInf\maven\bin;E:\Uni\DiplInf\javahllibs;D:\GnuWin32\bin;C:\Programme\INet\Remote\PuTTY;C:\Programme\Entwicklung\Tools\Subversion\bin, java.vendor.url=http://java.sun.com/, eclipse.startTime=1127741446968, org.osgi.framework.os.version=5.1, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.HSQLDialect, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=c:\Programme\Entwicklung\IDE\eclipse-SDK-3.1.x\startup.jar, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, org.eclipse.jdt.debug.ui.scrapbookActive=false, java.io.tmpdir=C:\DOKUME~1\MARTIN~1\LOKALE~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, eclipse.product=org.eclipse.sdk.ide, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Programme\Entwicklung\Sprachen\Java\j2sdk1.4.2_08\jre\lib\ext, user.dir=C:\Programme\Entwicklung\IDE\eclipse-SDK-3.1.x, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252, osgi.framework.version=3.0.0, java.specification.version=1.4, org.osgi.framework.executionenvironment=J2SE-1.4, hibernate.c3p0.max_statements=50, hibernate.show_sql=false, osgi.logfile=E:\Uni\DiplInf\runtime-workspace\.metadata\.log, osgi.configuration.area=file:/E:/Uni/DiplInf/workspace-3.1.x/.metadata/.plugins/org.eclipse.pde.core/DDChange/}
1031 [ main] INFO rg.hibernate.cfg.Configuration - Mapping resource: TestResult.hbm.xml
1031 [ main] DEBUG bernate.util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
1031 [ main] DEBUG bernate.util.DTDEntityResolver - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
1625 [ main] INFO org.hibernate.cfg.HbmBinder - Mapping class: org.deltadebugging.ddchange.framework.database.result.TestResult -> result
1656 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
1687 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: outcome -> outcome
1687 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: stackTrace -> stacktrace
1687 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: date -> date
1812 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: testCase -> fk_testcase_id
1812 [ main] INFO rg.hibernate.cfg.Configuration - Mapping resource: TestCase.hbm.xml
1812 [ main] DEBUG bernate.util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
1812 [ main] DEBUG bernate.util.DTDEntityResolver - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
1843 [ main] INFO org.hibernate.cfg.HbmBinder - Mapping class: org.deltadebugging.ddchange.framework.database.result.TestCase -> testcase
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: packageName -> package
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: className -> class
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: methodName -> method
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: project -> fk_project_id
1843 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: testResults
1843 [ main] INFO rg.hibernate.cfg.Configuration - Mapping resource: TestProject.hbm.xml
1843 [ main] DEBUG bernate.util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
1859 [ main] DEBUG bernate.util.DTDEntityResolver - found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
1875 [ main] INFO org.hibernate.cfg.HbmBinder - Mapping class: org.deltadebugging.ddchange.framework.database.result.TestProject -> project
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: projectName -> name
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: testCases
1875 [ main] DEBUG rg.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
1875 [ main] INFO rg.hibernate.cfg.Configuration - processing extends queue
1875 [ main] INFO rg.hibernate.cfg.Configuration - processing collection mappings
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Second pass for collection: org.deltadebugging.ddchange.framework.database.result.TestCase.testResults
1875 [ main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: org.deltadebugging.ddchange.framework.database.result.TestCase.testResults -> result
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped collection key: fk_testcase_id, one-to-many: org.deltadebugging.ddchange.framework.database.result.TestResult
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Second pass for collection: org.deltadebugging.ddchange.framework.database.result.TestProject.testCases
1875 [ main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: org.deltadebugging.ddchange.framework.database.result.TestProject.testCases -> testcase
1875 [ main] DEBUG org.hibernate.cfg.HbmBinder - Mapped collection key: fk_project_id, one-to-many: org.deltadebugging.ddchange.framework.database.result.TestCase
1875 [ main] INFO rg.hibernate.cfg.Configuration - processing association property references
1875 [ main] INFO rg.hibernate.cfg.Configuration - processing foreign key constraints
1875 [ main] DEBUG rg.hibernate.cfg.Configuration - resolving reference to class: org.deltadebugging.ddchange.framework.database.result.TestCase
1875 [ main] DEBUG rg.hibernate.cfg.Configuration - resolving reference to class: org.deltadebugging.ddchange.framework.database.result.TestProject
1890 [ main] INFO nection.C3P0ConnectionProvider - C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:file:E:\Uni\DiplInf\runtime-workspace\.metadata\.plugins\org.deltadebugging.ddchange.eclipse.core\ddchange_database
1890 [ main] INFO nection.C3P0ConnectionProvider - Connection properties: {user=sa, password=****}
1890 [ main] INFO nection.C3P0ConnectionProvider - autocommit mode: false
1937 [ main] INFO com.mchange.v2.log.MLog - MLog clients using log4j logging.
2015 [ main] INFO m.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true; trace: 10]
2406 [ main] INFO e.v2.c3p0.PoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@fef26a [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1f825cc [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1f825cc, idleConnectionTestPeriod -> 0, initialPoolSize -> 5, maxIdleTime -> 1800, maxPoolSize -> 20, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@18af9c0 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 18af9c0, jdbcUrl -> jdbc:hsqldb:file:E:\Uni\DiplInf\runtime-workspace\.metadata\.plugins\org.deltadebugging.ddchange.eclipse.core\ddchange_database, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> fef26a, numHelperThreads -> 3 ]
2453 [ main] DEBUG resourcepool.BasicResourcePool - awaitAvailable(): [unknown]
2453 [ main] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 0, unused: 0, excluded: 0]
17937 [r$PoolThread-#0] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 1, unused: 1, excluded: 0]
17937 [ main] DEBUG resourcepool.BasicResourcePool - resource age is okay: com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999 ---> age: 0 max: 1800000 [com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9]
17937 [ main] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 1, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999)
17937 [r$PoolThread-#1] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 2, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999)
17937 [r$PoolThread-#0] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999)
17937 [r$PoolThread-#0] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 4, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999)
17937 [r$PoolThread-#0] DEBUG resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@1a4a1c9 [managed: 5, unused: 4, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1fe9999)
18015 [ main] INFO .hibernate.cfg.SettingsFactory - RDBMS: HSQL Database Engine, version: 1.8.0
18015 [ main] INFO .hibernate.cfg.SettingsFactory - JDBC driver: HSQL Database Engine Driver, version: 1.8.0
18015 [ main] DEBUG c3p0.stmt.GooGooStatementCache - checkinAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
[...]

Hello!

I'm developing an "Automated Debugging Framework" that uses Hibernate. If I use that framework in a Maven plugin everything will work as expected. But if I use the framework in an Eclipse 3.1 plugin, I will have some problems with Hibernate and / or c3p0.

The initialization of c3p0 takes a long time and results in a time out.

Any ideas about the cause of that time out?

Here's my configuration of c3p0:

<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">1800</property>
<property name="hibernate.c3p0.max_statements">50</property>


Regards,

Martin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 26, 2005 11:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
maybe eclipses propritairy classloading is having fun with you.

_________________
Max
Don't forget to rate


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

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.