Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caused by: com.mysql.jdbc.CommunicationsException

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I have the development version of the forum, and I�m getting that issue. Seems that the connection with my database is broken, then I refresh a few times, and click some links again and it starts working fine.

Any idea about what�s the problem?

Tks,


Sannon
[originally posted on jforum.net by Sannon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting similar issue with JForum 2.1.6 and Mysql 5.0 with Resin server.

Does anyone have a solution? Please let me know?



com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:



** BEGIN NESTED EXCEPTION **



java.io.EOFException



STACKTRACE:



java.io.EOFException

at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1903)

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2349)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2978)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:933)

at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1027)

at net.jforum.dao.generic.GenericUserDAO.selectById(GenericUserDAO.java:93)

at com.ateapps.tms.common.jforumadapter.UserAdapter.getUserDetails(UserAdapter.java:32)

at com.ateapps.tms.common.jforumadapter.ForumAdapter.addNewForum(ForumAdapter.java:56)

at com.ateapps.tms.common.scheduler.SendListBase.associateForum(SendListBase.java:353)

at com.ateapps.tms.common.scheduler.SendListBase.preProcessTask(SendListBase.java:269)

at com.ateapps.tms.common.scheduler.GeneralTaskSendList.processList(GeneralTaskSendList.java:132)

at com.ateapps.tms.common.messaging.JMSProxy.processSendList(JMSProxy.java:50)

at com.ateapps.tms.common.messaging.JMSProxy.handleMessage(JMSProxy.java:29)

at com.ateapps.tms.common.messaging.TaskSenderJob.execute(TaskSenderJob.java:53)

at org.quartz.core.JobRunShell.run(JobRunShell.java:191)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)





** END NESTED EXCEPTION **







Last packet sent to the server was 177 ms ago.

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:



** BEGIN NESTED EXCEPTION **



java.io.EOFException



STACKTRACE:



java.io.EOFException

at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1903)

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2349)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2978)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:933)

at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1027)

at net.jforum.dao.generic.GenericUserDAO.selectById(GenericUserDAO.java:93)

at com.ateapps.tms.common.jforumadapter.UserAdapter.getUserDetails(UserAdapter.java:32)

at com.ateapps.tms.common.jforumadapter.ForumAdapter.addNewForum(ForumAdapter.java:56)

at com.ateapps.tms.common.scheduler.SendListBase.associateForum(SendListBase.java:353)

at com.ateapps.tms.common.scheduler.SendListBase.preProcessTask(SendListBase.java:269)

at com.ateapps.tms.common.scheduler.GeneralTaskSendList.processList(GeneralTaskSendList.java:132)

at com.ateapps.tms.common.messaging.JMSProxy.processSendList(JMSProxy.java:50)

at com.ateapps.tms.common.messaging.JMSProxy.handleMessage(JMSProxy.java:29)

at com.ateapps.tms.common.messaging.TaskSenderJob.execute(TaskSenderJob.java:53)

at org.quartz.core.JobRunShell.run(JobRunShell.java:191)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)





** END NESTED EXCEPTION **







Last packet sent to the server was 177 ms ago.

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2561)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2978)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:933)

at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1027)

at net.jforum.dao.generic.GenericUserDAO.selectById(GenericUserDAO.java:93)

at com.ateapps.tms.common.jforumadapter.UserAdapter.getUserDetails(UserAdapter.java:32)

at com.ateapps.tms.common.jforumadapter.ForumAdapter.addNewForum(ForumAdapter.java:56)

at com.ateapps.tms.common.scheduler.SendListBase.associateForum(SendListBase.java:353)

at com.ateapps.tms.common.scheduler.SendListBase.preProcessTask(SendListBase.java:269)

at com.ateapps.tms.common.scheduler.GeneralTaskSendList.processList(GeneralTaskSendList.java:132)

at com.ateapps.tms.common.messaging.JMSProxy.processSendList(JMSProxy.java:50)

at com.ateapps.tms.common.messaging.JMSProxy.handleMessage(JMSProxy.java:29)

at com.ateapps.tms.common.messaging.TaskSenderJob.execute(TaskSenderJob.java:53)

at org.quartz.core.JobRunShell.run(JobRunShell.java:191)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

2006-10-31 22:09:01,863 ERROR com.ateapps.tms.common.scheduler.GeneralTaskSendList -- : In processList :com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:



** BEGIN NESTED EXCEPTION **



java.io.EOFException



STACKTRACE:



java.io.EOFException

at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1903)

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2349)

[originally posted on jforum.net by LEENA]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic