Any idea why I'm getting this error when:

1. I'm using JDO with the following setup

  <property name="datanucleus.NontransactionalRead" value="true"/>
  <property name="datanucleus.NontransactionalWrite" value="false"/>

2. My method is only executing queries 

java.lang.IllegalStateException: Transaction with which this operation is 
associated is not active.
        at 
com.google.appengine.api.datastore.TransactionImpl.ensureTxnActive(TransactionImpl.java:197)
        at 
com.google.appengine.api.datastore.AsyncDatastoreServiceImpl.get(AsyncDatastoreServiceImpl.java:265)
        at 
com.google.appengine.api.datastore.DatastoreServiceImpl.get(DatastoreServiceImpl.java:87)
        at 
org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.get(RuntimeExceptionWrappingDatastoreService.java:83)
        at 
org.datanucleus.store.appengine.query.DatastoreQuery.fulfillBatchGetQuery(DatastoreQuery.java:331)
        at 
org.datanucleus.store.appengine.query.DatastoreQuery.executeQuery(DatastoreQuery.java:264)
        at 
org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(DatastoreQuery.java:239)
        at 
org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery.java:89)
        at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
        at org.datanucleus.store.query.Query.executeWithArray(Query.java:1371)
        at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:243)


The problem is that in the last 7 months, my method is working like a charm and 
since yesterday it starts to throwing this error message. I tried to 
begin/commit transaction but the same error is occurring again and again. 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to