|
Re: [CDO] TimeoutRuntimeException when trying to open session [message #502705 is a reply to message #502656] |
Wed, 09 December 2009 14:03 |
|
Hi Walter,
In the future, please ask for CDO support in the EMF newsgroup which
I've added to the recipients.
Is the timeout exception the first one htat appears in the log? I could
imagine that you did *not* deploy the org.eclipse.emf.cdo.net4j plugin
to your server. It's needed for Net4j based client CDOSessions. Can you
give me the list of installed Net4 and CDO plugins on your server? And
which CDO version are you using?
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Walter Hargassner schrieb:
> 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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] TimeoutRuntimeException when trying to open session [message #621898 is a reply to message #502656] |
Wed, 09 December 2009 14:03 |
|
Hi Walter,
In the future, please ask for CDO support in the EMF newsgroup which
I've added to the recipients.
Is the timeout exception the first one htat appears in the log? I could
imagine that you did *not* deploy the org.eclipse.emf.cdo.net4j plugin
to your server. It's needed for Net4j based client CDOSessions. Can you
give me the list of installed Net4 and CDO plugins on your server? And
which CDO version are you using?
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Walter Hargassner schrieb:
> 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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.01776 seconds