Hello, 

I am using latest Java SDK 1.7.4, and the following command to start dev 
server:

%java.home%\bin\java 
-Ddatastore.default_high_rep_job_policy_unapplied_job_pct=20 -cp 
"%~dp0\..\lib\appengine-tools-api.jar" ^
    com.google.appengine.tools.KickStart ^
       com.google.appengine.tools.development.DevAppServerMain %*

(as in 
https://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore
 
)

Yet, log says on a first request to DataStore :

INFO: Local Datastore initialized:
        Type: Master/Slave
[..]

Then, I get an exception:

31.01.2013 19:16:02 org.datanucleus.transaction.Transaction rollback
SEVERE: Operation rollback failed on resource: 
org.datanucleus.store.appengine.DatastoreXAResource@404eb2, error code 
UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid=    , enlisted 
resources=[org.datanucleus.store.appengine.DatastoreXAResource@404eb2]]
31.01.2013 19:16:02 com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: /themepark/post
java.lang.IllegalArgumentException: transactions on multiple entity groups 
only allowed in High Replication applications
[..]

I have following lines in \META-INF\jdoconfig.xml:
<property name="datanucleus.appengine.autoCreateDatastoreTxns" 
value="true"/>
<property name="datanucleus.appengine.datastoreEnableXGTransactions" 
value="true"/>

How do I make dev_appserver.cmd emulate High Replication Datastore?
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to