Hate to say that, but truth is that you can't. AppEngine only works with Google AppEngine. At least for now, there's no concrete or complete project that fake Google's infrastructure, at least, that I know of. You could use another Datastore tough, like MySQL with Hibernate + Gilead with your tomcat server. It's more pain and more work, but you'll have complete controle on your server environnement.
Christian On Mon, Mar 22, 2010 at 7:42 AM, duclm <[email protected]> wrote: > I need to deploy in my own server, i think i will use Tomcat, but when > using Tomcat, i can't use datastore. Can you help me solve this > problem > > On Mar 21, 12:40 am, Tristan <[email protected]> wrote: > > I hate to make it sound like "is it plugged in?", but don't you need > > to run the app on Google App Engine to access the datastore? (or > > hosted mode, which fakes app engine for you). Or did you somehow fake > > a datastore on your own? > > > > On Mar 20, 11:06 am, duclm <[email protected]> wrote: > > > > > I deploy a Gwt app that using GAE (datastore), hosted mode is ok, but > > > when i deploy to Tomcat, there is problem like below: > > > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.plugin.NonManagedPluginRegistry resolve > > > Constraints > > > INFO: Bundle "org.datanucleus.jpa" has an optional dependency to > > > "org.datanucleu > > > s.enhancer" but it cannot be resolved > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.plugin.NonManagedPluginRegistry resolve > > > Constraints > > > INFO: Bundle "org.datanucleus" has an optional dependency to > > > "org.eclipse.equino > > > x.registry" but it cannot be resolved > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.plugin.NonManagedPluginRegistry resolve > > > Constraints > > > INFO: Bundle "org.datanucleus" has an optional dependency to > > > "org.eclipse.core.r > > > untime" but it cannot be resolved > > > Mar 20, 2010 11:05:56 PM org.datanucleus.PersistenceConfiguration > > > setProperty > > > INFO: Property datanucleus.rdbms.sql.allowAllSQLStatements unknown - > > > will be ign > > > ored > > > Mar 20, 2010 11:05:56 PM org.datanucleus.PersistenceConfiguration > > > setProperty > > > INFO: Property datanucleus.rdbms.stringDefaultLength unknown - will be > > > ignored > > > Mar 20, 2010 11:05:56 PM org.datanucleus.PersistenceConfiguration > > > setProperty > > > INFO: Property datanucleus.appengine.autoCreateDatastoreTxns unknown - > > > will be i > > > gnored > > > Mar 20, 2010 11:05:56 PM org.datanucleus.ObjectManagerFactoryImpl > > > logConfigurati > > > on > > > INFO: ================= Persistence Configuration =============== > > > Mar 20, 2010 11:05:56 PM org.datanucleus.ObjectManagerFactoryImpl > > > logConfigurati > > > on > > > INFO: DataNucleus Persistence Factory - Vendor: "DataNucleus" > > > Version: "1.1.5" > > > Mar 20, 2010 11:05:56 PM org.datanucleus.ObjectManagerFactoryImpl > > > logConfigurati > > > on > > > INFO: DataNucleus Persistence Factory initialised for datastore > > > URL="appengine" > > > driver="" userName="" > > > Mar 20, 2010 11:05:56 PM org.datanucleus.ObjectManagerFactoryImpl > > > logConfigurati > > > on > > > INFO: =========================================================== > > > Mar 20, 2010 11:05:56 PM org.datanucleus.PersistenceConfiguration > > > setProperty > > > INFO: Property datanucleus.query.cached unknown - will be ignored > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.jdo.metadata.JDOMetaDataManager <init> > > > INFO: Registering listener for metadata initialisation > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.jdo.metadata.JDOAnnotationReader proces > > > sClassAnnotations > > > INFO: Class "com.cloudstudio.server.store.User" has been specified > > > with JDO anno > > > tations so using those. > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.store.appengine.MetaDataValidator valid > > > ate > > > INFO: Performing appengine-specific metadata validation for > > > com.cloudstudio.serv > > > er.store.User > > > Mar 20, 2010 11:05:56 PM > > > org.datanucleus.store.appengine.MetaDataValidator valid > > > ate > > > INFO: Finished performing appengine-specific metadata validation for > > > com.cloudst > > > udio.server.store.User > > > Mar 20, 2010 11:05:56 PM org.datanucleus.store.StoreDataManager > > > registerStoreDat > > > a > > > INFO: Managing Persistence of Class : > > > com.cloudstudio.server.store.User [Table : > > > <class name="User" > > > identity-type="application" > > > objectid-class="javax.jdo.identity.ObjectIdentity" > > > persistence-modifier="persistence-capable" > > > > > <inheritance strategy="new-table"> > > > </inheritance> > > > <field name="email" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > <field name="key" > > > persistence-modifier="persistent" > > > primary-key="true" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="false" > > > value-strategy="identity" > > > unique="false"> > > > </field> > > > <field name="name" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > <field name="pass" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > </class> > > > , InheritanceStrategy : new-table] > > > Mar 20, 2010 11:05:56 PM org.datanucleus.store.StoreDataManager > > > registerStoreDat > > > a > > > INFO: Managing Persistence of Class : > > > com.cloudstudio.server.store.User [Table : > > > <class name="User" > > > identity-type="application" > > > objectid-class="javax.jdo.identity.ObjectIdentity" > > > persistence-modifier="persistence-capable" > > > > > <inheritance strategy="new-table"> > > > </inheritance> > > > <field name="email" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > <field name="key" > > > persistence-modifier="persistent" > > > primary-key="true" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="false" > > > value-strategy="identity" > > > unique="false"> > > > </field> > > > <field name="name" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > <field name="pass" > > > persistence-modifier="persistent" > > > null-value="none" > > > default-fetch-group="true" > > > embedded="true" > > > unique="false"> > > > </field> > > > </class> > > > , InheritanceStrategy : new-table] > > > > > What i missing ??? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
