Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] TimeoutRuntimeException when trying to open session
[CDO] TimeoutRuntimeException when trying to open session [message #621897] Wed, 09 December 2009 10:12
Walter Hargassner is currently offline Walter HargassnerFriend
Messages: 5
Registered: November 2009
Junior Member
I'm trying to setup an osgi framework including the CDO server and some
other plugins containing some "business code". I created a launch
configuration running the application "org.eclipse.emf.cdo.server.app".

The server starts properly and can be accessed by an external CDO Client
(CDO Sessions View). If I try to open a session from one of the bundles
containing my business code, it hangs and timesout with the following
exception:

org.eclipse.net4j.channel.ChannelException:
org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Registration
timeout after 10000 milliseconds
at
org.eclipse.spi.net4j.ChannelMultiplexer.openChannel(Channel Multiplexer.java:171)
at
org.eclipse.spi.net4j.ChannelMultiplexer.openChannel(Channel Multiplexer.java:1)
at
org.eclipse.net4j.signal.failover.NOOPFailOverStrategy.handl eOpen(NOOPFailOverStrategy.java:53)
at
....

I try to open the session with the following code:

boolean automaticPackageRegistry = true;
String description =
" tcp://localhost:2036?repositoryName=repo1&automaticPacka geRegistry="
+ Boolean.toString(automaticPackageRegistry);
cdoSession = (CDOSession)
IPluginContainer.INSTANCE.getElement("org.eclipse.emf.cdo.sessions ",
"cdo", description);

If I start the server and the osgi-framework without the server in extra
launch-configurations, everything works fine.

Probably you have any hints for me, I have to take care of?

BR,
Walter
Previous Topic:[EWM] Proposed API changes
Next Topic:[CDO] TimeoutRuntimeException when trying to open session
Goto Forum:
  


Current Time: Fri Apr 26 05:08:41 GMT 2024

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

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

Back to the top