| [CDO] Connect to example standalone server Server.java [message #1826741] |
Wed, 29 April 2020 13:09  |
Eclipse User |
|
|
|
Hi,
I am trying to connect to the standalone example server org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/Server.java using the example "Eclipse Application Client 1" launch configuration. The server seems to start up normally, but I can't connect the client to it.
When I start the client and then choose to add a new repository via the "CDO Repositories" view, selecting "Connect to an existing remote repository" and entering the host and port, once I enter the repository name (see attached screenshot) I start to see error messages like the following in the server's log:
[ERROR] Buffer@1[READING_HEADER]: New limit -1 is < 0
java.lang.IllegalArgumentException: Buffer@1[READING_HEADER]: New limit -1 is < 0
at org.eclipse.internal.net4j.buffer.Buffer.startGetting(Buffer.java:245)
at org.eclipse.net4j.internal.tcp.TCPConnector.handleRead(TCPConnector.java:221)
at org.eclipse.net4j.internal.tcp.TCPSelector.handleSelection(TCPSelector.java:265)
at org.eclipse.net4j.internal.tcp.TCPSelector.run(TCPSelector.java:190)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Buffer.java:275)
at org.eclipse.internal.net4j.buffer.Buffer.startGetting(Buffer.java:239)
... 4 more
I can still click 'Finish' and add the repository, but after ten seconds I get a popup with a TimeoutRuntimeException: "Channel registration timeout after 10000 milliseconds".
I'd be grateful for any advice on how to get started with a standalone server.
Thanks,
Christoph
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04765 seconds