Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO / Net4j]Connection Problems
[CDO / Net4j]Connection Problems [message #626238] Wed, 22 September 2010 12:58 Go to next message
techteam is currently offline techteamFriend
Messages: 55
Registered: September 2010
Member
This is a multi-part message in MIME format.
--------------000002040205050600020002
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
inside my RCP Client, I use the following code to create a CDO
connection and load a resource:

IManagedContainer container = IPluginContainer.INSTANCE;
connector = TCPUtil.getConnector(container, cdoHost+":"+cdoPort);
CDOSessionConfiguration config = CDONet4jUtil.createSessionConfiguration();
PasswordCredentialsProvider credentialsProvider = new
PasswordCredentialsProvider(user, password);
config.getAuthenticator().setCredentialsProvider(credentials Provider);
config.setConnector(connector);
config.setRepositoryName(REPOSITORY_NAME);
container.activate();
cdoSession=config.openSession();
view=cdoSession().openView();
view.options().addChangeSubscriptionPolicy(CDOAdapterPolicy. ALL);
view.getResource("/", true).getContents().get(0);


Most time it works very well, but sometime I get some exceptions while
connecting to the cdo server.

If I see it right, the problem are inside the DBStore, but I can't
idendify the real reason, what's wrong on the server side.

Maybe, it depends from my other problem, with the DB connection.
http://www.eclipse.org/forums/index.php?t=msg&th=196461& amp;start=0&S=73256d651da1d0d190868cee9b747704

Has somebody the same problems or knows how to fix it?

Greetings
Heiko

Here are my log from server side and client side:



--------------000002040205050600020002
Content-Type: text/plain;
name="Client.log"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
filename="Client.log"

[ERROR] org.eclipse.net4j.db.DBException
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] java.sql.SQLNonTransientConnectionException
java.lang.ClassNotFoundException: java.sql.SQLNonTransientConnectionException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] java.sql.SQLNonTransientException
java.lang.ClassNotFoundException: java.sql.SQLNonTransientException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] org.eclipse.net4j.db.DBException
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.jav a:585)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:150)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)


!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.796
!MESSAGE org.eclipse.net4j.db.DBException
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.796
!MESSAGE com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
!STACK 0
java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.796
!MESSAGE java.sql.SQLNonTransientConnectionException
!STACK 0
java.lang.ClassNotFoundException: java.sql.SQLNonTransientConnectionException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.812
!MESSAGE java.sql.SQLNonTransientException
!STACK 0
java.lang.ClassNotFoundException: java.sql.SQLNonTransientException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.812
!MESSAGE org.eclipse.net4j.db.DBException
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.jav a:585)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:150)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] org.eclipse.net4j.db.DBException
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] java.sql.SQLNonTransientConnectionException
java.lang.ClassNotFoundException: java.sql.SQLNonTransientConnectionException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] java.sql.SQLNonTransientException
java.lang.ClassNotFoundException: java.sql.SQLNonTransientException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[ERROR] org.eclipse.net4j.db.DBException
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.jav a:585)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:150)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.937
!MESSAGE org.eclipse.net4j.db.DBException
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.937
!MESSAGE com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
!STACK 0
java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionE xception
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.953
!MESSAGE java.sql.SQLNonTransientConnectionException
!STACK 0
java.lang.ClassNotFoundException: java.sql.SQLNonTransientConnectionException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.953
!MESSAGE java.sql.SQLNonTransientException
!STACK 0
java.lang.ClassNotFoundException: java.sql.SQLNonTransientException
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:418)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.net4j.util.io.ExtendedIOUtil$ClassLoaderClassRes olver.resolveClass(ExtendedIOUtil.java:276)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:143)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.net4j.util 4 0 2010-09-22 14:02:33.953
!MESSAGE org.eclipse.net4j.db.DBException
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.net4j.db.DBException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.jav a:585)
at org.eclipse.net4j.util.io.ExtendedIOUtil$3.resolveClass(Exte ndedIOUtil.java:150)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 348)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:157)
at org.eclipse.net4j.util.io.ExtendedIOUtil.readObject(Extended IOUtil.java:111)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readObject (ExtendedDataInputStream.java:54)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:46)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:315)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.ui.workbench 4 0 2010-09-22 14:02:34.031
!MESSAGE Unable to create view ID de. ... .SessionsView: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.db.DBException: 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 org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache.createCachedPreparedStatement(SmartPreparedStatementC ache.java:84)
at org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache.getPreparedStatement(SmartPreparedStatementCache.java :43)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.Ho rizontalAuditClassMapping.readRevision(HorizontalAuditClassM apping.java:256)
at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.readR evision(DBStoreAccessor.java:204)
at org.eclipse.emf.cdo.internal.server.Repository.loadRevisions (Repository.java:412)
at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.loadRevisions(CDORevisionManagerImpl.java:365)
at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevisions(CDORevisionManagerImpl.java:268)
at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:250)
at org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.execute (RevisionInfo.java:131)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.LoadRevis ionsIndication.responding(LoadRevisionsIndication.java:169)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServer Indication.responding(CDOServerIndication.java:126)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:285)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOReadIn dication.execute(CDOReadIndication.java:36)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:240)
at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: 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.prepareStatement(ConnectionImp l.java:4111)
at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImp l.java:4077)
at org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache.createCachedPreparedStatement(SmartPreparedStatementC ache.java:79)
... 19 more

!STACK 0
org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.db.DBException: 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 org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache.createCachedPreparedStatement(SmartPreparedStatementC ache.java:84)
at org.eclipse.emf.cdo.server.internal.db.SmartPreparedStatemen tCache.getPreparedStatement(SmartPreparedStatementCache.java :43)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.Ho rizontalAuditClassMapping.readRevision(HorizontalAuditClassM apping.java:256)
at org.eclipse.emf.cdo.server.internal.db.DBStoreAcce
Re: [CDO / Net4j]Connection Problems [message #626501 is a reply to message #626238] Wed, 22 September 2010 15:33 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi Heiko,

it looks like you have a problem with your server-to-database
connection. If you get the
> MESSAGE: Communications link failure
>
> Last packet sent to the server was 0 ms ago.
>
> STACKTRACE:
>
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
already if you execute your startup code:

> IManagedContainer container = IPluginContainer.INSTANCE;
> connector = TCPUtil.getConnector(container, cdoHost+":"+cdoPort);
> CDOSessionConfiguration config =
> CDONet4jUtil.createSessionConfiguration();
> PasswordCredentialsProvider credentialsProvider = new
> PasswordCredentialsProvider(user, password);
> config.getAuthenticator().setCredentialsProvider(credentials Provider);
> config.setConnector(connector);
> config.setRepositoryName(REPOSITORY_NAME);
> container.activate();
> cdoSession=config.openSession();
> view=cdoSession().openView();
> view.options().addChangeSubscriptionPolicy(CDOAdapterPolicy. ALL);
> view.getResource("/", true).getContents().get(0);

and as you say

> Most time it works very well, but sometime I get some exceptions while
> connecting to the cdo server.

Then you have an unstable connection between your CDO server and the
MySQL Database.
Do they live on the same machine?
Could a firewall interfere with your connection?

All in all, this looks less like a CDO problem and more like a DB- or
general server configuration issue ...


Cheers,
Stefan





>
> If I see it right, the problem are inside the DBStore, but I can't
> idendify the real reason, what's wrong on the server side.
>
> Maybe, it depends from my other problem, with the DB connection.
> http://www.eclipse.org/forums/index.php?t=msg&th=196461& amp;start=0&S=73256d651da1d0d190868cee9b747704
>
>
> Has somebody the same problems or knows how to fix it?
>
> Greetings
> Heiko
>
> Here are my log from server side and client side:
>
>
Re: [CDO / Net4j]Connection Problems [message #626502 is a reply to message #626501] Wed, 22 September 2010 15:35 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi Heiko,

I am no database expert, but as far as I remember MySQL closes any open
connection after 8 (?) hours. Does your system run far that long?

If so you should try to increase MySQL's default timeout.

Cheers,

Martin

Am 22.09.2010 17:33, schrieb Stefan Winkler:
> Hi Heiko,
>
> it looks like you have a problem with your server-to-database
> connection. If you get the
>> MESSAGE: Communications link failure
>>
>> Last packet sent to the server was 0 ms ago.
>>
>> STACKTRACE:
>>
>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
> already if you execute your startup code:
>
>> IManagedContainer container = IPluginContainer.INSTANCE;
>> connector = TCPUtil.getConnector(container, cdoHost+":"+cdoPort);
>> CDOSessionConfiguration config =
>> CDONet4jUtil.createSessionConfiguration();
>> PasswordCredentialsProvider credentialsProvider = new
>> PasswordCredentialsProvider(user, password);
>> config.getAuthenticator().setCredentialsProvider(credentials Provider);
>> config.setConnector(connector);
>> config.setRepositoryName(REPOSITORY_NAME);
>> container.activate();
>> cdoSession=config.openSession();
>> view=cdoSession().openView();
>> view.options().addChangeSubscriptionPolicy(CDOAdapterPolicy. ALL);
>> view.getResource("/", true).getContents().get(0);
>
> and as you say
>
>> Most time it works very well, but sometime I get some exceptions while
>> connecting to the cdo server.
>
> Then you have an unstable connection between your CDO server and the
> MySQL Database.
> Do they live on the same machine?
> Could a firewall interfere with your connection?
>
> All in all, this looks less like a CDO problem and more like a DB- or
> general server configuration issue ...
>
>
> Cheers,
> Stefan
>
>
>
>
>
>>
>> If I see it right, the problem are inside the DBStore, but I can't
>> idendify the real reason, what's wrong on the server side.
>>
>> Maybe, it depends from my other problem, with the DB connection.
>> http://www.eclipse.org/forums/index.php?t=msg&th=196461& amp;start=0&S=73256d651da1d0d190868cee9b747704
>>
>>
>> Has somebody the same problems or knows how to fix it?
>>
>> Greetings
>> Heiko
>>
>> Here are my log from server side and client side:
>>
>>
Re: [CDO / Net4j]Connection Problems [message #628648 is a reply to message #626502] Thu, 23 September 2010 14:22 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi Martin,

yes it does. But in CDO, we have a keep-alive timer which issues a query
on any open connection every few hours to prevent the inactivity timeout.

Cheers,
Stefan


Am 22.09.2010 17:35, schrieb Martin Flügge:
> Hi Heiko,
>
> I am no database expert, but as far as I remember MySQL closes any open
> connection after 8 (?) hours. Does your system run far that long?
>
> If so you should try to increase MySQL's default timeout.
>
> Cheers,
>
> Martin
>
> Am 22.09.2010 17:33, schrieb Stefan Winkler:
>> Hi Heiko,
>>
>> it looks like you have a problem with your server-to-database
>> connection. If you get the
>>> MESSAGE: Communications link failure
>>>
>>> Last packet sent to the server was 0 ms ago.
>>>
>>> STACKTRACE:
>>>
>>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
>> already if you execute your startup code:
>>
>>> IManagedContainer container = IPluginContainer.INSTANCE;
>>> connector = TCPUtil.getConnector(container, cdoHost+":"+cdoPort);
>>> CDOSessionConfiguration config =
>>> CDONet4jUtil.createSessionConfiguration();
>>> PasswordCredentialsProvider credentialsProvider = new
>>> PasswordCredentialsProvider(user, password);
>>> config.getAuthenticator().setCredentialsProvider(credentials Provider);
>>> config.setConnector(connector);
>>> config.setRepositoryName(REPOSITORY_NAME);
>>> container.activate();
>>> cdoSession=config.openSession();
>>> view=cdoSession().openView();
>>> view.options().addChangeSubscriptionPolicy(CDOAdapterPolicy. ALL);
>>> view.getResource("/", true).getContents().get(0);
>> and as you say
>>
>>> Most time it works very well, but sometime I get some exceptions while
>>> connecting to the cdo server.
>> Then you have an unstable connection between your CDO server and the
>> MySQL Database.
>> Do they live on the same machine?
>> Could a firewall interfere with your connection?
>>
>> All in all, this looks less like a CDO problem and more like a DB- or
>> general server configuration issue ...
>>
>>
>> Cheers,
>> Stefan
>>
>>
>>
>>
>>
>>> If I see it right, the problem are inside the DBStore, but I can't
>>> idendify the real reason, what's wrong on the server side.
>>>
>>> Maybe, it depends from my other problem, with the DB connection.
>>> http://www.eclipse.org/forums/index.php?t=msg&th=196461& amp;start=0&S=73256d651da1d0d190868cee9b747704
>>>
>>>
>>> Has somebody the same problems or knows how to fix it?
>>>
>>> Greetings
>>> Heiko
>>>
>>> Here are my log from server side and client side:
>>>
>>>
Re: [CDO / Net4j]Connection Problems [message #628977 is a reply to message #628648] Sat, 25 September 2010 09:02 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi Stefan,

Am 23.09.2010 16:22, schrieb Stefan Winkler:
> Hi Martin,
>
> yes it does. But in CDO, we have a keep-alive timer which issues a query
> on any open connection every few hours to prevent the inactivity timeout.
>

That's good to know. Thanks for the information ;)

Cheers,

Martin

> Cheers,
> Stefan
>
Re: [CDO / Net4j]Connection Problems [message #629086 is a reply to message #626501] Mon, 27 September 2010 07:28 Go to previous message
techteam is currently offline techteamFriend
Messages: 55
Registered: September 2010
Member
Hi Stefan,
thanks for your answer.
CDO server and MySQL running on the same PC and there is no firewall for
this port activated.

I will check it with another new configered cdo server, if it has the
same problems.

Greetings
Heiko

Am 22.09.2010 17:33, schrieb Stefan Winkler:
> Hi Heiko,
>
> it looks like you have a problem with your server-to-database
> connection. If you get the
>> MESSAGE: Communications link failure
>>
>> Last packet sent to the server was 0 ms ago.
>>
>> STACKTRACE:
>>
>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
> already if you execute your startup code:
>
>> IManagedContainer container = IPluginContainer.INSTANCE;
>> connector = TCPUtil.getConnector(container, cdoHost+":"+cdoPort);
>> CDOSessionConfiguration config =
>> CDONet4jUtil.createSessionConfiguration();
>> PasswordCredentialsProvider credentialsProvider = new
>> PasswordCredentialsProvider(user, password);
>> config.getAuthenticator().setCredentialsProvider(credentials Provider);
>> config.setConnector(connector);
>> config.setRepositoryName(REPOSITORY_NAME);
>> container.activate();
>> cdoSession=config.openSession();
>> view=cdoSession().openView();
>> view.options().addChangeSubscriptionPolicy(CDOAdapterPolicy. ALL);
>> view.getResource("/", true).getContents().get(0);
>
> and as you say
>
>> Most time it works very well, but sometime I get some exceptions while
>> connecting to the cdo server.
>
> Then you have an unstable connection between your CDO server and the
> MySQL Database.
> Do they live on the same machine?
> Could a firewall interfere with your connection?
>
> All in all, this looks less like a CDO problem and more like a DB- or
> general server configuration issue ...
>
>
> Cheers,
> Stefan
>
>
>
>
>
>>
>> If I see it right, the problem are inside the DBStore, but I can't
>> idendify the real reason, what's wrong on the server side.
>>
>> Maybe, it depends from my other problem, with the DB connection.
>> http://www.eclipse.org/forums/index.php?t=msg&th=196461& amp;start=0&S=73256d651da1d0d190868cee9b747704
>>
>>
>> Has somebody the same problems or knows how to fix it?
>>
>> Greetings
>> Heiko
>>
>> Here are my log from server side and client side:
>>
>>
Previous Topic:Resource factory not found by normalized URI?
Next Topic:[Announce] new eTrice project proposal: an implementation of the ROOM modeling language
Goto Forum:
  


Current Time: Mon Oct 14 19:18:12 GMT 2019

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

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

Back to the top