[appengine-java] Re: Application restart for almost every request? What happened?
OK, I did that. But is there any workaround or some other way to avoid this, I am sure that my app is run with low resource requirement, it indeed have no reason to restart, but currently it restarts almost in every incoming request! On 6月29日, 下午8时05分, Jake jbrooko...@cast.org wrote: Hey, Actually, what you probably want to do is star this issue:http://code.google.com/p/googleappengine/issues/detail?id=2931 It's been happening for awhile now, but generally only to low-traffic users, so it hasn't gotten much attention. Creeping up in the list, though! Jake On Jun 29, 4:44 am, Simon qila...@gmail.com wrote: You probably want to have a read of the following FAQ -http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request On Jun 29, 4:13 am, opok vir...@gmail.com wrote: Error Message: 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. My App just read a cache string with small size (if not exist query from database) and then output the response, why it always turns out that it need to restart the whole application? It happens in 95% of incoming requests. -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Application restart for almost every request? What happened?
Error Message: 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. My App just read a cache string with small size (if not exist query from database) and then output the response, why it always turns out that it need to restart the whole application? It happens in 95% of incoming requests. -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] How to reference another project in Eclipse ?
Hello, I am trying to extract some common classes out to be a common jar, and I want to reference it by the appengine project in Eclipse, it compiles well but could not run. The console just told that some classes could not be found. I know I can just export the project into a jar, but I may want to change it sometimes, so I prefer to keep it dynamic. How can I make it work? Thanks. -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Does memcache get clean when new version deployed and made to be the default one?
Hi all, does memcache get clean when new version deployed and made to be the default one? -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Do I still need to use session if I use google user account to authenticate?
I currently use Google Account to authenticate and get the current user like this: UserService userAction = UserServiceFactory.getUserService(); User user = userAction.getCurrentUser(); I notice that the user service does not need HttpServletRequest to get the current context, is that reliable? What about my customer use another google id to login in another page of my app? Would the current user change when the customer returned to the first page to make some other requests ? In the past, I always use Session to storage user information to id current user, it looks like Google's user service can provide the same functionality, so I can abandon the session for that kind of usage, is that correct? -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] How to handle schema change on JDO data model class?
What about rename/add/remove persistent field or change its data type? I found there are some exceptions thrown out while querying on old data. What should I do? Any document for this problem? -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] How to get the size of my cache object to avoid pass over the 1M limitation?
I want to know the size of my cache object because I found there are some errors on the admin console said that GCache.put failed because some kind of policy. I thought that maybe caused by the size limitation(only 1M of cache object allowed). My question is how can I know the actual size of my cached object? Is there a simple list to show all my cached object just like data viewer? -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?
Hi all, I created a bean to be cached in the memcache, when I retrieved it from the memecache and called some methods on it to update its status, do I need to re-cache it into memcache? I guess that memcache used its reference, so I should not need to do it. But things turn out that I am not correct. I am a little confused. -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?
thanks, that make sense. On Feb 15, 5:10 pm, John Patterson jdpatter...@gmail.com wrote: Yes you need to put it in memcache again. All instances returned from memcache are deserialized copies of the original. On 15 Feb 2010, at 16:04, opok wrote: Hi all, I created a bean to be cached in the memcache, when I retrieved it from the memecache and called some methods on it to update its status, do I need to re-cache it into memcache? I guess that memcache used its reference, so I should not need to do it. But things turn out that I am not correct. I am a little confused. -- 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 google-appengine-java+unsubscr...@googlegroups.com . For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en . -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Cron job schedule format question
Hi, I need a cron job to run on every 15 mins in every weekday just from 8:00 to 16:00. How to set the Schedule Format for this cron job? -- 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-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Upload failed. Help me, please
I don't know what error exactly is Creating staging directory Scanning for jsp files. Compiling jsp files. Compiling java files. Scanning files on local disk. Initiating update. java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?version=16app_id=xing; 301 Moved Permanently html headtitle301 Moved Permanently/title/head body bgcolor=white centerh1301 Moved Permanently/h1/center hrcenternginx/0.5.23/center /body /html --~--~-~--~~~---~--~~ 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 google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---