Here is a useful resources for anyone interested in this thread:
http://www.datanucleus.org/products/accessplatform_1_1/jdo/cache.html

On 4 Mrz., 21:20, Frederik Pfisterer <[email protected]> wrote:
> Hi Folks,
>
> I am new to using a cache and have a hard time setting up the cache
> for JDO. Also searched the web and this group but didn't find any
> help, so maybe someone can give me a pointer or help me out.
> Here is what I did so far:
>
> 1. added datanucleus-cache-2.0.0-release.jar to the buildpath, gave me
> a Severe notice in the Datanucleus enhancer saying: Bundle
> "org.datanucleus.cache" requires "org.datanucleus" version "2.0.0.m1"
> but the resolved bundle has version "2.0.0.release" which is outside
> the expected range.
>
> 2. removed this one and added datanucleus-cache-2.0.0.m1.jar to the
> classpath, this gave me another severe notice from the enhancer
> saying: Bundle "org.datanucleus.cache" requires "org.datanucleus"
> version "2.0" but the resolved bundle has version "2.0.0.m1" which is
> outside the expected range.
>
> 3. ignored this message
>
> 4. added the following properties to jdoconfig.xml: <property
> name="datanucleus.cache.level2.type" value="javax.cache"/><property
> name="datanucleus.cache.level2.cacheName" value="javax.cache"/>
>
> 5. started up the dev server and tried to execute a simple query
> servlet. this results in the log:
>
> WARNING: Extension Point "org.datanucleus.cache_query_result" not
> registered, but plugin "org.datanucleus.cache" defined in file:/#####/
> war/WEB-INF/lib/datanucleus-cache-2.0.0.m1.jar refers to it.
> 04.03.2010 20:09:59 org.datanucleus.plugin.NonManagedPluginRegistry
> resolveConstraints
> SEVERE: Bundle "org.datanucleus.cache" requires "org.datanucleus"
> version "2.0" but the resolved bundle has version "2.0.0.m1" which is
> outside the expected range.
> 04.03.2010 20:10:03
> com.google.appengine.api.datastore.dev.LocalDatastoreService load
>
> From here on I can keep using the app and the warnings do not reoccur,
> can I ignore them? how would i determine whether the cache is working
> or not?
>
> Thanks for any help,
> Fred

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to