[appengine-java] Re: HTTP POST failing in dev environment with SDK 1.4.3

2011-04-03 Thread rml
No, I'm not hitting deadline. I'm POSTing login credentials so it's a small HTTP request. The problem disappears as soon as I switch back to 1.4.2. On Apr 3, 4:54 am, branflake2267 branflake2...@gmail.com wrote: My posts are working for 1.4.3, although, you can hit deadlines. What are you

[appengine-java] Best practice for multithreaded access/update to entity

2011-04-03 Thread Peter Backx
I have an application that accesses a user entity. This entity also contains a number of user specific settings that the user can update. Some of those settings are updated by different servlets in parallel (for instance uploading a profile picture to the blobstore) I'm having some serious

[appengine-java] Help ! Datanucleus class cast Exception

2011-04-03 Thread Martin Newstead
Firstly apologies if I have posted in the wrong place, I am sure someone will kindly tell me where is more appropriate. I have built a new application, I have already deployed one with identical architecture successfully but not encountered this error before. My application runs well on Tomcat

[appengine-java] Re: Help ! Datanucleus class cast Exception

2011-04-03 Thread Martin Newstead
Update: Digging into the source code for org.datanucleus.store.appengine.query.DatastoreQuery.getSortProperty allowed me to figure out what was causing the problem. In the follow code, the emboldened on is the one that threw the exception, it will be noticed that I have ordered by 'keyx' which

[appengine-java] Re: HTTP POST failing in dev environment with SDK 1.4.3

2011-04-03 Thread Thomas Visser
I also experienced it using the dyuproject library for OpenID authentication. It remained working fine on the app engine and I managed to get it to work locally as well by removing the Content- length header parameter. On Apr 2, 12:33 pm, rml radomi...@gmail.com wrote: I have an issue with local

[appengine-java] Re: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:

2011-04-03 Thread Mitch Rudominer
I apologize, we neglected to include the JavaDoc for the new File API in the 1.4.3 release. It will be in 1.4.4 but I will look into posting it somewhere temporarily. In the mean time, here is the JavaDoc for the method you asked about: /** * Creates a new empty file in the BlobStore of the

[appengine-java] Re: Could Not Verify SSL Certificate

2011-04-03 Thread xtrawurst
Add this JVM arg to the appengine startup runtime, -Djavax.net.debug=ssl How can I do that? Is there an Eclipse setting for that? -- 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] JPA Error : When tried to use the type Key or encoded String

2011-04-03 Thread Pradeep
Hi Everyone , I am getting an error when tried to persist my class using the JPA. I am about to persist my child model . here is the snippet that generates the error, @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Extension(vendorName=datanucleus,

[appengine-java] Resize image to exact size using ImagesService

2011-04-03 Thread mscwd01
Hi Is there a way to resize an image to an exact size? I am currently using this: ImagesServiceFactory.makeResize(width, height); However, this scales the image until it reaches either the height or width value to ensure the aspect ratio is maintained. This is not what I want, I would like to

[appengine-java] Re: JPA/JDO vs low level API

2011-04-03 Thread emurmur
I've been using Java AppEngine since it became available. I chose JDO for portability and so I could get started very quickly. I can say that JDO offers very little real portability for significant apps because of the very different semantics of the underlying datastore. If I were developing

[appengine-java] 1.4.3 remote_api upload Parent with Children

2011-04-03 Thread mattkrae34
I'm trying to use to the new remote_api features to upload data. What is the best way to upload a parent with a list of owned children. Class Parent has ListChild children I tried uploading the Parent and using its key to create Keys for each of the children. child.setProperty(key,

[appengine-java] Re: 1.4.3 remote_api upload Parent with Children

2011-04-03 Thread mattkrae34
Figured it out, just create the the child entity with: Entity child = new Entity(Child, parentKey); children.add(child); ds.put(children) On Apr 3, 5:42 pm, mattkrae34 matt.krae...@gmail.com wrote: I'm trying to use to the new remote_api features to upload data.  What is the best way to upload

[appengine-java] Re: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:

2011-04-03 Thread branflake2267
Ah, just what I needed. Thanks! Brandon -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to

[appengine-java] Re: Best practice for multithreaded access/update to entity

2011-04-03 Thread Didier Durand
Hi, Having a version (or even better a timestamp) for last update is also what I use to maintain integrity of my data. To manage it simply, a) I use a hierarchy of object all inheriting from a DsObject so that I to manage this version only in one place b) I use the @PrePersist annotation (from

[appengine-java] Re: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:

2011-04-03 Thread Jay Young
On Sunday, April 3, 2011 12:59:23 PM UTC-4, Mitch Rudominer wrote: I will look into posting it somewhere temporarily. files-javadoc.appspot.com? :-) -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send