Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Client] running e3 demo with CDO repository
[EMF Client] running e3 demo with CDO repository [message #1469314] Tue, 11 November 2014 08:42 Go to next message
Eclipse UserFriend
I have installed EMF client platform and i am testing e3 demo. When i try to add new repository then only provider option i have is EMFStore. I would like to run demo application with CDO repository.... any idea how should i proceed?

Cheers,
Re: [EMF Client] running e3 demo with CDO repository [message #1470277 is a reply to message #1469314] Wed, 12 November 2014 03:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

you need to add the CDO provider to your run configuration.

Best regards

Jonas

Am 11.11.2014 14:42, schrieb ModelGeek Mising name:
> I have installed EMF client platform and i am testing e3 demo. When i
> try to add new repository then only provider option i have is EMFStore.
> I would like to run demo application with CDO repository.... any idea
> how should i proceed?
>
> Cheers,
Re: [EMF Client] running e3 demo with CDO repository [message #1560395 is a reply to message #1470277] Mon, 12 January 2015 10:21 Go to previous messageGo to next message
Eclipse UserFriend
thanks!

I am able to have CDO provider. If i try to select tcp provider and give host as localhost and port as 2036 and name as repo1 then when i try to open repo1 i get the following execption

org.eclipse.net4j.signal.RemoteException: org.eclipse.emf.cdo.server.RepositoryNotFoundException: Repository not found: null
at org.eclipse.emf.cdo.server.internal.net4j.protocol.OpenSessionIndication.responding(OpenSessionIndication.java:120)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:170)
at org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:93)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:98)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:301)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:67)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:66)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

at org.eclipse.net4j.signal.RemoteExceptionIndication.indicating(RemoteExceptionIndication.java:56)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indication.java:57)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:331)
at org.eclipse.net4j.signal.Indication.execute(Indication.java:51)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


any idea why i am having this exception even when Server is up and running....

cheers
Re: [EMF Client] running e3 demo with CDO repository [message #1561624 is a reply to message #1560395] Tue, 13 January 2015 02:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

have you validated somehow, that the CDO repository is there and the
repository is running on this port?

Best regards

Jonas

Am 12.01.2015 um 16:21 schrieb ModelGeek Mising name:
> thanks!
> I am able to have CDO provider. If i try to select tcp provider and give
> host as localhost and port as 2036 and name as repo1 then when i try to
> open repo1 i get the following execption
>
> org.eclipse.net4j.signal.RemoteException:
> org.eclipse.emf.cdo.server.RepositoryNotFoundException: Repository not
> found: null
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.OpenSessionIndication.responding(OpenSessionIndication.java:120)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:170)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:93)
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:98)
>
> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:301)
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:67)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:66)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> at
> org.eclipse.net4j.signal.RemoteExceptionIndication.indicating(RemoteExceptionIndication.java:56)
>
> at
> org.eclipse.net4j.signal.Indication.doExtendedInput(Indication.java:57)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:331)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java:51)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> any idea why i am having this exception even when Server is up and
> running....
>
> cheers


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMF Client] running e3 demo with CDO repository [message #1561877 is a reply to message #1561624] Tue, 13 January 2015 05:57 Go to previous messageGo to next message
Eclipse UserFriend
I have tried to run the sample CDO client example and it runs properly with the same repository credentials but when i try ECP demo then i get the above shown exception....

I am running the MasterServer example for CDO
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036"/>
<repository name="repo1">
<property name="overrideUUID" value=""/>
<property name="supportingAudits" value="true"/>
<property name="supportingBranches" value="true"/>
<property name="ensureReferentialIntegrity" value="false"/>
<property name="allowInterruptRunningQueries" value="true"/>
<property name="idGenerationLocation" value="CLIENT"/> <!-- Possible values: STORE | CLIENT -->
<property name="serializeCommits" value="false"/>
<property name="optimisticLockingTimeout" value="10000"/>


Please check the image for adding repository dialog in ECP

connctory type: tcp
host : localhost
port: 2036
name : repo1
description :

Do you have any idea about my problem?

Cheers,

  • Attachment: ECPCDO.png
    (Size: 32.18KB, Downloaded 112 times)
Re: [EMF Client] running e3 demo with CDO repository [message #1563751 is a reply to message #1560395] Wed, 14 January 2015 06:28 Go to previous message
Eclipse UserFriend
Am 12.01.2015 um 16:21 schrieb ModelGeek Mising name:
> thanks!
> I am able to have CDO provider. If i try to select tcp provider and give host as localhost and port as 2036 and name
> as repo1 then when i try to open repo1 i get the following execption
>
> org.eclipse.net4j.signal.RemoteException: org.eclipse.emf.cdo.server.RepositoryNotFoundException: Repository not
> found: null
That "null" at the end probably means that the CDO client (here: ECP/CDO Provider) has not sent the correct repository
name ("repo1")to the server.

I don't have the ECP sources at hand (nor do I have the time right now), but if you want to debug it, I would start by
setting a breakpoint on the client in the constructor of OpenSessionRequest.java and find out why the passed repository
name is null.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.OpenSessionIndication.responding(OpenSessionIndication.java:120)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:170)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:93)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:98)
> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:301)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:67)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:66)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> at org.eclipse.net4j.signal.RemoteExceptionIndication.indicating(RemoteExceptionIndication.java:56)
> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indication.java:57)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:331)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java:51)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:256)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> any idea why i am having this exception even when Server is up and running....
>
> cheers
Previous Topic:[EMFForms] Additional model-specific services
Next Topic:[TENEO] Qualify entity name with package / PersistenceOptions.QUALIFY _ENTITY_NAME
Goto Forum:
  


Current Time: Wed Jul 09 09:17:57 EDT 2025

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

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

Back to the top