Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO / Net4j] DB connection keep-alive failed Exceptions
[CDO / Net4j] DB connection keep-alive failed Exceptions [message #626190] Wed, 22 September 2010 12:40
techteam is currently offline techteamFriend
Messages: 55
Registered: September 2010
Member
Since some days I get inside the log from my CDO server, that it lost
the connection to the database.
Both are installed on the same PC, and he get back his connection, but
it is interessed why he get this exceptions.

Im run with the latest stable release CDO 3.0 with DBStore an MySQL Backend.

It is a known bug or problem?



!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:21:31.803
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:23:22.571
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 1 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 1 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)


!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:29:42.254
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:31:00.893
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:31:30.953
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 1 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 1 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:37:51.186
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:45:47.367
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:53:34.599
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

!ENTRY org.eclipse.emf.cdo.server.db 4 0 2010-09-22 13:55:29.587
!MESSAGE DB connection keep-alive failed
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception: No
operations allowed after connection closed.Connection was implicitly
closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION **

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: Communications link failure

Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLErr or.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:25 48)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:24 77)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java :1422)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:912)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906)
... 10 more


** END NESTED EXCEPTION **


at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956 )
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926 )
at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.jav a:1115)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2392)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl .java:2374)
at
org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor$Conne ctionKeepAliveTask.run(DBStoreAccessor.java:911)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Previous Topic:Adding a custom property in the properties view
Next Topic:[CDO/Net4j] how to use PostgreSQL driver support?
Goto Forum:
  


Current Time: Mon Oct 14 11:27:28 GMT 2019

Powered by FUDForum. Page generated in 0.01807 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top