Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] NOOP store problems
[CDO] NOOP store problems [message #423517] Wed, 01 October 2008 17:55 Go to next message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
I'm trying to use a NOOP store and am getting an exception on the server
when I try to call Transaction.getOrCreateResource(). Shouldn't that just
create a resource in memory for the given path if it's not available?

I also get UnsupportedOperationExceptions thrown when trying to commit.
Re: [CDO] NOOP store problems [message #423518 is a reply to message #423517] Wed, 01 October 2008 18:11 Go to previous messageGo to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
NOOPStore will be deprecated soon. In fact it doesn't keep anything in
memory... only the cache will keep it.

It is useless since we have MEMStore.
I suggest that you use MEMStore instead.

Simon

"Tom Crockett" <Thomas.M.Crockett@jpl.nasa.gov> a
Re: [CDO] NOOP store problems [message #423519 is a reply to message #423518] Wed, 01 October 2008 18:17 Go to previous messageGo to next message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
I just found that, though there doesn't appear to be a registered "mem"
store type... but I'm able to add that extension myself it appears :)
Re: [CDO] NOOP store problems [message #423523 is a reply to message #423519] Wed, 01 October 2008 18:47 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6466
Registered: July 2009
Senior Member
Tom Crockett schrieb:
> I just found that, though there doesn't appear to be a registered
> "mem" store type... but I'm able to add that extension myself it
> appears :)
Hmm, that's strange. I'm seeing this in the manifest of the server plugin:

<extension
point="org.eclipse.emf.cdo.server.storeFactories">
<storeFactory
class="org.eclipse.emf.cdo.internal.server.MEMStoreFactory"
storeType="mem"/>
</extension>

Is it different for you or can you explain why the factory is not found?

Cheers
/Eike


Re: [CDO] NOOP store problems [message #423528 is a reply to message #423523] Wed, 01 October 2008 19:21 Go to previous messageGo to next message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
Yes, that's different from what I have, but I'm using the CDO 1.0 that
came with the official Eclipse 3.4 modeling distro.

Eike Stepper wrote:

> Tom Crockett schrieb:
>> I just found that, though there doesn't appear to be a registered
>> "mem" store type... but I'm able to add that extension myself it
>> appears :)
> Hmm, that's strange. I'm seeing this in the manifest of the server plugin:

> <extension
> point="org.eclipse.emf.cdo.server.storeFactories">
> <storeFactory
> class="org.eclipse.emf.cdo.internal.server.MEMStoreFactory"
> storeType="mem"/>
> </extension>

> Is it different for you or can you explain why the factory is not found?

> Cheers
> /Eike
Re: [CDO] NOOP store problems [message #423536 is a reply to message #423528] Wed, 01 October 2008 20:53 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6466
Registered: July 2009
Senior Member
Tom Crockett schrieb:
> Yes, that's different from what I have, but I'm using the CDO 1.0 that
> came with the official Eclipse 3.4 modeling distro.
Ah, I vaguely remember that i added it during a genral manifest
walk-through after Ganymede. We are mainly using the MEMStore for
testing and nobody else ever missed that factory. If you file a Bugzilla
I can fix it in the next maintenance build.

Cheers
/Eike

>
> Eike Stepper wrote:
>
>> Tom Crockett schrieb:
>>> I just found that, though there doesn't appear to be a registered
>>> "mem" store type... but I'm able to add that extension myself it
>>> appears :)
>> Hmm, that's strange. I'm seeing this in the manifest of the server
>> plugin:
>
>> <extension
>> point="org.eclipse.emf.cdo.server.storeFactories">
>> <storeFactory
>> class="org.eclipse.emf.cdo.internal.server.MEMStoreFactory"
>> storeType="mem"/>
>> </extension>
>
>> Is it different for you or can you explain why the factory is not found?
>
>> Cheers
>> /Eike
>


Previous Topic:Date attribute in Ecore model
Next Topic:[CDO] "Not a top level package" exception
Goto Forum:
  


Current Time: Thu Jan 23 20:32:00 GMT 2020

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

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

Back to the top