• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Caused by: com.mysql.jdbc.CommunicationsException

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic