Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Problem with Getting started with CDO
[CDO] Problem with Getting started with CDO [message #479150] Sun, 09 August 2009 20:19 Go to next message
Pan Daoen is currently offline Pan DaoenFriend
Messages: 14
Registered: July 2009
Junior Member
hi,

i try CDO after the tutorial Getting started with CDO
Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).

but i got an FactoryNotFoundException when open a session.

then found i by google:
missing for a server setup: org.eclipse.emf.cdo.server.net4j
at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html

then i check my installed plugins. really no *.cdo.server.net4j

then i downloads CDO SDK, unzip it, no *.cdo.server.net4j

then i try to check out from CVS, but with errors "Unsatisfied Version".

what can i do?

Best Regard!
Gr8vyguy
Re: [CDO] Problem with Getting started with CDO [message #479166 is a reply to message #479150] Mon, 10 August 2009 04:51 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Gr8vyguy,

cdo.server.net4j

In the HEAD branch we decoupled CDO from Net4j and made the Net4j
integration available through separate addon plugins. With HEAD (3.0)
you need o.e.e.cdo.server.net4j deployed on the server and
o.e.e.cdo.net4j deployed on the client side. The same code is integrated
in the normal cdo plugins for the 2.0 versions.

It's just hard to keep the wiki docs in sync with multiple development
streams. That's why we're going to start versioned manuals at
http://eclipse.org/cdo/documentation but don't expect much content there
now. It's so much effort to write a proper manuals. If you're interested
in contributing to this effort please let me know ;-)

Cheers
/Eike

----
http://thegordian.blogspot.com



Gr9vy Guy schrieb:
> hi,
>
> i try CDO after the tutorial Getting started with CDO
> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>
> but i got an FactoryNotFoundException when open a session.
>
> then found i by google:
> missing for a server setup: org.eclipse.emf.cdo.server.net4j
> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>
> then i check my installed plugins. really no *.cdo.server.net4j
>
> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>
> then i try to check out from CVS, but with errors "Unsatisfied Version".
>
> what can i do?
>
> Best Regard!
> Gr8vyguy
>


Re: [CDO] Problem with Getting started with CDO [message #479229 is a reply to message #479166] Mon, 10 August 2009 11:13 Go to previous messageGo to next message
Pan Daoen is currently offline Pan DaoenFriend
Messages: 14
Registered: July 2009
Junior Member
hi Eike,

thank you for your reply.

I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
and EMF 2.5.0, (NOT 3.0) when i start the example as described by
Getting started with CDO. but an FactoryNotFoundException is trown when
open a session.

how can i fix this problem?

my english is not good for documentation, sorry, :(

Best Regrards
Gr8vyguy

Eike Stepper 写道:
> Gr8vyguy,
>
> cdo.server.net4j
>
> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
> integration available through separate addon plugins. With HEAD (3.0)
> you need o.e.e.cdo.server.net4j deployed on the server and
> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
> in the normal cdo plugins for the 2.0 versions.
>
> It's just hard to keep the wiki docs in sync with multiple development
> streams. That's why we're going to start versioned manuals at
> http://eclipse.org/cdo/documentation but don't expect much content there
> now. It's so much effort to write a proper manuals. If you're interested
> in contributing to this effort please let me know ;-)
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
>
> Gr9vy Guy schrieb:
>> hi,
>>
>> i try CDO after the tutorial Getting started with CDO
>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>
>> but i got an FactoryNotFoundException when open a session.
>>
>> then found i by google:
>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>
>> then i check my installed plugins. really no *.cdo.server.net4j
>>
>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>
>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>
>> what can i do?
>>
>> Best Regard!
>> Gr8vyguy
>>
Re: [CDO] Problem with Getting started with CDO [message #479395 is a reply to message #479229] Mon, 10 August 2009 20:45 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Gr9vy Guy schrieb:
> hi Eike,
>
> thank you for your reply.
>
> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
> Getting started with CDO. but an FactoryNotFoundException is trown when
> open a session.
>
Please always give us the full stack trace of exceptions.

> how can i fix this problem?
>
> my english is not good for documentation, sorry, :(
>
No problem ;-)

Cheers
/Eike

----
http://thegordian.blogspot.com


> Best Regrards
> Gr8vyguy
>
> Eike Stepper 写道:
>
>> Gr8vyguy,
>>
>> cdo.server.net4j
>>
>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>> integration available through separate addon plugins. With HEAD (3.0)
>> you need o.e.e.cdo.server.net4j deployed on the server and
>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>> in the normal cdo plugins for the 2.0 versions.
>>
>> It's just hard to keep the wiki docs in sync with multiple development
>> streams. That's why we're going to start versioned manuals at
>> http://eclipse.org/cdo/documentation but don't expect much content there
>> now. It's so much effort to write a proper manuals. If you're interested
>> in contributing to this effort please let me know ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>>
>> Gr9vy Guy schrieb:
>>
>>> hi,
>>>
>>> i try CDO after the tutorial Getting started with CDO
>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>
>>> but i got an FactoryNotFoundException when open a session.
>>>
>>> then found i by google:
>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>
>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>
>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>
>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>
>>> what can i do?
>>>
>>> Best Regard!
>>> Gr8vyguy
>>>
>>>


Re: [CDO] Problem with Getting started with CDO [message #479418 is a reply to message #479395] Mon, 10 August 2009 23:13 Go to previous messageGo to next message
Pan Daoen is currently offline Pan DaoenFriend
Messages: 14
Registered: July 2009
Junior Member
here is my stack trace

org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
found: org.eclipse.emf.cdo.server.repositories[default]
org.eclipse.net4j.signal.RemoteException:
org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
found: org.eclipse.emf.cdo.server.repositories[default]
at
org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
at
org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:491)
at
org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:312)
at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:239)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.net4j.util.container.FactoryNotFoundException:
Factory not found: org.eclipse.emf.cdo.server.repositories[default]
at
org.eclipse.net4j.util.container.ManagedContainer.getFactory (ManagedContainer.java:193)
at
org.eclipse.net4j.util.container.ManagedContainer.createElem ent(ManagedContainer.java:490)
at
org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:281)
at
org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:265)
at
org.eclipse.emf.cdo.spi.server.RepositoryFactory.get(Reposit oryFactory.java:43)
at
org.eclipse.emf.cdo.spi.server.ContainerRepositoryProvider.g etRepository(ContainerRepositoryProvider.java:38)
at
org.eclipse.emf.cdo.internal.server.protocol.OpenSessionIndi cation.responding(OpenSessionIndication.java:85)
at
org.eclipse.emf.cdo.internal.server.protocol.CDOServerIndica tion.responding(CDOServerIndication.java:119)
at
org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:282)
at
org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
... 5 more


Eike Stepper 写道:
> Gr9vy Guy schrieb:
>> hi Eike,
>>
>> thank you for your reply.
>>
>> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
>> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
>> Getting started with CDO. but an FactoryNotFoundException is trown when
>> open a session.
>>
> Please always give us the full stack trace of exceptions.
>
>> how can i fix this problem?
>>
>> my english is not good for documentation, sorry, :(
>>
> No problem ;-)
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
>> Best Regrards
>> Gr8vyguy
>>
>> Eike Stepper 写道:
>>
>>> Gr8vyguy,
>>>
>>> cdo.server.net4j
>>>
>>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>>> integration available through separate addon plugins. With HEAD (3.0)
>>> you need o.e.e.cdo.server.net4j deployed on the server and
>>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>>> in the normal cdo plugins for the 2.0 versions.
>>>
>>> It's just hard to keep the wiki docs in sync with multiple development
>>> streams. That's why we're going to start versioned manuals at
>>> http://eclipse.org/cdo/documentation but don't expect much content there
>>> now. It's so much effort to write a proper manuals. If you're interested
>>> in contributing to this effort please let me know ;-)
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>>
>>>
>>>
>>> Gr9vy Guy schrieb:
>>>
>>>> hi,
>>>>
>>>> i try CDO after the tutorial Getting started with CDO
>>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>>
>>>> but i got an FactoryNotFoundException when open a session.
>>>>
>>>> then found i by google:
>>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>>
>>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>>
>>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>>
>>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>>
>>>> what can i do?
>>>>
>>>> Best Regard!
>>>> Gr8vyguy
>>>>
>>>>
Re: [CDO] Problem with Getting started with CDO [message #479461 is a reply to message #479418] Tue, 11 August 2009 08:04 Go to previous messageGo to next message
Victor Roldan Betancort is currently offline Victor Roldan BetancortFriend
Messages: 524
Registered: July 2009
Senior Member
Gr9vy Guy,

as far as I know, this usually happens when you try to connect to a
repository that does not exist. Please check your "cdo-server.xml" file
defines the repository properly.

How are you exactly running the server? How are you trying to connect to
the server, using the CDO Session View? Could you give us an overview of
your current usage scenario?

Cheers,
Víctor.

Gr9vy Guy escribió:
> here is my stack trace
>
> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
> found: org.eclipse.emf.cdo.server.repositories[default]
> org.eclipse.net4j.signal.RemoteException:
> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
> found: org.eclipse.emf.cdo.server.repositories[default]
> at
> org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
> at
> org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:491)
> at
> org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:312)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:239)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.eclipse.net4j.util.container.FactoryNotFoundException:
> Factory not found: org.eclipse.emf.cdo.server.repositories[default]
> at
> org.eclipse.net4j.util.container.ManagedContainer.getFactory (ManagedContainer.java:193)
> at
> org.eclipse.net4j.util.container.ManagedContainer.createElem ent(ManagedContainer.java:490)
> at
> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:281)
> at
> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:265)
> at
> org.eclipse.emf.cdo.spi.server.RepositoryFactory.get(Reposit oryFactory.java:43)
> at
> org.eclipse.emf.cdo.spi.server.ContainerRepositoryProvider.g etRepository(ContainerRepositoryProvider.java:38)
> at
> org.eclipse.emf.cdo.internal.server.protocol.OpenSessionIndi cation.responding(OpenSessionIndication.java:85)
> at
> org.eclipse.emf.cdo.internal.server.protocol.CDOServerIndica tion.responding(CDOServerIndication.java:119)
> at
> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:282)
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
> ... 5 more
>
>
> Eike Stepper 写道:
>> Gr9vy Guy schrieb:
>>> hi Eike,
>>>
>>> thank you for your reply.
>>>
>>> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
>>> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
>>> Getting started with CDO. but an FactoryNotFoundException is trown when
>>> open a session.
>>>
>> Please always give us the full stack trace of exceptions.
>>
>>> how can i fix this problem?
>>>
>>> my english is not good for documentation, sorry, :(
>>>
>> No problem ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>>> Best Regrards
>>> Gr8vyguy
>>>
>>> Eike Stepper 写道:
>>>
>>>> Gr8vyguy,
>>>>
>>>> cdo.server.net4j
>>>>
>>>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>>>> integration available through separate addon plugins. With HEAD (3.0)
>>>> you need o.e.e.cdo.server.net4j deployed on the server and
>>>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>>>> in the normal cdo plugins for the 2.0 versions.
>>>>
>>>> It's just hard to keep the wiki docs in sync with multiple development
>>>> streams. That's why we're going to start versioned manuals at
>>>> http://eclipse.org/cdo/documentation but don't expect much content there
>>>> now. It's so much effort to write a proper manuals. If you're interested
>>>> in contributing to this effort please let me know ;-)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>>
>>>>
>>>>
>>>> Gr9vy Guy schrieb:
>>>>
>>>>> hi,
>>>>>
>>>>> i try CDO after the tutorial Getting started with CDO
>>>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>>>
>>>>> but i got an FactoryNotFoundException when open a session.
>>>>>
>>>>> then found i by google:
>>>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>>>
>>>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>>>
>>>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>>>
>>>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>>>
>>>>> what can i do?
>>>>>
>>>>> Best Regard!
>>>>> Gr8vyguy
>>>>>
>>>>>
Re: [CDO] Problem with Getting started with CDO [message #479615 is a reply to message #479461] Tue, 11 August 2009 17:29 Go to previous messageGo to next message
Pan Daoen is currently offline Pan DaoenFriend
Messages: 14
Registered: July 2009
Junior Member
hi Victor,

i follow the same step as described in the guide Getting started with
CDO Galileo.

1. start witch a clean Eclipse 3.5 classic
2. install CDO, net4j and EMF from the update site of galileo
3. copy the configuration from the guide to the file
eclipse/config/cdo-server.xml,
4. then start the server with NO -Dnet4j.config. here is my console log
[INFO] CDO Server starting
[INFO] Detected crash
[INFO] Repaired after crash: maxObjectID=1, maxMetaID=428
[INFO] No user manager configured. Users will not be authenticated
[INFO] CDO Server started

5. create a EMF project using the library example
6. migrate it to CDO
7. generate all code
8. start a new Eclipse runtime instance
9. open a session from CDO sessions view, with
tcp://localhost
/repo1
10. then a dialog with the stack trace shows.


Best Regards
Gr8vyguy

Víctor Roldán Betancort 写道:
> Gr9vy Guy,
>
> as far as I know, this usually happens when you try to connect to a
> repository that does not exist. Please check your "cdo-server.xml" file
> defines the repository properly.
>
> How are you exactly running the server? How are you trying to connect to
> the server, using the CDO Session View? Could you give us an overview of
> your current usage scenario?
>
> Cheers,
> Víctor.
>
> Gr9vy Guy escribió:
>> here is my stack trace
>>
>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>> found: org.eclipse.emf.cdo.server.repositories[default]
>> org.eclipse.net4j.signal.RemoteException:
>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>> found: org.eclipse.emf.cdo.server.repositories[default]
>> at
>> org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
>> at
>> org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:491)
>> at
>> org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
>> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:312)
>> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:239)
>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.eclipse.net4j.util.container.FactoryNotFoundException:
>> Factory not found: org.eclipse.emf.cdo.server.repositories[default]
>> at
>> org.eclipse.net4j.util.container.ManagedContainer.getFactory (ManagedContainer.java:193)
>> at
>> org.eclipse.net4j.util.container.ManagedContainer.createElem ent(ManagedContainer.java:490)
>> at
>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:281)
>> at
>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:265)
>> at
>> org.eclipse.emf.cdo.spi.server.RepositoryFactory.get(Reposit oryFactory.java:43)
>> at
>> org.eclipse.emf.cdo.spi.server.ContainerRepositoryProvider.g etRepository(ContainerRepositoryProvider.java:38)
>> at
>> org.eclipse.emf.cdo.internal.server.protocol.OpenSessionIndi cation.responding(OpenSessionIndication.java:85)
>> at
>> org.eclipse.emf.cdo.internal.server.protocol.CDOServerIndica tion.responding(CDOServerIndication.java:119)
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
>> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:282)
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
>> ... 5 more
>>
>>
>> Eike Stepper 写道:
>>> Gr9vy Guy schrieb:
>>>> hi Eike,
>>>>
>>>> thank you for your reply.
>>>>
>>>> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
>>>> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
>>>> Getting started with CDO. but an FactoryNotFoundException is trown when
>>>> open a session.
>>>>
>>> Please always give us the full stack trace of exceptions.
>>>
>>>> how can i fix this problem?
>>>>
>>>> my english is not good for documentation, sorry, :(
>>>>
>>> No problem ;-)
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>>
>>>
>>>> Best Regrards
>>>> Gr8vyguy
>>>>
>>>> Eike Stepper 写道:
>>>>
>>>>> Gr8vyguy,
>>>>>
>>>>> cdo.server.net4j
>>>>>
>>>>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>>>>> integration available through separate addon plugins. With HEAD (3.0)
>>>>> you need o.e.e.cdo.server.net4j deployed on the server and
>>>>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>>>>> in the normal cdo plugins for the 2.0 versions.
>>>>>
>>>>> It's just hard to keep the wiki docs in sync with multiple development
>>>>> streams. That's why we're going to start versioned manuals at
>>>>> http://eclipse.org/cdo/documentation but don't expect much content there
>>>>> now. It's so much effort to write a proper manuals. If you're interested
>>>>> in contributing to this effort please let me know ;-)
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://thegordian.blogspot.com
>>>>>
>>>>>
>>>>>
>>>>> Gr9vy Guy schrieb:
>>>>>
>>>>>> hi,
>>>>>>
>>>>>> i try CDO after the tutorial Getting started with CDO
>>>>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>>>>
>>>>>> but i got an FactoryNotFoundException when open a session.
>>>>>>
>>>>>> then found i by google:
>>>>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>>>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>>>>
>>>>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>>>>
>>>>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>>>>
>>>>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>>>>
>>>>>> what can i do?
>>>>>>
>>>>>> Best Regard!
>>>>>> Gr8vyguy
>>>>>>
>>>>>>
Re: [CDO] Problem with Getting started with CDO [message #479620 is a reply to message #479615] Tue, 11 August 2009 17:50 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Gr9vy Guy,

I think there's a bug in the wiki article of Martin (whom I have cc'ed):
When you open a session in the CDO Sessions view you must enter the
repository name exactly like you specified it inthe server config file.
In this case it is "repo1", not "/repo1".

I'm sure that Martin can upload a corrected version of that buggy
screenshot ;-)

BTW. if the server tells about a "Crash detected" that might be a sign
that you did not properly shut down the server the last time it was
running. In many setups you can do that by entering "close" in the OSGi
console (there where you see the repository logging).

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Gr9vy Guy schrieb:
> hi Victor,
>
> i follow the same step as described in the guide Getting started with
> CDO Galileo.
>
> 1. start witch a clean Eclipse 3.5 classic
> 2. install CDO, net4j and EMF from the update site of galileo
> 3. copy the configuration from the guide to the file
> eclipse/config/cdo-server.xml,
> 4. then start the server with NO -Dnet4j.config. here is my console log
> [INFO] CDO Server starting
> [INFO] Detected crash
> [INFO] Repaired after crash: maxObjectID=1, maxMetaID=428
> [INFO] No user manager configured. Users will not be authenticated
> [INFO] CDO Server started
>
> 5. create a EMF project using the library example
> 6. migrate it to CDO
> 7. generate all code
> 8. start a new Eclipse runtime instance
> 9. open a session from CDO sessions view, with
> tcp://localhost
> /repo1
> 10. then a dialog with the stack trace shows.
>
>
> Best Regards
> Gr8vyguy
>
> Víctor Roldán Betancort 写道:
>
>> Gr9vy Guy,
>>
>> as far as I know, this usually happens when you try to connect to a
>> repository that does not exist. Please check your "cdo-server.xml" file
>> defines the repository properly.
>>
>> How are you exactly running the server? How are you trying to connect to
>> the server, using the CDO Session View? Could you give us an overview of
>> your current usage scenario?
>>
>> Cheers,
>> Víctor.
>>
>> Gr9vy Guy escribió:
>>
>>> here is my stack trace
>>>
>>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>>> found: org.eclipse.emf.cdo.server.repositories[default]
>>> org.eclipse.net4j.signal.RemoteException:
>>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>>> found: org.eclipse.emf.cdo.server.repositories[default]
>>> at
>>> org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
>>> at
>>> org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:491)
>>> at
>>> org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
>>> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:312)
>>> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:239)
>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
>>> at java.lang.Thread.run(Thread.java:619)
>>> Caused by: org.eclipse.net4j.util.container.FactoryNotFoundException:
>>> Factory not found: org.eclipse.emf.cdo.server.repositories[default]
>>> at
>>> org.eclipse.net4j.util.container.ManagedContainer.getFactory (ManagedContainer.java:193)
>>> at
>>> org.eclipse.net4j.util.container.ManagedContainer.createElem ent(ManagedContainer.java:490)
>>> at
>>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:281)
>>> at
>>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:265)
>>> at
>>> org.eclipse.emf.cdo.spi.server.RepositoryFactory.get(Reposit oryFactory.java:43)
>>> at
>>> org.eclipse.emf.cdo.spi.server.ContainerRepositoryProvider.g etRepository(ContainerRepositoryProvider.java:38)
>>> at
>>> org.eclipse.emf.cdo.internal.server.protocol.OpenSessionIndi cation.responding(OpenSessionIndication.java:85)
>>> at
>>> org.eclipse.emf.cdo.internal.server.protocol.CDOServerIndica tion.responding(CDOServerIndication.java:119)
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
>>> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:282)
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
>>> ... 5 more
>>>
>>>
>>> Eike Stepper 写道:
>>>
>>>> Gr9vy Guy schrieb:
>>>>
>>>>> hi Eike,
>>>>>
>>>>> thank you for your reply.
>>>>>
>>>>> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
>>>>> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
>>>>> Getting started with CDO. but an FactoryNotFoundException is trown when
>>>>> open a session.
>>>>>
>>>>>
>>>> Please always give us the full stack trace of exceptions.
>>>>
>>>>
>>>>> how can i fix this problem?
>>>>>
>>>>> my english is not good for documentation, sorry, :(
>>>>>
>>>>>
>>>> No problem ;-)
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>>
>>>>
>>>>
>>>>> Best Regrards
>>>>> Gr8vyguy
>>>>>
>>>>> Eike Stepper 写道:
>>>>>
>>>>>
>>>>>> Gr8vyguy,
>>>>>>
>>>>>> cdo.server.net4j
>>>>>>
>>>>>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>>>>>> integration available through separate addon plugins. With HEAD (3.0)
>>>>>> you need o.e.e.cdo.server.net4j deployed on the server and
>>>>>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>>>>>> in the normal cdo plugins for the 2.0 versions.
>>>>>>
>>>>>> It's just hard to keep the wiki docs in sync with multiple development
>>>>>> streams. That's why we're going to start versioned manuals at
>>>>>> http://eclipse.org/cdo/documentation but don't expect much content there
>>>>>> now. It's so much effort to write a proper manuals. If you're interested
>>>>>> in contributing to this effort please let me know ;-)
>>>>>>
>>>>>> Cheers
>>>>>> /Eike
>>>>>>
>>>>>> ----
>>>>>> http://thegordian.blogspot.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> Gr9vy Guy schrieb:
>>>>>>
>>>>>>
>>>>>>> hi,
>>>>>>>
>>>>>>> i try CDO after the tutorial Getting started with CDO
>>>>>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>>>>>
>>>>>>> but i got an FactoryNotFoundException when open a session.
>>>>>>>
>>>>>>> then found i by google:
>>>>>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>>>>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>>>>>
>>>>>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>>>>>
>>>>>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>>>>>
>>>>>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>>>>>
>>>>>>> what can i do?
>>>>>>>
>>>>>>> Best Regard!
>>>>>>> Gr8vyguy
>>>>>>>
>>>>>>>
>>>>>>>


Re: [CDO] Problem with Getting started with CDO [message #479784 is a reply to message #479620] Wed, 12 August 2009 14:04 Go to previous messageGo to next message
Pan Daoen is currently offline Pan DaoenFriend
Messages: 14
Registered: July 2009
Junior Member
now it works.

thank you very much, you are very nice.

Eike Stepper 写道:
> Gr9vy Guy,
>
> I think there's a bug in the wiki article of Martin (whom I have cc'ed):
> When you open a session in the CDO Sessions view you must enter the
> repository name exactly like you specified it inthe server config file.
> In this case it is "repo1", not "/repo1".
>
> I'm sure that Martin can upload a corrected version of that buggy
> screenshot ;-)
>
> BTW. if the server tells about a "Crash detected" that might be a sign
> that you did not properly shut down the server the last time it was
> running. In many setups you can do that by entering "close" in the OSGi
> console (there where you see the repository logging).
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Gr9vy Guy schrieb:
>> hi Victor,
>>
>> i follow the same step as described in the guide Getting started with
>> CDO Galileo.
>>
>> 1. start witch a clean Eclipse 3.5 classic
>> 2. install CDO, net4j and EMF from the update site of galileo
>> 3. copy the configuration from the guide to the file
>> eclipse/config/cdo-server.xml,
>> 4. then start the server with NO -Dnet4j.config. here is my console log
>> [INFO] CDO Server starting
>> [INFO] Detected crash
>> [INFO] Repaired after crash: maxObjectID=1, maxMetaID=428
>> [INFO] No user manager configured. Users will not be authenticated
>> [INFO] CDO Server started
>>
>> 5. create a EMF project using the library example
>> 6. migrate it to CDO
>> 7. generate all code
>> 8. start a new Eclipse runtime instance
>> 9. open a session from CDO sessions view, with
>> tcp://localhost
>> /repo1
>> 10. then a dialog with the stack trace shows.
>>
>>
>> Best Regards
>> Gr8vyguy
>>
>> Víctor Roldán Betancort 写道:
>>
>>> Gr9vy Guy,
>>>
>>> as far as I know, this usually happens when you try to connect to a
>>> repository that does not exist. Please check your "cdo-server.xml" file
>>> defines the repository properly.
>>>
>>> How are you exactly running the server? How are you trying to connect to
>>> the server, using the CDO Session View? Could you give us an overview of
>>> your current usage scenario?
>>>
>>> Cheers,
>>> Víctor.
>>>
>>> Gr9vy Guy escribió:
>>>
>>>> here is my stack trace
>>>>
>>>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>>>> found: org.eclipse.emf.cdo.server.repositories[default]
>>>> org.eclipse.net4j.signal.RemoteException:
>>>> org.eclipse.net4j.util.container.FactoryNotFoundException: Factory not
>>>> found: org.eclipse.emf.cdo.server.repositories[default]
>>>> at
>>>> org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteEx ception(RequestWithConfirmation.java:128)
>>>> at
>>>> org.eclipse.net4j.signal.SignalProtocol.handleRemoteExceptio n(SignalProtocol.java:491)
>>>> at
>>>> org.eclipse.net4j.signal.RemoteExceptionIndication.indicatin g(RemoteExceptionIndication.java:53)
>>>> at org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
>>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:312)
>>>> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:239)
>>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
>>>> at java.lang.Thread.run(Thread.java:619)
>>>> Caused by: org.eclipse.net4j.util.container.FactoryNotFoundException:
>>>> Factory not found: org.eclipse.emf.cdo.server.repositories[default]
>>>> at
>>>> org.eclipse.net4j.util.container.ManagedContainer.getFactory (ManagedContainer.java:193)
>>>> at
>>>> org.eclipse.net4j.util.container.ManagedContainer.createElem ent(ManagedContainer.java:490)
>>>> at
>>>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:281)
>>>> at
>>>> org.eclipse.net4j.util.container.ManagedContainer.getElement (ManagedContainer.java:265)
>>>> at
>>>> org.eclipse.emf.cdo.spi.server.RepositoryFactory.get(Reposit oryFactory.java:43)
>>>> at
>>>> org.eclipse.emf.cdo.spi.server.ContainerRepositoryProvider.g etRepository(ContainerRepositoryProvider.java:38)
>>>> at
>>>> org.eclipse.emf.cdo.internal.server.protocol.OpenSessionIndi cation.responding(OpenSessionIndication.java:85)
>>>> at
>>>> org.eclipse.emf.cdo.internal.server.protocol.CDOServerIndica tion.responding(CDOServerIndication.java:119)
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOu tput(IndicationWithResponse.java:96)
>>>> at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:282)
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:65)
>>>> ... 5 more
>>>>
>>>>
>>>> Eike Stepper 写道:
>>>>
>>>>> Gr9vy Guy schrieb:
>>>>>
>>>>>> hi Eike,
>>>>>>
>>>>>> thank you for your reply.
>>>>>>
>>>>>> I try to make my question more clearly. I use CDO 2.0.0, Net4j 2.0.0
>>>>>> and EMF 2.5.0, (NOT 3.0) when i start the example as described by
>>>>>> Getting started with CDO. but an FactoryNotFoundException is trown when
>>>>>> open a session.
>>>>>>
>>>>>>
>>>>> Please always give us the full stack trace of exceptions.
>>>>>
>>>>>
>>>>>> how can i fix this problem?
>>>>>>
>>>>>> my english is not good for documentation, sorry, :(
>>>>>>
>>>>>>
>>>>> No problem ;-)
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://thegordian.blogspot.com
>>>>>
>>>>>
>>>>>
>>>>>> Best Regrards
>>>>>> Gr8vyguy
>>>>>>
>>>>>> Eike Stepper 写道:
>>>>>>
>>>>>>
>>>>>>> Gr8vyguy,
>>>>>>>
>>>>>>> cdo.server.net4j
>>>>>>>
>>>>>>> In the HEAD branch we decoupled CDO from Net4j and made the Net4j
>>>>>>> integration available through separate addon plugins. With HEAD (3.0)
>>>>>>> you need o.e.e.cdo.server.net4j deployed on the server and
>>>>>>> o.e.e.cdo.net4j deployed on the client side. The same code is integrated
>>>>>>> in the normal cdo plugins for the 2.0 versions.
>>>>>>>
>>>>>>> It's just hard to keep the wiki docs in sync with multiple development
>>>>>>> streams. That's why we're going to start versioned manuals at
>>>>>>> http://eclipse.org/cdo/documentation but don't expect much content there
>>>>>>> now. It's so much effort to write a proper manuals. If you're interested
>>>>>>> in contributing to this effort please let me know ;-)
>>>>>>>
>>>>>>> Cheers
>>>>>>> /Eike
>>>>>>>
>>>>>>> ----
>>>>>>> http://thegordian.blogspot.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Gr9vy Guy schrieb:
>>>>>>>
>>>>>>>
>>>>>>>> hi,
>>>>>>>>
>>>>>>>> i try CDO after the tutorial Getting started with CDO
>>>>>>>> Galileo(http://wiki.eclipse.org/Getting_started_with_CDO_Galileo).
>>>>>>>>
>>>>>>>> but i got an FactoryNotFoundException when open a session.
>>>>>>>>
>>>>>>>> then found i by google:
>>>>>>>> missing for a server setup: org.eclipse.emf.cdo.server.net4j
>>>>>>>> at http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg4 2651.html
>>>>>>>>
>>>>>>>> then i check my installed plugins. really no *.cdo.server.net4j
>>>>>>>>
>>>>>>>> then i downloads CDO SDK, unzip it, no *.cdo.server.net4j
>>>>>>>>
>>>>>>>> then i try to check out from CVS, but with errors "Unsatisfied Version".
>>>>>>>>
>>>>>>>> what can i do?
>>>>>>>>
>>>>>>>> Best Regard!
>>>>>>>> Gr8vyguy
>>>>>>>>
>>>>>>>>
>>>>>>>>
Re: [CDO] Problem with Getting started with CDO [message #480596 is a reply to message #479784] Mon, 17 August 2009 19:01 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi @all,

sorry for he late response (a was on vacation). And also sorry for the
miss-typing in the picture
Re: [CDO] Problem with Getting started with CDO [message #480703 is a reply to message #480596] Tue, 18 August 2009 09:42 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Martin,

Thanks for your effort and thanks for the great tutorial ;-)

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Martin Flügge schrieb:
> Hi @all,
>
> sorry for he late response (a was on vacation). And also sorry for the
> miss-typing in the picture


Previous Topic:Re: How to use ecore2xml?
Next Topic:[CDO] Switch to another DB backend when doing CDO tests
Goto Forum:
  


Current Time: Thu Mar 28 15:15:10 GMT 2024

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

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

Back to the top