[appengine-java] Re: cron: AppEngineConfigException: schedule every 5 mins from 00:04 to 23:59 failed to parse

2011-04-07 Thread Mickey Kataria (Google Employee)
Are you seeing this error when you try to upload your app? Are you using the latest released (1.4.3) SDK? On Apr 6, 5:40 am, epure filip.god...@gmail.com wrote: Ping -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] unable to update app:Failed to compile jsp files

2011-04-07 Thread Eric Wu
I got problem when I deploy my project to Google App Engine. The project works ok on localhost. When deploying, there was a error message I post below: How to solve it? Creating staging directory Scanning for jsp files. Compiling jsp files.

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

2011-04-07 Thread Mathieu Clavel
Hello everybody, I have a similar problem, but with the version 1.4.3 The site I'm connecting to (web services) has a bad ssl certificat (not right for the domain). I added it successfully to the cacerts of the jdk. Using v1.4.2, the ssl connection is working. When trying to use the v1.4.3, the

[appengine-java] JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
I have a Recipe. Each Recipe has an image. So my entity looks something like @PersistenceCapable public class Recipe { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private MyImage myImage; When I create the Recipe the

[appengine-java] Failed to compile jsp files.

2011-04-07 Thread Eric Wu
I use the new version of sdk1.4.3. The problem still unsolved. here is the error message Creating staging directory Scanning for jsp files. Compiling jsp files. com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files. 2011/4/7 下午 04:17:10

[appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Simon Knott
Hi, I don't personally use JDO, but don't you have to re-put your object? I don't know how JDO does its dirty checking - I doubt very much that it will persist modified entities just because you're closing the Persistence Manager. Cheers, Simon -- You received this message because you are

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
Hello Simon, even if I persist it doing try { r.setImage(newImage); pm.makePersistent(newImage); } finally { pm.close(); } I still get the same results. The interesting thing is that if I delete the image entity from the datastore, the recipe

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Simon Knott
If you look in the datastore admin tool, can you see whether the Recipe is being updated with the new image reference? Are you seeing this problem on Dev or Prod? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Simon Knott
Have you tried deploying to GAE? You can only see child fields in the datastore viewer in Production. -- 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

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
It's the same when deployed to GAE. From the live datastore viewer I don't see the children when viewing the Recipe entity itself. The images get stored in another table called Image. Was I suppose to see a reference to the image object directly in the Recipe entity? On Thu, Apr 7, 2011 at 11:08

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
I don't see the actual Recipe being update with anything. I just see the Image being added in the Image 'table'. But from the datastore viewer there's no attribute in the Recipe 'table'. Hope that's clear. On Thu, Apr 7, 2011 at 10:58 AM, Simon Knott knott.si...@gmail.com wrote: If you look in

[appengine-java] Re: Group Welcome Read Me

2011-04-07 Thread skone
hello boys and girl my level in engilsh is very poor but i try to explain my problems clearly i use the extention for GWT who call GXT i create my project and i try to deploy with Google App Engine but i have one error GWT compilation failed and on my console Compiling module

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Simon Knott
Yes, that's what I would have expected - how else would a recipe ever retain which image it is related to? Is the relationship purely stored within the key of the Image? I must admit that without any knowledge of JDO and its relationship management, I'm just making wild guesses! -- You

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
Well, I would think the Key has relationship information. The thing is that I'm able to fetch the image for the recipe, so the relationship is there somehow. It seems as if setImage() isn't enough for the linkage to update to the latest image. On Thu, Apr 7, 2011 at 11:29 AM, Simon Knott

[appengine-java] Re: Integrating Flex/Flash/Silverlight/AJAX/Android with Java classes in GAE

2011-04-07 Thread Mike Lawrence
Mark, if I write a simple servlet that accepts JSON it supports any client too, for free with no external dependencies. I watched your entire video. Sorry, not sure I understand your value proposition. On Apr 5, 3:45 pm, Mark Piller mpil...@gmail.com wrote: Hey guys, I am not sure what the

[appengine-java] My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-07 Thread Rajesh KN
Error: Server ErrorThe server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.html your problem and mention this error message and the query that caused it. -- You received this message because you are

[appengine-java] fetching of children JDO

2011-04-07 Thread Neto
Hi, I am new to JDO! Sorry if this is a repeated post, but i could not find out nothing with an answer to my problem. I am trying to model the following strutucre: class A{ private ArrayList B listB; } class B{ private LinkedListC listC; } Note: the fields (listB and listC) are marked with

[appengine-java] Re: fetching of children JDO

2011-04-07 Thread Neto
I have a mistake above: by I retrieve a A object and than detach it. I can acess the listB field just fine, but when i try to acess the* working hours*, i get the following error: e mean I retrieve a A object and than detach it. I can acess the listB field just fine, but when i try to

Re: [appengine-java] My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-07 Thread Amit Pandey
Please copy and paste your google app engine console to identify the exact problem. Thanks. On Thu, Apr 7, 2011 at 5:31 PM, Rajesh KN knra...@gmail.com wrote: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please

[appengine-java] How to read large files from the Blobstore using the file API ?

2011-04-07 Thread DanielP
Hi, I am trying to read some 5MB XML files I have saved into the Blobstorevia the new APIs introduced in Version 1.4.3. The problem is that the read is so slow that I get a DeadlineExceededException :( I'm folowing the example provided in the docs here:

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
This is really weird. I cannot find anything on the internet that could help me. It seems such a simple thing to be editing child objects and I find it ridiculous that I can't find a solution. please help On Thu, Apr 7, 2011 at 11:53 AM, Luca Matteis lmatt...@gmail.com wrote: Well, I would

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

2011-04-07 Thread Peter Backx
Hi Ikai, Could you expand your answer a little? Do you mean that I don't need to manage a timestap/version if I use transactions? Or do you mean I should use transactions to combine a read (to check for a changed timestamp/version) with a write? If I don't manage the timestamp myself, how

[appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-07 Thread gjs
+1 Regards On Apr 7, 3:52 pm, Thomas Wiradikusuma wiradikus...@gmail.com wrote: I agree with Rajkumar, GAE/J is a very important service, especially for indie Java developers like me. The service is getting better, and the developer groups are vibrant. Happy Birthday GAE! regards,

[appengine-java] Re: fetching of children JDO

2011-04-07 Thread Ian Marshall
The problem could be due to fetch depth. In my jdoconfig.xml file, I have property name=datanucleus.maxFetchDepth value=1/ which is the default value. I use transactions for my data exchange with the datastore using JDO for everything except queries which can return entities from more than

[appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Ian Marshall
Do you use transactions? Instead of your PersistenceManager pm = PMF.get().getPersistenceManager(); Recipe r = pm.getObjectById(Recipe.class, recKey); try { r.setImage(newImage); } finally { pm.close(); } have you tried PersistenceManager pm =

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-07 Thread Luca Matteis
Hello Ian, I tried using your exact piece of code. Still same results. The recipe still points to the first image instead of the most recently added one. On Thu, Apr 7, 2011 at 5:20 PM, Ian Marshall ianmarshall...@gmail.com wrote: Do you use transactions? Instead of your  PersistenceManager

Re: [appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-07 Thread Don Schwarz
Thanks for the nice thoughts, everyone. We're excited about what all of you have built on App Engine as well! On Thu, Apr 7, 2011 at 10:13 AM, gjs garyjamessi...@gmail.com wrote: +1 Regards On Apr 7, 3:52 pm, Thomas Wiradikusuma wiradikus...@gmail.com wrote: I agree with Rajkumar,

[appengine-java] How much cpu should a page use

2011-04-07 Thread WillSpecht
I just installed appstats. I have been looking at the breakdown of a few of my pages. Some, pages where many different models are being displayed on one page, seem like they are making a lot of RPC's. Is there a good benchmark I should try and set my pages to? What are good numbers for RPC

Re: [appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-07 Thread JT
Happy birthday! Best platform ever! My own reasons http://goo.gl/IaiPS On Apr 7, 2011 11:13 AM, gjs garyjamessi...@gmail.com wrote: -- 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

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

2011-04-07 Thread Jeff Schnitzer
This video will help you immensely: http://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore You can skip to the end if you just want to grok the transactions, but the rest of it is extraordinarily helpful as well. You are correct, if you use transactions, you do not

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

2011-04-07 Thread Jeff Schnitzer
This inspired me to add a little snippet to Objectify's BestPractices document: http://code.google.com/p/objectify-appengine/wiki/BestPractices#Use_Pythonic_Transactions Basically, to run an automatically repeated transaction that updates a (non-sharded to make the example simple) counter, I

[appengine-java] Detecting orphaned blobs in the Blobstore

2011-04-07 Thread lorenoolive...@gmail.com
Hi there. One of the features of my application requires the upload of image files along with other data in a form. That is, my entity is composed of both some fileds (text, currency, dates, etc) and an image file. As far as I could see, to deal with the blob store service is a two phase

[appengine-java] Unable to delete entities

2011-04-07 Thread Ben
Hello, I have a strange problem in the app engine data viewer (admin tools). I have entities in my app that have an email property, but the value of email is ''... blank. This is apparently invalid, as when I browse all entities with the email property, I get an error. I then try to query:

[appengine-java] Deployment Problems Today

2011-04-07 Thread RDS
Anyone else having deployment problems today? Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=smart-call-trackerversion=4; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8

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

2011-04-07 Thread Peter Backx
Perfect, exactly the info I needed! Thanks a lot Jeff. Peter -- 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: eclipse shows error in .jsp but tutorial project runs

2011-04-07 Thread Thoob Vaj
@IKai what was your fix for this guestbook.jsp error? I get a red x over the file name itself, but don't see a red square to indicate what the error is. I'm able to run it locally, but when I try to upload it following the last steps in the tutorial Eclipse throws an error: Unable to update:

[appengine-java] Re: Unable to delete entities

2011-04-07 Thread Didier Durand
Hi, You should try querying them all (so that you don't have to create an invalid query) via a Java program and then check the value of the property once the object is instantiated in order to issue a delete if the prop value is wrong. You may have to do this via chained queued tasks if your

[appengine-java] Re: Detecting orphaned blobs in the Blobstore

2011-04-07 Thread Didier Durand
Hi, You get the key of your blob via BlobKey blobKey = blobs.get(myFile) (see http://code.google.com/appengine/docs/java/blobstore/overview.html) So, I would personally store all the myFile ids that I distributed from the server side and in an asynchronous queue task would do to see if the get()