[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-05-05 Thread brianl
This is quite an UGLY UGLY issue. GAEJ was working great till now. May have to start looking for alternatives. Seeing restarts within a few seconds to a few minutes of one another... 05-05 10:41PM 29.289 This request caused a new process to be started for your application, ... 05-05 10:41PM 22.3

Re: [appengine-java] [JDO Paging] Getting a cursor BEFORE the end of results

2010-05-05 Thread Chau Huynh
About JDO/JPA, I tried the same thing, and Google advised to make 2 calls: the first one is your query, the second one, which is a key-only & single item query so that it can be cheap, to check if more data is available. http://groups.google.com/group/google-appengine-java/browse_thread/thread/80f1

Re: [appengine-java] Cursor support with JPA

2010-05-05 Thread Chau Huynh
Hi, Cursor provides a "point" so that query will execute after that. I don't think you can achieve the same thing with query.setFirstResult() Below is code I ran based on consulting JDO example and JPA javadocs. Hope this helps EntityManager em = ... Query query = em.createQuery(queryString); que

[appengine-java] How to return entities A) with known parentKey B) with no parent?

2010-05-05 Thread Jaroslav Záruba
Hello I have a structure defined solely by the keys (i.e. no field for parentKey reference), and I can't figure out how to read A) _direct_ descendant of known parentKey or B) root entities only. I have found posts asking about this but no answer... Either the responses were suggesting to add the

[appengine-java] Re: The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Jerome
Hi Max, Unfortunately, we do not have any stack trace or debug left, as the logs in our AppEngine app only last for a few minutes at most before being purged. After further analysis of the communication with the backup systems, it looks like the issue for the first 10 minutes was due to a queuing

[appengine-java] Cursor support with JPA

2010-05-05 Thread fvisticot
I do not see any documentation regarding cursor support with JPA. Is the following code the correct way to use cursors ? In this sample code, i will retrieve users from 300 to 320 (query.setMaxResults(20); query.setFirstResult(300);) The test is OK with the Local Eclipse GAE plugin @Test

[appengine-java] Calendar API

2010-05-05 Thread Ian R.
Can someone help me get started on pulling the event data from the NFL team calendars that Google provides. I cant seem to find the call to give me a listing of the eventIds. Am I just blind? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java

Re: [appengine-java] Re: Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Max Ross (Google)
Thanks Jerome, we're investigating... On Wed, May 5, 2010 at 2:09 PM, Jerome wrote: > Things are back up... We were completely down for 15 minutes following > the end of the planned downtime. > > Jerome > > On May 5, 4:01 pm, Jerome wrote: > > Max, the GAE team sent the notice that the maintena

[appengine-java] Re: Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Jerome
Things are back up... We were completely down for 15 minutes following the end of the planned downtime. Jerome On May 5, 4:01 pm, Jerome wrote: > Max, the GAE team sent the notice that the maintenance has been > completed, but our app is totally DOA now. Every single servlet or JSP > just 500 wi

Re: [appengine-java] Open Source FullText Search in Objectify Example

2010-05-05 Thread Duong BaTien
Hi: Thanks for sharing your code. I try to get the source code, but get the following error: [bat...@dev2 restSearch]$ svn co http://fulltext-search-in- objectify.googlecode.com/svn/trunk/ fullTextSearch svn: PROPFIND request failed on '/svn/!svn/bln/7' svn: PROPFIND of '/svn/!svn/bln/7': 502 Bad

Re: [appengine-java] Re: The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Max Ross (Google)
Hi Jerome, What error were you getting instead of ApiProxy.CapabilityDisabledException? Do you have a stack trace I can look at? Thanks, Max On Wed, May 5, 2010 at 1:57 PM, Jerome wrote: > Well... based on the announcement, we were supposed to receive a > com.google.apphosting.api.ApiProxy.Ca

[appengine-java] Re: Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Jerome
Max, the GAE team sent the notice that the maintenance has been completed, but our app is totally DOA now. Every single servlet or JSP just 500 with a: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is

[appengine-java] Re: The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Jerome
Well... based on the announcement, we were supposed to receive a com.google.apphosting.api.ApiProxy.CapabilityDisabledException exception. For at least the first 10 minutes of the down time, it was not the case. We are sorting things out, but it looks like we lost a lot of data, as our system supp

Re: [appengine-java] Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Max Ross (Google)
GAE is currently read-only for scheduled maintenance. I recommend subscribing to the google-appengine-downtime-notify group if you'd like to receive notifications of these events: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/5302cb6b950ce215

Re: [appengine-java] The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread Max Ross (Google)
GAE is currently read-only for scheduled maintenance. I recommend subscribing to the google-appengine-downtime-notify group if you'd like to receive notifications of these events: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/5302cb6b950ce215

[appengine-java] Unable to update app: Error posting to URL: Error 500

2010-05-05 Thread Rahul
Suddenly i have started getting the following exception exception when trying to deploy the application to appengine from eclipse. I was able to do this till 10 min before. What is the possible cause for this or there is something wrong on the server end ? com.google.appengine.tools.admin.AdminE

[appengine-java] The API call datastore_v3.Put() is temporarily unavailable.

2010-05-05 Thread hector
Getting this error on Java App Engine. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-jav

[appengine-java] Open Source FullText Search in Objectify Example

2010-05-05 Thread nicolas melendez
This a migration from JDO to Objectify for the fulltext search example from this post: http://googleappengine.blogspot.com/2010/04/making-your-app-searchable-using-self.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+GoogleAppEngineBlog+(Google+App+Engine+Blog) The idea and CORE COD

[appengine-java] Discussion on will-it-play-in-app-engine

2010-05-05 Thread Nacho Coloma
Loom 2.0 (http://loom.extrema-sistemas.org) is compatible with appengine out-of-the-box, and it includes some extras in a separate loom-appengine.jar. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send emai

[appengine-java] [JDO Paging] Getting a cursor BEFORE the end of results

2010-05-05 Thread James
I'm implementing some UI paging and trying to detect whether a record exists beyond the current page (in order to show a "more" button). I hoped to iterate over a result set of pageSize + 1, grabbing the cursor as I pass the item @ pageSize, and then using the existence of the last item to know th

[appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take

2010-05-05 Thread Jake
I believe the general thought is that any persistence problems caused by a recycled application are to be expected and you should work to handle those issues. Sessions can be used to hold state, but application variables need to be able to recover from an application restart (or a newly spawned in

Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
Yeah thanks, I used your tips and Guice serve and now it's working fine ! Christian On Wed, May 5, 2010 at 7:12 AM, Stephan Hartmann wrote: > What is your logic that initiates a session? > > The container does not create a session if there is no need for it. > In a servlet you can initiate a ses

[appengine-java] Common Annotations - javax.annotation.PostConstruct

2010-05-05 Thread Chau Huynh
Hello, Can anyone please advise how to get @PostConstruct invoked in App Engine (SDK version 1.3.3.1)? I tried with servlet and JPA/JDO but the conallback method was not triggered. Can you please take a look and let me know if I missed something? Thanks. public class TestServlet extends HttpServ

[appengine-java] This request caused a new process

2010-05-05 Thread Christian Goudreau
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. How can I avoid that message ? It wasn't even a new process.

Re: [appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus t

2010-05-05 Thread Christian Goudreau
And what about app that will no see their traffic grows ? Mine is mostly an intranet and it's annoying to see how slow it is because of those sleep time... Is it possible to make them last longer ? I even get some persistance problems when it goes to sleep... I'm using guiceFilters with the comma

Re: [appengine-java] Re: 500 Error Caused by: java.lang.NoSuchMethodException: org.codehaus.groovy.runtime.dgm$692.()

2010-05-05 Thread Christian Goudreau
I have the same problem from time to time... It's anying every 60 secondes my app throw that message. Christian On Wed, May 5, 2010 at 2:29 AM, Daisy wrote: > A few minutes after I posted the previous message, the app started to > work. But that is a testing app, and the real one's app id is >

[appengine-java] Re: uploas static resource

2010-05-05 Thread ale
ok, thanks for the answer. I agree with you about the crating of an amministrafice interface. And if I put css and image on an other server and call it with absolute path (http://other-simple-server-for-css-and-images.com/)? Is bad pratice? thanks again regards Ale On May 5, 2:30 pm, "Ikai L (Goo

Re: [appengine-java] JSP code debug: Compiled JSP location in local environment

2010-05-05 Thread bosun
thanks, seleron! It's really help. I don't know why App docs does not point out it. Developer really needs this information. Or is there any other way to debug .jsp code efficiently? I tried to use Eclipse Debug perspective and could not find out useful information about bug in compiled code.

[appengine-java] Re: How to detect GAE is in maintenance?

2010-05-05 Thread Mark
Sorry I don't have an answer, but would also be interested in knowing how to do this. I will dig around today in the meantime. On May 4, 3:10 pm, Jerome wrote: > I would like my app to inform the visitor we are in maintenance, such > as it does not let them do operations that will fail when we tr

Re: [appengine-java] uploas static resource

2010-05-05 Thread Ikai L (Google)
No, you'll have to deploy the entire application. You could probably write code to read assets from the datastore then create an administrative interface, but I suspect the trouble you'd save wouldn't be worth the amount of work involved. On Wed, May 5, 2010 at 9:21 AM, ale wrote: > Hi, > is pos

Re: [appengine-java] Re: slow responses for query

2010-05-05 Thread Ikai L (Google)
Well, those are the tradeoffs, I suppose. The question is, where do you want the system to do more work, and where do you want it to do less? If you discover a pattern that causes 10-20 second queries, please post your findings. If you notice that it's specific entities, or you can deterministical

Re: [appengine-java] Re: Cache pages in Memcache

2010-05-05 Thread Ikai L (Google)
Sounds like a great idea. I agree with you. The problem with setting a cache header is that you have very little control over expiration. The nice thing about a cache that you handle at the filter level and in Memcache is that if you can regenerate the keys, you can flush the thing (or you can flus

Re: [appengine-java] Is the Memcache still working for everyone? My application can't set a memcache for hours

2010-05-05 Thread Pieter Coucke
See here: http://code.google.com/p/googleappengine/issues/detail?id=3195 -- 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-j...@googlegroups.com. To unsubscribe from this group, s

[appengine-java] Is the Memcache still working for everyone? My application can't set a memcache for hours

2010-05-05 Thread wildmind
My application uses memcache to do an online user count, it had been working fine since last Friday util yesterday, then it started to fail setting/updating the value of the counter since then, it's like it worked at 8pm, then not working at 8:30pm, then worked again at 8:35... When I tried to catc

Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Stephan Hartmann
What is your logic that initiates a session? The container does not create a session if there is no need for it. In a servlet you can initiate a session by calling HttpServletRequest.getSession(true) and in a JSP by adding the attribute session="true" to a page directive. Regards, Step

Re: [appengine-java] 500 Server error and GCacheException

2010-05-05 Thread Pieter Coucke
An issue was created for this: http://code.google.com/p/googleappengine/issues/detail?id=3195 On Wed, May 5, 2010 at 12:49 PM, Pieter Coucke wrote: > Hi, > > I was just writing a post about this myself. I'm having the same problem. > I already surrounded all my cache.get() calls with a try/catc

Re: [appengine-java] 500 Server error and GCacheException

2010-05-05 Thread Pieter Coucke
Hi, I was just writing a post about this myself. I'm having the same problem. I already surrounded all my cache.get() calls with a try/catch block so the app can proceed normally (without the benefit of memcached though). I thought it was related to the Appengine maintenance, but I'm seeing this

Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
All my object implements Serializable and I don't think that explain why JSESSIONID isn't created... but thanks, I tried to revert back my actions that implements IsSerializable for Serializable, but it didn't work either. Christian On Tue, May 4, 2010 at 11:44 PM, yjun hu wrote: > hi, are u u

[appengine-java] 500 Server error and GCacheException

2010-05-05 Thread ubweb
Hi I get a lot of "GCacheException: Policy prevented put operation" during the last few hours. I use memcache for small xml file content, so it' shouldn't be an issue of exceeding the max memcache object size. As a result my app cannot cache nesecery content and eventually I get "Error: Server Er

Re: [appengine-java] Re: How to make BlobServlet send non-empty response?

2010-05-05 Thread Jaroslav Záruba
I have already got it working... In my "wrapping" servlet I simply copy the POST-data into a stream of the uploadURL; this creates blobs and calls then "successUrl" where I store the BlobInfo. Wrapping servlet then sends single character to client. As for your suggestion, like I said, I'm using a

[appengine-java] zipimport & zipserve

2010-05-05 Thread ubweb
Is there any documentation on this? It's supposed to be available since SDK 1.1.3 but I cannot find something. Can someone give an example of use? -- 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] uploas static resource

2010-05-05 Thread ale
Hi, is possible to upload file like css o image without deploy the entire application? for example if I change only an icon...? Thanks! Regards. Alessandro -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, se