Re: [appengine-java] Re: Spring application context initialization on every request

2010-01-04 Thread aswath satrasala
Hello, My application is Struts2 based I have tried setting up the cron job every minute. But, still it does not help. The response time was still 20sec for the first time. -Aswath On Mon, Jan 4, 2010 at 10:00 AM, zhiw...@gmail.com zhiw...@gmail.comwrote: have a look at this link:

[appengine-java] custom vs. generated keys / storage?

2010-01-04 Thread phraktle
Hi, I'm generating my own entity keys, with new Entity(Foo, myId). I noticed that in the DataStore viewer, these entities still seem to have a default key: Decoded entity key: Foo: name=myId Entity key:

[appengine-java] Re: Querying by Category class

2010-01-04 Thread Itzik Yatom
I have tried the simplest approach and it works: query.setFilter(tags == ' + aTagValue + ' ); On Jan 3, 5:05 pm, Itzik Yatom itzik...@hotmail.com wrote: I consider to use the built in Category class for implementing tags for one of my datastore classes. Something like: . import

[appengine-java] Re: Querying by Category class

2010-01-04 Thread datanucleus
I have tried the simplest approach and it works: query.setFilter(tags == ' + aTagValue + ' ); It may work, but is actually invalid JDOQL and you should always use valid JDOQL syntax like tags.contains(tagParam) and your current query would fail in future releases. -- You received this message

[appengine-java] Re: any plans for deferred.defer in Java?

2010-01-04 Thread David Chandler
John, I think my earlier serialization error problems in production were because I was unnwittingly using an old version of GAE (1.2.6). Vince was never able to reproduce the issue in production. I believe everything is working in dev and prod as of 1.2.8. Give it a whirl and post your feedback.

Re: [appengine-java] Cannot install app engine plugin in eclipse 3.5 (Galileo)

2010-01-04 Thread Jason Parekh
Hi Uros, Could you try installing again? I think there may have been intermittent connection issues. jason On Mon, Dec 28, 2009 at 4:21 AM, Uros uipa...@gmail.com wrote: Hello, When I try to install app engine plugin in eclipse I get the following error: An error occurred while

[appengine-java] Re: https on my domain

2010-01-04 Thread Pion
I just found this SSL/HTTPS Support on Google Apps domains (issue 792) on http://code.google.com/p/googleappengine/issues/detail?id=792q=httpscolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component. There are 50+ comments on this issue. On Jan 3, 10:26 am, Pion

Re: [appengine-java] SUBSTRING function for JPA

2010-01-04 Thread Max Ross (Google)
It's not implemented. Could you please file a bug? http://code.google.com/p/datanucleus-appengine/issues/list Thanks, Max On Sun, Jan 3, 2010 at 7:16 AM, Wong lhw...@gmail.com wrote: SUBSTRING function for JPA is not working. entityManager.createQuery(SELECT SUBSTRING(v.name, 1, 3) from

Re: [appengine-java] Set cache expiration time for many static files (GAE+GWT)

2010-01-04 Thread Don Schwarz
I believe that the suggested configuration for GWT is: static-files include path=**.nocache.* expiration=1s/ include path=** expiration=30d/ /static-files Does that work? If not, please send me your web.xml and appengine-web.xml (privately if you want) and I'll determine why this

[appengine-java] db error on 2010: Persistent class Class guestbook.Greeting does not seem to have been enhanced.

2010-01-04 Thread John Lin
Dear Sir, I got this db error on th efirst working day of 2010. Please see the erros in details. I run theis as an wev application and lunch the GUI as: http://localhost:8080/index.html It seems the db has some changes recently. Please advise me. Thanks. John

[appengine-java] Re: Set cache expiration time for many static files (GAE+GWT)

2010-01-04 Thread Nohu
That was the answer I was hoping for. Yes, that configuration works. Thank you - very much appreciated! Strange thing is, that if I use configuration: static-files include path=**.nocache.* expiration=1s/ include path=/**.cache.* expiration=3000d/ include path=/**.png

[appengine-java] Re: Could not fetch URL with URLFetchService but with HttpClient

2010-01-04 Thread derkent
alrighty, gotcha now. thanks for the clarification. On Jan 3, 2:59 pm, m seleron seler...@gmail.com wrote: Hi, I'm sorry for being not able to explain adequately. I tried. cfm?fuseaction=Reports.SetReport                                    ^ I think that this sign is a cause in the

[appengine-java] Re: db error on 2010: Persistent class Class guestbook.Greeting does not seem to have been enhanced.

2010-01-04 Thread Xlorep DarkHelm
If you are using Eclipse, this can typically be fixed by making a small change to one of your JDO enhanced classes (like, hit space and then delete the space), save the file, and try re-sending the app to Google. I know it sounds strange (you effectively are not doing anything to the actual file

[appengine-java] Task Queues... errors...

2010-01-04 Thread Xlorep DarkHelm
Hello, I'm getting an error when I try and upload my app (xdh- playlist): com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL:

[appengine-java] Re: why my app on GAE first access is so slow

2010-01-04 Thread Ed Murphy
There are some proposed new features for GAE to allow apps to keep their byte-code 'warm', either on the application server, or as a pre- initialized image on disk that can be loaded and not incur a full initialization. Check out this issue, contribute suggestions and vote for it if you want to

[appengine-java] Problem accessing a file on file system

2010-01-04 Thread Steph
I am using a RandomAccessFile, which is whitelisted on Google App Engine. My simple code looks like: RandomAccessFile file = new RandomAccessFile(/WEB-INF/classes/ myfile.dat, r); which gets a java.security.AccessControlException: access denied (java.io.FilePermission