-->
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.  [ 3 posts ] 
Author Message
 Post subject: c3p0 error
PostPosted: Wed Mar 11, 2009 10:09 am 
Newbie

Joined: Wed Mar 11, 2009 10:04 am
Posts: 2
I don't know why ... because I didn't make changes from when my app went right... but after stats tomcat to run my app suddenly shows this trace message. It's anything about c3p0, something that I've never modify. I'm loss :(

2009-03-11 14:54:21,615 0 [Thread-1] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
2009-03-11 14:54:21,678 63 [Thread-1] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1aa9f99: display name [Root WebApplicationContext]; startup date [Wed Mar 11 14:54:21 CET 2009]; root of context hierarchy
2009-03-11 14:54:21,880 265 [Thread-1] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2009-03-11 14:54:21,958 343 [Thread-1] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1aa9f99]: org.springframework.beans.factory.support.DefaultListableBeanFactory@17494c8
2009-03-11 14:54:21,974 359 [Thread-1] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17494c8: defining beans []; root of factory hierarchy
2009-03-11 14:54:21,974 359 [Thread-1] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 343 ms
2009-03-11 14:54:22,177 562 [Thread-1] INFO com.opensymphony.xwork2.config.providers.XmlConfigurationProvider - Parsing configuration file [struts-default.xml]
2009-03-11 14:54:22,286 671 [Thread-1] INFO com.opensymphony.xwork2.config.providers.XmlConfigurationProvider - Parsing configuration file [struts-plugin.xml]
2009-03-11 14:54:22,333 718 [Thread-1] INFO com.opensymphony.xwork2.config.providers.XmlConfigurationProvider - Parsing configuration file [struts.xml]
2009-03-11 14:54:22,442 827 [Thread-1] INFO org.apache.struts2.spring.StrutsSpringObjectFactory - Initializing Struts-Spring integration...
2009-03-11 14:54:22,442 827 [Thread-1] INFO com.opensymphony.xwork2.spring.SpringObjectFactory - Setting autowire strategy to name
2009-03-11 14:54:22,442 827 [Thread-1] INFO org.apache.struts2.spring.StrutsSpringObjectFactory - ... initialized Struts-Spring integration successfully
2009-03-11 14:54:22,941 1326 [Thread-1] INFO com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory - Setting DefaultObjectTypeDeterminer as default ...
2009-03-11 14:54:48,748 27133 [http-8080-1] INFO com.opensymphony.xwork2.validator.ActionValidatorManagerFactory - Detected AnnotationActionValidatorManager, initializing it...
2009-03-11 14:54:49,044 27429 [http-8080-1] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.CR1
2009-03-11 14:54:49,169 27554 [http-8080-1] INFO org.hibernate.cfg.Environment - Hibernate 3.2.6
2009-03-11 14:54:49,169 27554 [http-8080-1] INFO org.hibernate.cfg.Environment - hibernate.properties not found
2009-03-11 14:54:49,200 27585 [http-8080-1] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
2009-03-11 14:54:49,200 27585 [http-8080-1] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
2009-03-11 14:54:49,309 27694 [http-8080-1] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.1.0.CR1
2009-03-11 14:54:49,309 27694 [http-8080-1] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
2009-03-11 14:54:49,309 27694 [http-8080-1] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
2009-03-11 14:54:49,949 28334 [http-8080-1] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
2009-03-11 14:54:50,105 28490 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.Area
2009-03-11 14:54:50,198 28583 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.Area on table TB_AREAS
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.BalanceValoracionesVersion
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.BalanceValoracionesVersion on table TB_BALANCE_VALORACIONES_VERSION
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.ContactoFavorito
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.ContactoFavorito on table TB_CONTACTOS_FAVORITOS
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.CriterioValoracionVersion
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.CriterioValoracionVersion on table TB_CRITERIOS_VALORACION
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.EstadoInvitacionProcesoRevision
2009-03-11 14:54:50,354 28739 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.EstadoInvitacionProcesoRevision on table TB_ESTADO_INVITACIONES_PROCESO_REVISION
2009-03-11 14:54:50,417 28802 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.EstadoPublicacion
2009-03-11 14:54:50,417 28802 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.EstadoPublicacion on table TB_ESTADO_PUBLICACIONES
2009-03-11 14:54:50,448 28833 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.EstadoVersionPublicacion
2009-03-11 14:54:50,448 28833 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.EstadoVersionPublicacion on table TB_ESTADO_VERSIONES_PUBLICACION
2009-03-11 14:54:50,464 28849 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.EstadoProcesoRevision
2009-03-11 14:54:50,464 28849 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.EstadoProcesoRevision on table TB_ESTADO_PROCESOS_REVISION
2009-03-11 14:54:50,479 28864 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.InvitacionProcesoRevision
2009-03-11 14:54:50,479 28864 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.InvitacionProcesoRevision on table TB_INVITACIONES_PROCESO_REVISION
2009-03-11 14:54:50,479 28864 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.Keyword
2009-03-11 14:54:50,479 28864 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.Keyword on table TB_KEYWORDS
2009-03-11 14:54:50,495 28880 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.Notificacion
2009-03-11 14:54:50,495 28880 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.Notificacion on table TB_NOTIFICACIONES
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.ParticipacionRevision
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.ParticipacionRevision on table TB_PARTICIPACIONES_REVISION
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.PeticionBajaUsuario
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.PeticionBajaUsuario on table TB_PETICIONES_BAJA_USUARIO
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.ProcesoRevision
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.ProcesoRevision on table TB_PROCESOS_REVISION
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.Publicacion
2009-03-11 14:54:50,526 28911 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.Publicacion on table TB_PUBLICACIONES
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.PuntoCorreccion
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.PuntoCorreccion on table TB_PUNTOS_CORRECCION
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.RegistroValoracionVersion
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.RegistroValoracionVersion on table TB_REGISTROS_VALORACION_VERSION
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.RolUsuario
2009-03-11 14:54:50,542 28927 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.RolUsuario on table TB_ROLES_USUARIO
2009-03-11 14:54:50,573 28958 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.Usuario
2009-03-11 14:54:50,573 28958 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.Usuario on table TB_USUARIOS
2009-03-11 14:54:50,588 28973 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.ValoracionVersion
2009-03-11 14:54:50,588 28973 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.ValoracionVersion on table TB_VALORACIONES_VERSION
2009-03-11 14:54:50,588 28973 [http-8080-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: publiciencias.entidades.VersionPublicacion
2009-03-11 14:54:50,588 28973 [http-8080-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity publiciencias.entidades.VersionPublicacion on table TB_VERSIONES_PUBLICACION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Area.peticionesBajaUsuario -> TB_PETICIONES_BAJA_USUARIO
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Area.publicaciones -> TB_PUBLICACIONES
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.BalanceValoracionesVersion.registros -> TB_REGISTROS_VALORACION_VERSION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.CriterioValoracionVersion.registros -> TB_REGISTROS_VALORACION_VERSION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.ProcesoRevision.invitacionesProcesoRevision -> TB_INVITACIONES_PROCESO_REVISION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.ProcesoRevision.participacionesRevisiones -> TB_PARTICIPACIONES_REVISION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.ProcesoRevision.puntosCorreccion -> TB_PUNTOS_CORRECCION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Publicacion.keywords -> TB_KEYWORDS
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Publicacion.versiones -> TB_VERSIONES_PUBLICACION
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.RolUsuario.contactosFavoritos -> TB_CONTACTOS_FAVORITOS
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.contactosFavoritos -> TB_CONTACTOS_FAVORITOS
2009-03-11 14:54:50,682 29067 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.invitacionesProcesoRevision -> TB_INVITACIONES_PROCESO_REVISION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.notificacionesEnviadas -> TB_NOTIFICACIONES
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.notificacionesRecibidas -> TB_NOTIFICACIONES
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.participacionesRevisiones -> TB_PARTICIPACIONES_REVISION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.peticionesBajaUsuario -> TB_PETICIONES_BAJA_USUARIO
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.publicaciones -> TB_PUBLICACIONES
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.puntosCorreccion -> TB_PUNTOS_CORRECCION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.roles -> TB_ROLES_USUARIO
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.Usuario.valoracionesVersion -> TB_VALORACIONES_VERSION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.ValoracionVersion.registros -> TB_REGISTROS_VALORACION_VERSION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: publiciencias.entidades.VersionPublicacion.valoraciones -> TB_VALORACIONES_VERSION
2009-03-11 14:54:50,698 29083 [http-8080-1] INFO org.hibernate.cfg.AnnotationConfiguration - Hibernate Validator not found: ignoring
2009-03-11 14:54:51,462 29847 [http-8080-1] INFO org.hibernate.connection.C3P0ConnectionProvider - C3P0 using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/publicienciasbd
2009-03-11 14:54:51,462 29847 [http-8080-1] INFO org.hibernate.connection.C3P0ConnectionProvider - Connection properties: {user=root, password=****}
2009-03-11 14:54:51,462 29847 [http-8080-1] INFO org.hibernate.connection.C3P0ConnectionProvider - autocommit mode: false
2009-03-11 14:54:51,462 29847 [http-8080-1] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.max_size' and c3p0-style property 'c3p0.max_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.max_size' will be used and c3p0-style property 'c3p0.max_size' will be ignored!
2009-03-11 14:54:51,462 29847 [http-8080-1] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.min_size' and c3p0-style property 'c3p0.min_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.min_size' will be used and c3p0-style property 'c3p0.min_size' will be ignored!
2009-03-11 14:54:51,462 29847 [http-8080-1] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.timeout' and c3p0-style property 'c3p0.timeout' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.timeout' will be used and c3p0-style property 'c3p0.timeout' will be ignored!
2009-03-11 14:54:51,524 29909 [http-8080-1] INFO com.mchange.v2.log.MLog - MLog clients using log4j logging.
2009-03-11 14:54:51,821 30206 [http-8080-1] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
2009-03-11 14:54:51,883 30268 [http-8080-1] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@49373e46 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@f0c6da13 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge1427z1w7dao31okh87h|5b28c9, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 5, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@f5a1bdba [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1hge1427z1w7dao31okh87h|1db4492, jdbcUrl -> jdbc:mysql://localhost/publicienciasbd, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1hge1427z1w7dao31okh87h|13acc52, numHelperThreads -> 3 ]
2009-03-11 14:55:51,370 89755 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2b2af3 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2104)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:729)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2027)
... 16 more
2009-03-11 14:55:51,370 89755 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1e2c9bf -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 0 ms ago.


Top
 Profile  
 
 Post subject: solved c3p0 error . STUPID
PostPosted: Wed Mar 11, 2009 1:40 pm 
Newbie

Joined: Wed Mar 11, 2009 10:04 am
Posts: 2
Solved replacing ocurrences of "localhost:3306" in conf files to "127.0.0.1:3306"

UNBELIEVABLE!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 12, 2009 12:23 am 
Newbie

Joined: Thu Mar 12, 2009 12:18 am
Posts: 1
I had this same problem start on March 9th and this fix worked for me as well. Has anyone determined the root cause of this? Seems like too much of a coincidence that we both had the problem start on or around the same day.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.