Re: [appengine-java] log4j init fails
I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li...@gmail.comwrote: I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file on the classpath which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen wrote: I have log4j config in appengine-web.xml, system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ property name=log4j.configuration value=file:WEB-INF/classes/log4j.properties/ property name=monitor.config.file value=WEB-INF/monitor.properties/ /system-properties but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 0x2B | ~0x2b -- Hamlet -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org twitter @web2express Palo Alto, CA, USA 650-283-4091 *Building social media monitoring pipeline, and connecting social customers to CRM* -- 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.
Re: [appengine-java] log4j init fails
yes, log4j.properties is copied by the build. the app uses it. the warning message is weird. thanks. On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal rda...@google.com wrote: If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to war/WEB-INF/classes whenever Eclipse performs a build of your project; you should not have to copy it over manually. I'm not sure why you're getting the error with regard to Datanucleus.Connection; I've added Don to this thread; he may have some insight into this. On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen ajc...@web2express.org wrote: I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li...@gmail.comwrote: I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file on the classpath which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen wrote: I have log4j config in appengine-web.xml, system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ property name=log4j.configuration value=file:WEB-INF/classes/log4j.properties/ property name=monitor.config.file value=WEB-INF/monitor.properties/ /system-properties but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 0x2B | ~0x2b -- Hamlet -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org twitter @web2express Palo Alto, CA, USA 650-283-4091 *Building social media monitoring pipeline, and connecting social customers to CRM* -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org twitter @web2express Palo Alto, CA, USA 650-283-4091 *Building social media monitoring pipeline, and connecting social customers to CRM* -- 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.
Re: [appengine-java] Re: GAE Alternatives?
It depends on your app. For small business app, you may check out force.com, which offers free developer account. I use both GAE and force.com because I'm excited about connecting google cloud with salesforce cloud. but, GAE's current state of reliability and performance is a bit concern. Hope GAE grows up faster. -aj On Wed, Feb 24, 2010 at 3:20 PM, Larry Cable larry.ca...@gmail.com wrote: I have to concur with Corby on this ... I was initially attracted to the end-to-end solution that GAE offered integrated as it is with Eclipse. In practice I have found it very frustrating to develop on GAE because of: - the class white list and 3rd party framework usage (i.e Spring) - the truly frustrating metering exceptions that the Datastore and Servlet container throw, coding around those is painful... you have to invent your own transaction compensation... - the lack of any Java based bullk load facility for DS (I had to write my own) (which is when you trip up over the metering exceptions...) - the limitations of mapping BigTable under JPA/JDO - the paucity of debugging on the production server (the log WUI is woeful for this) We have reached the stage with our app where we will probably move it off GAE and onto EC2 where despite the additional work involved in dealing with AMI lifecycle vs .war we are more in control of the underlying environment (although I am sure there are a similar, but different, set of hiccups and hurdles awaiting us ...) - Larry On Feb 24, 10:17 am, Corby cep...@gmail.com wrote: On Feb 24, 10:39 am, A1programmer derrick.simp...@gmail.com wrote: Are there any good alternatives to Google App Engine out there? I am finding that I cannot rely on GAE for a production quality environment. I am very excited about the future of Google App Engine, but I am in the same boat, Derrick. I am working with a startup that tried to get up and running on Google App Engine, but we have since migrated to Spring Cloud Foundry, which runs on Amazon's EC2 architecture. It is a heavier-weight environment, and the monthly costs are higher, but the development costs are much, much cheaper, and we have far fewer unexpected Production problems. There's a huge attraction to the tiny resource requirement to maintain a WAR file deployment versus the large requirements of a EC2 style VM. I agree, but for me there is an even larger attraction to having predictable behavior in our Production environment, and we can't currently get that from GAE. Some people are happy with BigTable as a general persistence solution, but we are not. The whitelisted classloader makes every attempt to integrate with third-party libraries an adventure. And the nature of GAE's on-demand provisioning makes it difficult to guarantee the response times we want for our customers. The crushing blow to our morale is code that runs perfectly in our development environment, but breaks when deployed to GAE. I have a lot of faith in the Google team, and I can't wait to see what GAE looks like a year from now. But right now, I can only recommend it for the simplest of internal apps, nothing client-facing. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.
Re: [appengine-java] Re: How to handle schema change on JDO data model class?
Is GAE team working on implementing the JDO feature (use default value for new field instead of throwing exception)? that will make data migration easier. -aj On Mon, Feb 22, 2010 at 8:02 AM, datanucleus andy_jeffer...@yahoo.comwrote: For example, when adding a field that uses a primitve type to an object. You can't query all objects with JDO pretending to store them in the recently modified object, because null cannot be asigned to the non-null field, but you can query the objects using the low level api and set a default value for the new field. And in terms of the JDO implementation, the only thing needed for it to handle that seamlessly would be to support the use of a default value for any new field, so when reading old data that doesn't have that field it would apply the default value to the field. This is specifiable in JDO metadata, so is only waiting for the GAE/J plugin to be modified to use it. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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] cloud computing event: Intelligence from the Cloud
SDForum's next event will talk about google cloud computing and intelligence. AppEngine team member Wesley Chun will present app engine. Andrew Lampitt from Jaspersoft will talk about BI and cloud. I thought some of you might be interested in the topic. Time: 6:30-9pm, March 3rd, 2010. Location: palo alto. See event description below and details on sdforum.org website. http://sdforum.org/index.cfm?fuseaction=Page.viewPagepageId=656parentID=483nodeID=1 *Intelligence from the Cloud* The computing cloud is forming on top of the web. It's going to change the way we develop and use applications. This event, Intelligence from the Cloud will look at the connection between the cloud and web intelligence. The focus will be the new infrastructures available today that are enabling easy creation and consumption of web intelligence and semantics in the cloud. Wesley Chun from Google AppEngine Team will introduce Google App Engine platform, an application development and hosting platform that lets you build deploy web applications on Google's high-traffic infrastructure. App Engine executes apps (written in Python or Java) on servers that use the same technology that powers Google's websites for speed and reliability. There is no need to think about virtual machine images or disk requirements... you just provide the code. This is a high-level talk introducing attendees to Google App Engine, including its components and architecture as well as some of its most popular developer APIs, such as memcache, users (Google accounts), email, URLFetch, XMPP, Blobstore, etc. Time-permitting we'll go through a simple example using Python. The terms “Business Intelligence,” “Semantics,” “Analytics,” and “Cloud” mean a variety of things to different audiences. Andrew Lampitt from Jaspersoft and zAgile will give a sweeping view of these topics and show how they mesh together to solve real-world problems today. Jaspersoft enables easy deployment of business intelligence to the Infrastructure as a Service (IaaS) cloud as well as a semantic layer to shield business users from technical jargon of the underlying physical database. zAgile delivers an ontology-driven context server that enables semantic integration of enterprise information across tools and applications, and it can also act as the comprehensive semantic description of the complete information architecture. A combination of Jaspersoft and zAgile technologies delivers the most leading edge semantically driven business intelligence solution as well as deep, contextual collaboration for business intelligence consumers. Case studies will explore how customers are applying the latest techniques to solve painful problems in an elegant and affordable way, that simply were not possible just a couple years ago. Wondering what's behind the Cloud? Aliens and Intelligence. Hope to see some of you on the event. Best, AJ -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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 do initialization at startup?
For standard web app, I use a context listener servlet to do initialization at startup. This also works in eclipse with GAE plugin, i.e. the context listener is called only once at startup. But, it does not work in production because the context listener servlet is called frequently. It seems GAE restarts the context or something that triggers the call to the listener servlet. SO, the question is: what's the right way to do one-time initialization (e.g. pre-load data) in GAE? Maybe GAE does not have the concept of initialization. Any suggestion is appreciated. -aj -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.
Re: [appengine-java] how to do initialization at startup?
thanks, On Wed, Feb 17, 2010 at 12:29 AM, Stephan Hartmann hartm...@metamesh.dewrote: Your app becomes shut down if it does not receive any requests for some time. After that, the next request will initiate a new startup sequence, so the implementation of the servlet spec is correct. You should also implement ServletContextListener.contextDestroyed() to perform cleanup of your data, if needed. Regards, Stephan 2010/2/17 AJ Chen ajc...@web2express.org For standard web app, I use a context listener servlet to do initialization at startup. This also works in eclipse with GAE plugin, i.e. the context listener is called only once at startup. But, it does not work in production because the context listener servlet is called frequently. It seems GAE restarts the context or something that triggers the call to the listener servlet. SO, the question is: what's the right way to do one-time initialization (e.g. pre-load data) in GAE? Maybe GAE does not have the concept of initialization. Any suggestion is appreciated. -aj -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.
Re: [appengine-java] Re: how to do initialization at startup?
yes, the new console is a good addition. however, because the app can be shutdown/restarted by GAE at any time, you would still need to put the initialization code in context listener (or similar place) so that it will be called automatically when the app is restarted. I just realize a potential major issue in GAE environment, which may require some paradigm shift in server programming (at least to me). Usually, one the server side, you may have a singleton class to keep some data objects closeby as well as updating the data at run time. The data may change so fast that they are conveniently kept in memory for some time before put into permanent storage. This is safe because the web server does not kill the app at will. Now that GAE may kill the app and restart it at any time, keeping data in memory becomes a big potential problem because the data will be gone after the app starting. This means you would have to save the new data into datastore immediately. If you have lots of intermediate data or temporary data, you have to save them to datastore immediately as well. This always-using-datastore situation created by GAE may slow down some applications in addition to a lot more coding for storage. Without knowing what exactly happens when GAE automatically shutdowns the app, my worry may be wrong. Does anyone see the similar issue? Any suggestion for safely keeping data in memory? -aj On Wed, Feb 17, 2010 at 10:00 AM, Vlad Skarzhevskyy skarzhevs...@gmail.comwrote: There is an Custom Admin Console pages in new SDK 1.3.1. I think the best place to preload the data to your application is using servlet/page exposed in this Console. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.
Re: [appengine-java] Re: how to do initialization at startup?
There is significant difference between dealing with infrequent crash event and dealing with frequent shutdown by GAE. The difference is huge when you want to have some intermediate data in memory for performance reason. When there is a system crash, you just start over, which is tolerable in most cases. Restarting app by GAE is a total different story because it makes storing data in memory no longer a valid approach. For my google app, I see it is restarted by GAE even after a few minutes. My usual singleton object become useless because the data objects it holds are recreated every few minutes. This is why I think GAE's frequent restart behavior is a constraint forcing me (probably other developers) to change design pattern, which may be good or bad. In this case, the change is not good, I'm afraid. Let's look at the counter example. Normally it's trivial to keep a counter of some sort on the server. But in GAE, it's non-trivial. You can't get a total count from datastore easily and storing a counter in memory is not reliable. SO, you have to do some creative work-around as proposed in GAE documentation. Am I making sense? In any case, I'm hoping someone has an easy/reliable way to keep tracking a counter in memory within GAE. I'll appreciate any suggestion. -aj On Wed, Feb 17, 2010 at 1:56 PM, Stephan Hartmann hartm...@metamesh.dewrote: Hi AJ, Your consideration is not specific to GAE. You always have the potential risk that a server could crash and then all your unstored data changes will get lost. So for critical data you should use a write-through cache. However, in a distributed environment like GAE (but not specific to GAE, every standard conform servlet container will support this) you have to take special care to keep the caches of all nodes in sync, or just use a distributed cache like Memcache in GAE. Regards, Stephan 2010/2/17 AJ Chen ajc...@web2express.org yes, the new console is a good addition. however, because the app can be shutdown/restarted by GAE at any time, you would still need to put the initialization code in context listener (or similar place) so that it will be called automatically when the app is restarted. I just realize a potential major issue in GAE environment, which may require some paradigm shift in server programming (at least to me). Usually, one the server side, you may have a singleton class to keep some data objects closeby as well as updating the data at run time. The data may change so fast that they are conveniently kept in memory for some time before put into permanent storage. This is safe because the web server does not kill the app at will. Now that GAE may kill the app and restart it at any time, keeping data in memory becomes a big potential problem because the data will be gone after the app starting. This means you would have to save the new data into datastore immediately. If you have lots of intermediate data or temporary data, you have to save them to datastore immediately as well. This always-using-datastore situation created by GAE may slow down some applications in addition to a lot more coding for storage. Without knowing what exactly happens when GAE automatically shutdowns the app, my worry may be wrong. Does anyone see the similar issue? Any suggestion for safely keeping data in memory? -aj On Wed, Feb 17, 2010 at 10:00 AM, Vlad Skarzhevskyy skarzhevs...@gmail.com wrote: There is an Custom Admin Console pages in new SDK 1.3.1. I think the best place to preload the data to your application is using servlet/page exposed in this Console. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://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.comgoogle
[appengine-java] unexpected execution of task queue
I have a queue to run a task every hour by adding a new task (ETA=60min) after the current task is finished. It works fine in eclipse, but it behaves unexpectedly on production. The task is actually run every minute or so even though ETA time on the task queues console indicates it should be executed in 1 hour or so. And, the number of tasks keeps growing. I understand ETA is not exact, but 1 min actual is just too far from 60 min ETA. Any idea how to make the scheduled task more reliable? the app is at http://realmon9.appspot.com thanks, -aj-- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.
Re: [appengine-java] Re: queue task timeout
This must be it since timeout occurs only when multiple tasks are fired at the same time. thanks, -aj On Thu, Feb 4, 2010 at 6:11 PM, cowper iamco...@gmail.com wrote: I believe that this may be due to the fact that the URL you are requesting is on the local SDK server, which is single threaded and as you are already using the only thread for the original request you get the timeout ... On Feb 1, 11:23 pm, AJ Chen ajc...@web2express.org wrote: I'm using queued tasks to fetch feeds, one feed per task. each task takes about a couple of seconds. but, the tasks get unexpected timeout easily with the following error message. any idea how task timeout happens? is it possible to control the timeout period? thanks, Feb 2, 2010 7:00:54 AM org.quartz.core.JobRunShell run SEVERE: Job feed-fetch.task4 threw an unhandled Exception: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URLhttp:// 127.0.0.1:/task:Timeout waiting for connection at com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:223) at com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:53) at com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:46) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) -aj-- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.orghttp://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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] queue task timeout
I'm using queued tasks to fetch feeds, one feed per task. each task takes about a couple of seconds. but, the tasks get unexpected timeout easily with the following error message. any idea how task timeout happens? is it possible to control the timeout period? thanks, Feb 2, 2010 7:00:54 AM org.quartz.core.JobRunShell run SEVERE: Job feed-fetch.task4 threw an unhandled Exception: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://127.0.0.1:/task: Timeout waiting for connection at com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:223) at com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:53) at com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:46) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) -aj-- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org @web2express on twitter Palo Alto, CA, USA 650-283-4091 *Monitoring social media in real time* -- 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.