Skip to main content



      Home
Home » Modeling » EMF » [CDO] NOOP store problems
[CDO] NOOP store problems [message #423517] Wed, 01 October 2008 13:55 Go to next message
Eclipse UserFriend
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 14:11 Go to previous messageGo to next message
Eclipse UserFriend
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 14:17 Go to previous messageGo to next message
Eclipse UserFriend
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 14:47 Go to previous messageGo to next message
Eclipse UserFriend
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 15:21 Go to previous messageGo to next message
Eclipse UserFriend
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 16:53 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 14:28:12 EDT 2025

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

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

Back to the top