[appengine-java] Query for a Long id using getObjectById JDO

2010-11-03 Thread giannisdag
Hi all, I am a bit confused about how to retrieve an object using JDO. I am using GWT, and I am trying the new approach GWT 2.1 using DTO objects with request factory, which needs the entity objects to have their keys stored as Long. But as I read the documentation about keys, I have the following

[appengine-java] Simulating 500 error code

2010-11-03 Thread Ice13ill
Is it possible in App engine Java to simulate on development mode (or production mode) the 500 internal server error ? -- 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

[appengine-java] Re: 1.3.8 Console Logging Issue

2010-11-03 Thread Ice13ill
I also have this problem. In addition, it seams that the new 1.3.8 version does not recognize the 1.3.7 local_db.bin development mode datastore (if i switch back it's ok) On Nov 3, 4:38 am, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't

[appengine-java] Unable to start Dev Server : Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext

2010-11-03 Thread Blaise Gervais
Hi everyone, Since one day I'm unable to start my app. She was running in Dev mode with Eclipse plugin. But this morning, I got the following error who start Jetty but give me only HTTP ERROR: 503 pages. I have just added a jar and four classes but now, I have removed the jar and classes but the

[appengine-java] JPA transaction not active in Spring unit test

2010-11-03 Thread lp
hi all, i am attempting to unit test my JPA code in a Spring unit test. i read all the doco about gae unit tests. i have this working in normal hibernate JPA with a specific tx manager. I cant see how the txManager is wired up. however i get the following error

[appengine-java] AppWrench 1.3 released. Data store Refactorings, Improved Import/Export wizards, full JDO/JPA support

2010-11-03 Thread kor
OnPositive Technologies is happy to announce final release of AppWrench 1.3, the first collection of powerful productivity tools created specifically for Google App Engine. AppWrench 1.3 introduces following majour improvement and features : * Powerfull Data store refactorings - allows to few

[appengine-java] Re: Simulating 500 error code

2010-11-03 Thread Peter Ondruska
def get(self) self.error(500) should work but never triwd myself Ice13ill napsal(a): Is it possible in App engine Java to simulate on development mode (or production mode) the 500 internal server error ? -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Re: Simulating 500 error code

2010-11-03 Thread Andrei Cosmin Fifiiţă
i dont think that is java... On Wed, Nov 3, 2010 at 3:21 PM, Peter Ondruska peter.ondru...@gmail.comwrote: def get(self) self.error(500) should work but never triwd myself Ice13ill napsal(a): Is it possible in App engine Java to simulate on development mode (or production mode) the 500

Re: [appengine-java] Re: 1.3.8 Console Logging Issue

2010-11-03 Thread Rajeev Dayal
No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level

[appengine-java] simple joins with multiple conditions

2010-11-03 Thread hendrix.jason
This page shows how to do simple joins http://gae-java-persistence.blogspot.com/2010/03/executing-simple-joins-across-owned.html However, is there a way to join the same child element twice to check for a child element that contains 2 specific items, like I'm trying to do here but

Re: [appengine-java] Class not found in Eclipse

2010-11-03 Thread Rajeev Dayal
Unfortunately, GPE does not handle the case of dependent projects correctly. You can either manually jar up the classes from SimpleJavaProject, and drop that JAR into your war/WEB-INF/lib folder for the Web Application Project, or you can define the output folder for SimpleJavaProject to be equal

[appengine-java] Cannot get JPA to work - Yes I'm bad

2010-11-03 Thread Patrick
So I'm trying to set up a REST server and I want to use JPA for persistence. But when I my app I get this error: javax.persistence.PersistenceException: Provider error. Provider: org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider at

Re: [appengine-java] Unable to start Dev Server : Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext

2010-11-03 Thread chander
HI On Wed, Nov 3, 2010 at 5:11 PM, Blaise Gervais gervai...@gmail.com wrote: Hi everyone, Since one day I'm unable to start my app. She was running in Dev mode with Eclipse plugin. But this morning, I got the following error who start Jetty but give me only HTTP ERROR: 503 pages. I have

[appengine-java] Re: Cannot get JPA to work - Yes I'm bad

2010-11-03 Thread Patrick
I'm using JDO now. Everythings ok On Nov 3, 2:04 pm, Patrick luss...@gmail.com wrote: So I'm trying to set up a REST server and I want to use JPA for persistence. But when I my app I get this error: javax.persistence.PersistenceException: Provider error. Provider:

Re: [appengine-java] Google App Engine Java on Linux PowerPC

2010-11-03 Thread Ikai Lan (Google)
You should be able to run the App Engine for Java SDK. That's the promise of Java, right? Interoperability across platforms that can run the JVM? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine

[appengine-java] Re: Query for a Long id using getObjectById JDO

2010-11-03 Thread giannisdag
After doing some reading, I realized that in GAE datastore, an entity is stored using the key value and a key name or ID. The key name has to be a string and the ID is long. The key name can be created by the application and can be created like this as an example: Key key =

Re: [appengine-java] Google App Engine Java on Linux PowerPC

2010-11-03 Thread Nasif Noorudeen
you can run app engine on power PC On Wed, Nov 3, 2010 at 11:30 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: You should be able to run the App Engine for Java SDK. That's the promise of Java, right? Interoperability across platforms that can run

Re: [appengine-java] Re: Query for a Long id using getObjectById JDO

2010-11-03 Thread Cyrille Vincey
Both following syntaxes are ok for JDO : Key key1 = KeyFactory.createKey(YourClass.class.getSimpleName(), 12345L); //using Long Key key2 = KeyFactory.createKey(YourClass.class.getSimpleName(), yourtextid); //using String It's up to you to define how you want your entities to be recorded : 1.

[appengine-java] Re: Cannot get JPA to work - Yes I'm bad

2010-11-03 Thread Didier Durand
Hi, You could also give a try to Objectify if you're looking for something much simpler than JPA/JDO although highly efficient. regards didier On Nov 3, 5:57 pm, Patrick luss...@gmail.com wrote: I'm using JDO now. Everythings ok On Nov 3, 2:04 pm, Patrick luss...@gmail.com wrote: So I'm

Re: [appengine-java] Mapper Blobstore bytes read limit

2010-11-03 Thread Ikai Lan (Google)
This behavior doesn't seem right. No, the entire blob should not be getting read. We'll look into this. Do you have any more details? Could tasks be getting retried? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

[appengine-java] Re: Fwd: BlobstoreService not compatible with HTML5 multiple file upload?

2010-11-03 Thread Dan Dubois
Sorry to keep this thread alive but does anyone know of a work around for the HTML5 multi-file upload problem? To summarise HTML5 allows you to upload multiple files at the same time. Unfortunately on most browsers it gives all the files the same name. Therefore the app engine api MapString,

[appengine-java] Install portal on Google App Engine

2010-11-03 Thread Robert Naczinski
Hi, it is possible to install a portal like Liferay or Jetspeed on Google App Engine? If so, can someone give me a link to a tutorial etc.. Greetings, Robert -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group,

[appengine-java] Re: 500 Errors on blobstore upload, perhaps related to oauth?

2010-11-03 Thread tempy
After investigating further, things get more confusing. I guess the oauth stuff in the upload URL is as it should be, since disabling oauth in my app did not change the presence of the oauth stuff in the upload URL. After watching the exchange between my client and GAE app with fiddler, I

[appengine-java] Re: Fwd: BlobstoreService not compatible with HTML5 multiple file upload?

2010-11-03 Thread Didier Durand
Hi Dan, Just an idea: can't you change the file names (via javascript) on the browser before upload starts to make them all different ? regards didier On Nov 3, 9:00 pm, Dan Dubois uvico...@gmail.com wrote: Sorry to keep this thread alive but does anyone know of a work around for the HTML5