[CDO] TimeoutRuntimeException when trying to open session [message #621897] |
Wed, 09 December 2009 10:12 |
Walter Hargassner 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
|
|
|
Powered by
FUDForum. Page generated in 0.03682 seconds