[appengine-java] can't deploy to AppEngine Java
Hello, Can anyone from the AppEngine team help me with this issue: My app hasn't been able to deploy for 24 hours. Here's the log 90% Deploying new version. 95% Will check again in 1 seconds. 98% Will check again in 2 seconds. 99% Will check again in 4 seconds. 99% Will check again in 8 seconds. 99% Will check again in 16 seconds. 99% Will check again in 32 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. 99% Will check again in 60 seconds. May 20, 2011 10:52:42 AM com.google.appengine.tools.admin.AppVersionUpload commit SEVERE: Version still not ready to serve, aborting. 99% on backend mother. Error Details: May 20, 2011 10:36:59 AM org.apache.jasper.JspC processFile INFO: Built File: /compact.jsp May 20, 2011 10:37:00 AM org.apache.jasper.JspC processFile INFO: Built File: /home.jsp May 20, 2011 10:37:02 AM org.apache.jasper.JspC processFile INFO: Built File: /manifest.jsp java.lang.RuntimeException: Version not ready. Unable to update app: Version not ready. Please see the logs [/var/folders/-w/-wHHFDUH343FJDKFNwYPCk+++TI/-Tmp-/ appcfg2059473943430547469.log] for further information. Here's the log: Unable to update: java.lang.RuntimeException: Version not ready. at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java: 568) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java: 154) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 284) at com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java: 70) at com.google.appengine.tools.admin.AppCfg $BackendsUpdateAction.execute(AppCfg.java:970) at com.google.appengine.tools.admin.AppCfg $BackendsAction.execute(AppCfg.java:1104) at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:157) at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:65) at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61) com.google.appengine.tools.admin.AdminException: Unable to update app: Version not ready. at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 289) at com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java: 70) at com.google.appengine.tools.admin.AppCfg $BackendsUpdateAction.execute(AppCfg.java:970) at com.google.appengine.tools.admin.AppCfg $BackendsAction.execute(AppCfg.java:1104) at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:157) at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:65) at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61) Caused by: java.lang.RuntimeException: Version not ready. at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java: 568) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java: 154) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 284) ... 6 more -- 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.
Re: [appengine-java] Re: Backends.xml ERROR when deploying
here's more about URLFetch http://code.google.com/appengine/docs/java/urlfetch/overview.html Also, for code samples, Ikai Lan's blog is great: http://ikaisays.com/2010/06/29/using-asynchronous-urlfetch-on-java-app-engine/ Happy coding. -- 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.
Re: [appengine-java] Re: Backends.xml ERROR when deploying
Don, Thanks for helping us out getting backends running. I tried the backendname parameter and it seems to work intermittently. I tried running the urls that would be run in the task queues and get a 503 error (below) every time. Is this something that can happen when the backend is busy? Is there a limit to how many requests a backend can handle? Thanks again, Jake Error: Server ErrorThe service you requested is not available yet. Please try again in 30 seconds. -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
Dennis, I'm still trying to figure out the best way to call the backend programmatically from within GAE. The simplest way I know of is with urlfetch. Your backend has to be marked "public" for you to be able to access it via 'spider' from outside of GAE - i.e. your browser. Thanks for the link. -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
I can't provide the exact one because that has my local paths in it. cd to your appcfg.sh directory and run appcfg.py ~/myapp/war backends update once the command is finished, the backed will appear in your admin page. -Jake -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
Dennis, You're half-way there :) GAE won't create a backend for you until you use the appcfg.sh 'update' command to update the backends. Check out the docs here: http://code.google.com/appengine/docs/java/backends/overview.html#Commands I also was really expecting the backends.xml file backends to show up in the admin UI - because all the other xml config files (cron.xml web.xml queue.xml) take effect as soon as you deploy. My guess is that the GAE team didn't intend it to be this way or that it's necessary to do that appcfg.sh step one reason or another. As soon as you get the backend running, you may have a hard time calling URLs on the backend. I got a "not ready" message a lot but that seems to go away after a little while. I'm having a hard time figuring out how to get the backend to run cron scheduled tasks. If you figure out a good way to do that, let me know. Thanks. -jake -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
I finally got my backend instance to start up by deploying it via appcfg.sh backends update it seems that this is the only way to create a backend instance -- 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.
[appengine-java] questions about backends with Cron and Task Queues
I'm very excited to start using backends with my GAE project. Because of the past 30sec restrictions, I heavily divided up the big processing tasks I was doing (refreshing RSS and ATOM feeds) into a lot of tasks that I put into task queues. These refresh jobs are all started with a few Cron jobs. I want to move processing over to a backend but am wondering how to address these jobs to that backend. If I try to call the urls on the backend directly, I get errors because task queues and cron will only run jobs that begin with '/' It would be nice if I could specify a backend in the Cron XML or as a parameter in task queues TaskOptions.Builder.withBackend("mother").withUrl(... If a backend instance creates a task in the task queue with a URL from "/" will that task run on the backend instance that called it or will it run in a normal instance? log error: java.lang.IllegalArgumentException: url must contain a path starting with '/' part - contains :backend.xx.appspot.com/server at com.google.appengine.api.taskqueue.QueueImpl.parsePartialUrl(QueueImpl.java: 118) at com.google.appengine.api.taskqueue.QueueImpl.validateAndFillAddRequest(QueueImpl.java: 196) at com.google.appengine.api.taskqueue.QueueImpl.add(QueueImpl.java: 431) at com.google.appengine.api.taskqueue.QueueImpl.add(QueueImpl.java: 412) at com.google.appengine.api.taskqueue.QueueImpl.add(QueueImpl.java: 397) -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
Thanks Don. For some reason, I still get a 404 on that javadoc link. -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
update: backends.xml deploys just fine now, but nothing is listed under Backends in the Admin console. Do I need to create a backend instance in code for a backend to show up in the admin? -- 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.
[appengine-java] Re: Backends.xml ERROR when deploying
I see now that the documentation online is erroneous. I found the sample xml file in the sample Hello project and copied it. B4 false -- 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.
[appengine-java] Backends.xml ERROR when deploying
I want to try using backends with java, so I created this xml spec - which I copied from the appengine docs and added my own name: mother b4 1 I always results in this: An internal error occurred during: "Deploying xxx to Google". XML error validating /xxx/xxx/xxx/xxx/xxx/xxx/war/WEB-INF/backends.xml against /Applications/eclipse3.6/plugins/ com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302/ appengine-java-sdk-1.5.0/docs/backends.xsd I also tried backends.yaml, but nothing shows up in the management console. any suggetions? Considering that there are no javadocs for backends yet in the docs, this feature seems like it might not be ready for java. -- 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.
[appengine-java] abnormally high number of instances
Hi, I have a application called *newscombinator* lately, I've been seeing a few things that don't usually happen - over 150 instances. normally I would have about 20 - high latency on some requests even when the request returns data from the memcache sometimes over 10 sec. I'm not sure if these two things are related. This may be related to my use of MapReduce, but I'm not sure and I can't turn off MapReduce to test this hypothesis. Thanks for any help. -- 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.
[appengine-java] Re: image service is changing some white backgrounds to black
Thanks Ronmell! -jake On Jul 6, 11:03 am, Ronmell Fuentes wrote: > Hi JakeP > as far as I know, when you have an PNG image this allows you to write > metadata in order to make the background transparent, but in JPEG/JPG files > this cannot be done. So all I can see is that the app is working properly > but when an image in JPG/JPEG is showed, the viewer doesn't know how to > interpret the background-metadata so, the easiest thing to do is show it in > black colour. > > Rgds. > > Ronmell > > 2010/7/6 JakeP > > > > > > > > > I have an app that does two image transforms - it reduces the size of > > images from rss feeds and spits out jpeg format images that are stored > > in the datastore. It also stores the original size images that it > > stores in jpeg format. > > > image1: original image => resize => "I'm Feeling Lucky" => jpeg > > > image2: original image => "I'm Feeling Lucky" => jpeg > > > When I look at the reduced size image in a browser, sometimes, the > > image's white background is changed to black. Known issue or Bug? > > > orig: > > >http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866... > > > reduced size: > > >http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866... > > > -- > > 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 > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > ausencia de evidencia ≠ evidencia de > ausenciahttp://culturainteractiva.blogspot.com/ -- 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] image service is changing some white backgrounds to black
I have an app that does two image transforms - it reduces the size of images from rss feeds and spits out jpeg format images that are stored in the datastore. It also stores the original size images that it stores in jpeg format. image1: original image => resize => "I'm Feeling Lucky" => jpeg image2: original image => "I'm Feeling Lucky" => jpeg When I look at the reduced size image in a browser, sometimes, the image's white background is changed to black. Known issue or Bug? orig: http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866987e433431b6c068ea3&fullsize=1 reduced size: http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866987e433431b6c068ea3 -- 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] can't enable billing quotas
I have tried twice today to enable billing for my app and it says it's processing but, even after a coupole of hours, the status never changes from "Free" Do I just have to wait longer? the appID is salonnewsapp Any help is appreciated. -- 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.