Thanks.  Yes that worked for me.  It just seems that backend documentation
isn't very intuitive.  I couldn't tell from any of the online docs that
simply adding a backend to backends.yaml won't configure a backend for you.
 It won't show up in the backends section of the admin console until you
execute appcfg.py update backends.

Another non-intuitive behavior - probably only for dynamic backends.  The
admin console has a start/stop button.  But obviously, if you hit start, the
dynamic backend won't actually start.  That's clear from the documentation.
 But, if you hit "stop", it almost looks like that the backend is made
inaccessbile.  It won't process requests, and it won't automatically restart
on the next request.  You have to hit the "start" button first.  I think for
dynamic backends that button should read "enable/disable".

Now the next thing I'm trying to get to work is sending a backend a request
from a task queue.  I'm using the default task queue to do this, and simply
doing this doesn't work (a front-end instance processes the taskqueue
request):

taskqueue.add(url=[relative path to request handler], method='POST',
target=[backend name from app.yaml])

Modifying the above statement to specify the entire URL for the backend in
the "target" parameter does not help either - the taskqueue request is still
processed by a front-end instance.  I also tried just getting rid of the
"target" parameter, and specifying the entire url in the "url" parameter
i.e. url='https://backend.appid.appspot.com/path/to/requesthandler'.  And
even that did not help.  I fear forcing backends to process cron entries
defined with a full URL like above won't do the trick either.

So is there no way to force a backend to process a request?



On Fri, Sep 9, 2011 at 3:45 PM, Steve Sherrie <[email protected]>wrote:

> Also, you can do...
> *
> *
> *appcfg.py update **--backends your_app*
> *
> *
> *
> *
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/gvpp7TaOlykJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to