[CDO] Could not activate TCPClientConnector on CDO Hibernate Client/server example [message #1216712] |
Thu, 28 November 2013 15:49 |
Thomas Gerlitz Messages: 9 Registered: November 2013 |
Junior Member |
|
|
Hello,
I recently discovered the CDO project and did like the idea of a emf model repository. I first downloaded the Hibernate Store examples from the git repository (http://git.eclipse.org/gitroot/cdo/cdo.git/). The server in the project org.eclipse.emf.cdo.examples.hibernate.server started without any problems. I only changed the underlying database from hsqldb to an existing mysql database running on my computer in the cdo-server.xml. Tables are created in this database by the server when it is started.
Unfortunately I ran into some trouble when I tried to execute the test cases included in org.eclipse.emf.cdo.examples.hibernate.client. When executing the QuickStartTest or any other test in this project the following exception occures:
org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate TCPClientConnector[localhost:2.036]
at org.eclipse.net4j.util.container.ManagedContainer.activateElement(ManagedContainer.java:355)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:325)
at org.eclipse.net4j.util.container.ManagedContainer.getElement(ManagedContainer.java:301)
at org.eclipse.net4j.tcp.TCPUtil.getConnector(TCPUtil.java:65)
at org.eclipse.emf.cdo.examples.hibernate.client.BaseTest.initialize(BaseTest.java:78)
at org.eclipse.emf.cdo.examples.hibernate.client.BaseTest.openSession(BaseTest.java:51)
at org.eclipse.emf.cdo.examples.hibernate.client.QuickStartTest.testCreatePersist(QuickStartTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
No error message is printed by the server when connecting is attempted.
Can someone point out a mistake that I might have made? I am using Eclipse 4.3 and installed the most recent version of the CDO plugin and all required plugins as described at http://wiki.eclipse.org/CDO/Hibernate_Store/Download_and_Install.
Thanks in advance,
Thomas
[Updated on: Thu, 28 November 2013 18:24] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06382 seconds