Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO server client connectivity via lan connected system
CDO server client connectivity via lan connected system [message #1015750] Sat, 02 March 2013 03:07 Go to next message
Lakhveer Singh is currently offline Lakhveer Singh
Messages: 26
Registered: March 2013
Junior Member
hello guys,

i m working on a project and using CDO framework and EMF in it.
i m have created the server plugin and client plugin.
when i m running the server and client plugin @localhost, then the the client is getting connected to the server, but when i try to run the client from another lan system to server on another machine at that time @server console i m getting message that "USER SHOULD USE NEWER NET4J VERSION" and the connections fails.
i m using CDO 4.1.1 version,

please help me out here guys......
Re: CDO server client connectivity via lan connected system [message #1016628 is a reply to message #1015750] Thu, 07 March 2013 03:19 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 865
Registered: July 2009
Senior Member
On 07-03-13 01:35, Lakhveer Singh wrote:
> hello guys,
> i m working on a project and using CDO framework and EMF in it.
> i m have created the server plugin and client plugin.
> when i m running the server and client plugin @localhost, then the the
> client is getting connected to the server, but when i try to run the
> client from another lan system to server on another machine at that time
> @server console i m getting message that "USER SHOULD USE NEWER NET4J
> VERSION" and the connections fails.
> i m using CDO 4.1.1 version,
>
> please help me out here guys......
>
Hi, It sounds like a mismatch in net4j versions from client and server.
Can you print the bundle versions from client + server? You could do so
with OSGI console 'ss' command.

Cheers Christophe
Re: CDO server client connectivity via lan connected system [message #1031806 is a reply to message #1016628] Tue, 02 April 2013 04:07 Go to previous messageGo to next message
Lakhveer Singh is currently offline Lakhveer Singh
Messages: 26
Registered: March 2013
Junior Member
that i have checked all ready, the ne4j version are same in both client and server,
let me explain u what i did actually,
i designed server on machine a, and designed client on machine a and b separately, having the same source code.
now after running the server, if i connects the client from machine A first, it gets connected, after that i connects with client from machine B it gives the same error i described earlier,
n if connects the client from machine B it gets connected and fails if connects the client from machine A.

is it like problem with two different instances of client module?
Re: CDO server client connectivity via lan connected system [message #1034338 is a reply to message #1015750] Fri, 05 April 2013 06:13 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5446
Registered: July 2009
Senior Member
Am 07.03.2013 01:35, schrieb Lakhveer Singh:
> hello guys,
> i m working on a project and using CDO framework and EMF in it.
> i m have created the server plugin and client plugin.
> when i m running the server and client plugin @localhost, then the the client is getting connected to the server, but
> when i try to run the client from another lan system to server on another machine at that time @server console i m
> getting message that "USER SHOULD USE NEWER NET4J VERSION" and the connections fails.
Is there a stack trace? Can you please post it?

> i m using CDO 4.1.1 version,
I strongly recommend to try out the newer I-builds from http://download.eclipse.org/modeling/emf/cdo/updates/integration

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: CDO server client connectivity via lan connected system [message #1034343 is a reply to message #1031806] Fri, 05 April 2013 06:24 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5446
Registered: July 2009
Senior Member
Am 02.04.2013 10:07, schrieb Lakhveer Singh:
> that i have checked all ready, the ne4j version are same in both client and server,
> let me explain u what i did actually,
> i designed server on machine a, and designed client on machine a and b separately, having the same source code.
> now after running the server, if i connects the client from machine A first, it gets connected, after that i connects
> with client from machine B it gives the same error i described earlier, n if connects the client from machine B it
> gets connected and fails if connects the client from machine A.
>
> is it like problem with two different instances of client module?

I checked our code that throws this exception and the server clearly recognizes an old client (one that doesn't support
versioned Net4j protocols). Please post here the exact Net4j versions of all 3 deployments. You can do it on the console
with:

osgi> ss net4j

Framework is launched.

id State Bundle
2 ACTIVE org.eclipse.net4j.db.h2_4.2.0.v20130316-1201
6 ACTIVE org.eclipse.emf.cdo.server.net4j_4.1.0.v20130316-1201
8 ACTIVE org.eclipse.net4j_4.2.0.v20130316-1201
21 ACTIVE org.eclipse.net4j.util_3.3.0.v20130316-1201
31 ACTIVE org.eclipse.net4j.db_4.2.0.v20130316-1201
32 ACTIVE org.eclipse.net4j.tcp_4.1.100.v20130316-1201

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: CDO server client connectivity via lan connected system [message #1035178 is a reply to message #1034343] Sat, 06 April 2013 08:47 Go to previous message
Lakhveer Singh is currently offline Lakhveer Singh
Messages: 26
Registered: March 2013
Junior Member
thanks for ur help, but my problem is sorted out,
i got the exact problem,
actually i was trying to run two different application instance on same server.
Previous Topic:How to set duplicates at EList
Next Topic:[CDO] Using HSQLDB with CDO 4.2
Goto Forum:
  


Current Time: Fri Apr 18 16:56:48 EDT 2014

Powered by FUDForum. Page generated in 0.01717 seconds