com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago.

coderanch.com | 4 months ago
  1. 0

    Dtabase Connection lost after Updating Application. (Spring forum at JavaRanch)

    coderanch.com | 11 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago.
  2. 0

    Dtabase Connection lost after Updating Application. (Spring forum at Coderanch)

    coderanch.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago.
  3. 0

    Sonar error in database connection with Mysql

    Stack Overflow | 3 years ago | user2863533
    org.sonar.api.database.DatabaseException: Cannot open connection to database: Cannot create PoolableConnectionFactory (Communications link failure Last packet sent to the server was 0 ms ago.)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

    Stack Overflow | 2 years ago | user2342259
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
  6. 0

    Not able to connect to Database with oci8

    Stack Overflow | 3 years ago | SCoder
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-12154: TNS:could not resolve the connect identifier specified

  1. Mathias S 1 times, last 11 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.commons.dbcp.SQLNestedException

    Cannot create PoolableConnectionFactory, cause: Communications link failure Last packet sent to the server was 0 ms ago.

    at org.apache.commons.dbcp.BasicDataSource.createDataSource()
  2. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:825)
    2. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
    2 frames
  3. Spring Framework
    SqlQuery.execute
    1. org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    2. org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    3. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    4. org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    5. org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    6. org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    7. org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:112)
    8. org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:122)
    8 frames
  4. com.insideup.dao
    BaseMappingSqlQuery.execute
    1. com.insideup.dao.jdbc.mapping.BaseMappingSqlQuery.execute(BaseMappingSqlQuery.java:151)
    1 frame
  5. Hibernate
    HibernateTemplate.save
    1. org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
    2. org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:632)
    2 frames
  6. com.insideup.dao
    BaseHibernateDAO.save
    1. com.insideup.dao.hibernate.BaseHibernateDAO.save(BaseHibernateDAO.java:26)
    1 frame
  7. com.insideup.manager
    LeadManager.deliverAllUnsoldLeads
    1. com.insideup.manager.EmailAlertManager.createEmailAlert(EmailAlertManager.java:90)
    2. com.insideup.manager.EmailAlertManager.saveEmailAlert(EmailAlertManager.java:79)
    3. com.insideup.manager.LeadManager.deliverAllUnsoldLeads(LeadManager.java:1669)
    3 frames
  8. com.insideup.process
    LeadDeliveryThread.run
    1. com.insideup.process.LeadDeliveryThread.run(LeadDeliveryThread.java:87)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame