GAE日志中有很多奇怪的警告/信息

时间:2012-02-26 17:56:04

标签: java eclipse google-app-engine jdo datanucleus

我正在使用带有Google插件的Eclipse 3.7来开发GAE / J应用程序。 我经常在日志中收到很多奇怪的警告/信息,例如:

org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints: Bundle "org.datanucleus.jpa" has an optional dependency to "org.datanucleus.enhancer" but it cannot be resolved
org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints: Bundle "org.datanucleus" has an optional dependency to "org.eclipse.equinox.registry" but it cannot be resolved
org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints: Bundle "org.datanucleus" has an optional dependency to "org.eclipse.core.runtime" but it cannot be resolved
org.datanucleus.PersistenceConfiguration setProperty: Property datanucleus.rdbms.sql.allowAllSQLStatements unknown - will be ignored
org.datanucleus.PersistenceConfiguration setProperty: Property datanucleus.rdbms.stringDefaultLength unknown - will be ignored
org.datanucleus.PersistenceConfiguration setProperty: Property datanucleus.appengine.autoCreateDatastoreTxns unknown - will be ignored
...
org.datanucleus.jdo.metadata.JDOAnnotationReader processClassAnnotations: Class "Shop" has been specified with JDO annotations so using those.
org.datanucleus.store.appengine.MetaDataValidator validate: Performing appengine-specific metadata validation for Shop
org.datanucleus.store.appengine.MetaDataValidator validate: Finished performing appengine-specific metadata validation for Shop
org.datanucleus.store.StoreDataManager registerStoreData: Managing Persistence of Class : Shop 
[Table : <class name="Shop"
   identity-type="application"
   objectid-class="javax.jdo.identity.StringIdentity"
   persistence-modifier="persistence-capable">
<inheritance strategy="new-table">
</inheritance>
<field name="departmentStoreName"
   persistence-modifier="persistent"
   null-value="none"
   default-fetch-group="true"
   embedded="true"
   unique="false">
</field>
...

虽然数据存储区没有问题,但是当这个批量信息发生时,我会观察到高pending_ms(大约5-6秒)。我尝试了两种方法来解决这个问题:

  1. 使用最新的GAE SDK
  2. 从头开始创建新应用
  3. 使用JPA代替JDO
  4. 但问题不会消失。 您是否遇到过这个问题,我该如何解决? 将App Engine DataNucleus插件版本。 2解决这个问题?

0 个答案:

没有答案