com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Communications link failure during commit(). Transaction resolution unknown.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via iteye.com by Unknown author, 1 year ago
Communications link failure during commit(). Transaction resolution unknown.
via coderanch.com by Unknown author, 2 years ago
Communications link failure during commit(). Transaction resolution unknown.
via Coderanch by Sun Nansong, 1 year ago
Communications link failure during commit(). Transaction resolution unknown.
via pentaho.com by Unknown author, 2 years ago
via coderanch.com by Unknown author, 1 year ago
Server connection failure during transaction. Due to underlying exception: ' : Access denied for user 'root'@'myip' (using password: YES)'. ** BEGIN NESTED EXCEPTION ** MESSAGE: Access denied for user 'root'@'myip' (using password: YES) STACKTRACE: : Access denied for user 'root'@'myip' (using password: YES)
via Google Groups by John C. Bland II, 5 months ago
Communication link failure, message from server: "Can't get hostname for your address"
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Communications link failure during commit(). Transaction resolution unknown.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.ConnectionImpl.commit(ConnectionImpl.java:1552)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:170)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)
at org.compass.spring.transaction.SpringSyncTransaction.doCommit(SpringSyncTransaction.java:135)
at org.compass.core.transaction.AbstractTransaction.commit(AbstractTransaction.java:46)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:134)
at org.compass.gps.impl.SingleCompassGps.executeForIndex(SingleCompassGps.java:147)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.