[appengine-java] Re: Cache-Controle Expiration on static files

2009-09-06 Thread Yossi
I also have the same issue - the header is not impacted by the expiration value. Yossi On Sep 4, 3:50 pm, Patou patou.de.saint.ste...@gmail.com wrote: hello, I test the new sdk, and I see that we now add a expiration attribut in the include tag in appengine-web.xml to set the expiration

[appengine-java] Re: After upgrade to Java SDK 1.2.5 Key property saved but retrieved as null

2009-09-06 Thread bgood
OK, but why would this behavior be happening inconsistently across his (and probably others) application? On Sep 5, 7:06 pm, Max Ross maxr+appeng...@google.com wrote: Key is not in the default fetch group because it is an appengine-specific class.  The JDO spec doesn't know anything about app

[appengine-java] Re: Weird ArrayStoreException after new deployment to production

2009-09-06 Thread 1ka
Similar problem with SimpleDateFormat here - http://groups.google.com/group/google-appengine-java/browse_thread/thread/a7ea6dd1e097d496?pli=1 On Aug 20, 10:46 am, James H james.hollier...@gmail.com wrote: Ah yes, I was looking for that very switch to disable Sessions and it did help isolate

[appengine-java] Query + Filter for Key as Encoded String

2009-09-06 Thread Kriván Bálint
Hi! I've the following Entity: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Document implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName = datanucleus, key =

[appengine-java] Re: is not persistable

2009-09-06 Thread Bob L.
Oh mine! It occurred again. JDO looks quite fragile. Is there any wrong with following code? @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Category { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id;

[appengine-java] Re: is not persistable

2009-09-06 Thread datanucleus
Oh mine! It occurred again. JDO looks quite fragile. Nothing fragile about the persistence process. You simply have to define your classes as persistent and enhance them, and have the enhanced ones in the CLASSPATH. Not hard --~--~-~--~~~---~--~~ You received

[appengine-java] Upgrade issue with Google SDK 1.2.5

2009-09-06 Thread James H
I used the Eclipse Soft Updates menu on Sep 4th to apply SDK 1.2.5 after noticing Red errors in the local runtime log telling me to do so. Actually, first I noticed my production app was failing to retrieve data so I figured I needed to first upgrade as instructed by the log message and then see

[appengine-java] confuse on Whitelist

2009-09-06 Thread asianCoolz
I saw white list http://code.google.com/appengine/docs/java/jrewhitelist.html , java.lang.Thread is in it. Aren't Thread not supported? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] support for task queues in development environment?

2009-09-06 Thread Vince Bonfanti
Task queues are working properly when I deploy my app to Google's servers, but never get executed in my development environment (Eclipse Galileo). There are no errors, no logs, no indication of what's going wrong. Queue.add() returns successfully, but my tasks never get executed. I'm running the

[appengine-java] 500 Internal Server Error when uploading to GAE

2009-09-06 Thread barak
Hi, I'm using Eclipse plugin and sdk-1.2.2 to upload my app to GAE, its size is 109MB. From time to time I'm facing upload problems with the following error: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/addblob?path=__.500 Internal Server Error The

[appengine-java] Re: After upgrade to Java SDK 1.2.5 Key property saved but retrieved as null

2009-09-06 Thread Yegor
I think it makes sense now. I did see more exceptions related to incorrect transaction handling (e.g. updating multiple entities from different entity groups) that didn't happen prior to 1.2.5. It seems that it was the upgrade to datanucleus 1.1.5 that triggered these exceptions. I am not

[appengine-java] Re: support for task queues in development environment?

2009-09-06 Thread Max Ross
Hi Vince, In order to get the task queue into the 1.2.5 release we had to take a shortcut with the local development environment. Tasks execute automatically in production but not locally. However, in the local environment you can kick off your tasks manually by visiting the task queue admin

[appengine-java] Master/Detail relations and redundant data handling

2009-09-06 Thread James H
Based on the Max Ross I/O video on Persistence, I understand the best practice regarding handling of Master/Detail relations is to place redundant Master data in the Detail row. Same would apply to any type of relation (1-to-1, 1-to-many). So for example if I have an entity Person relating as

[appengine-java] Query a collection of entities with their IDs

2009-09-06 Thread Zhi Le Zou
Hi, I have a class Foo defined as below: public class Foo{ @PrimaryKey @Persistent(valueStrategy= IdGeneratorStrategy.IDENTITY) private