[google-appengine] Re: We're having problems with Text Search

2013-06-26 Thread Moises Belchin
More Text Searchs exceptions:

DeadlineExceededError: The API call search.IndexDocument() took too
long to respond and was cancelled.



Saludos.
Moisés Belchín.


2013/6/26 Moises Belchin 

> Hi folks,
>
> We're having a lot of Exceptions with Text Search.
>
> Does anyone have this same problem?
>
> Thanks and regards.
>
>
> File 
> "/python27_runtime/python27_lib/versions/1/google/appengine/api/search/search.py",
>  line 2730, in search
> raise _ToSearchError(e)
> TransientError
>
>
>
>
> Saludos.
> Moisés Belchín.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Datastore Strong vs Eventual Consistency -- When is Eventual ?

2013-06-26 Thread Helge Tesdal
Eventual is eventual, and your question is a bit like asking how big is ∞
or how tall is a tree. You can make a statistical representation of delay,
where a big percentage completes within seconds, and the long tail takes
days or weeks or years. It's not "consistent in 2 hours" and there are no
guarantees, and if you need consistency you have to make it so.

That being said, I would of course prefer if eventual was measured in
minutes and Google resolves any issues causing delays to index updates.


On Tue, Jun 25, 2013 at 11:19 PM, James Gilliam wrote:

> We have used eventual consistency for a long time without any issues.  We
> would see multiple versions of data but only in the shortest time frames,
> usually a few seconds.
>
> Recently, eventual consistency started being measured in hours and even
> days.
>
> So, the question is ... how long do we have to wait for eventual
> consistency?
>
> And if it is more than a few minutes, do we have to use strong consistency
> to get our data consistent?
>
> Thanks
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Helge Tesdal
Senior Developer - mCASH Norge AS
+47 815 10 150
http://mCA.SH

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: create_bulkloader_config doesn't reflect the latest schema changes

2013-06-26 Thread Hooman Korasani
Any one from google here?

The statistics are failing since three days. Without up-to-date statistics 
there is no way to get the bulkloader working properly.  

http://stackoverflow.com/questions/17275202/how-to-force-create-bulkloader-config-to-pickup-latest-schema-data/17277052#comment25075099_17277052


On Tuesday, 25 June 2013 08:58:18 UTC+1, Hooman Korasani wrote:
>
> I have created a bulkloader.yaml like this:
>
> appcfg.py create_bulkloader_config --filename=tools/bulkloader.yaml --url=
> https://myid.appspot.com/_ah/remote_api
>
>
> However it doesn't reflect my changes from a day ago.  How long do I have 
> to wait until it picks it up?
>
> According to the data-store statistics, the last statistic update was *Last 
> updated: 1 day, 21:11:28 ago
> *However it also says *"**Statistics are updated at least once per day"
>
> *Is there any other way to get the bulkloader consider my latest changes?*
>
> *Many Thanks,
> Hooman*
>
> *
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: We're having problems with Text Search

2013-06-26 Thread Moises Belchin
For those interested If you're getting these type of Text Search exceptions
they're related to Datastore problems that we've experimented yesterday.



Saludos.
Moisés Belchín.


2013/6/26 Moises Belchin 

> More Text Searchs exceptions:
>
> DeadlineExceededError: The API call search.IndexDocument() took too long to 
> respond and was cancelled.
>
>
>
> Saludos.
> Moisés Belchín.
>
>
> 2013/6/26 Moises Belchin 
>
>> Hi folks,
>>
>> We're having a lot of Exceptions with Text Search.
>>
>> Does anyone have this same problem?
>>
>> Thanks and regards.
>>
>>
>> File 
>> "/python27_runtime/python27_lib/versions/1/google/appengine/api/search/search.py",
>>  line 2730, in search
>> raise _ToSearchError(e)
>> TransientError
>>
>>
>>
>>
>> Saludos.
>> Moisés Belchín.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Cesium
Starting at about  MDT on 6/26/2013, about 90% of my Java HRD cron 
tasks have failed with Error Code 121.
To wit:


*This has crippled the primary service provided by my company.*

I implore thee for assistance whilst lamenting WTF!?!?

No Cheers this day,
David

PS: Are these tasks, which are started by the cron system, referred to as 
"backends" or part of the "taskqueue"?
Knowing the relevant terminology would help me interpret the 10 emails I've 
received from John Lowry and Riccardo C.  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Cesium
A new failure mode has appeared:

Gee Wilikers!
David

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Google App Engine community support is moving to Stack Overflow

2013-06-26 Thread Aswath Satrasala
-1 for SO.

-Aswath

On Wed, Jun 26, 2013 at 12:05 PM, Moises Belchin wrote:

> I'm not a big fan of SO.
>
>
> Saludos.
> Moisés Belchín.
>
>
> 2013/6/25 Hooman Korasani 
>
>> -1
>> Stackoverflow has a very strict FAQ rules, and questions are easily
>> closed.  I don't think it is a good idea to move support to that platform.
>>
>>
>> On Tuesday, 7 February 2012 02:14:54 UTC, Ikai Lan wrote:
>>>
>>> *Hi App Engine Developers,
>>>
>>> In the last few years, the Q&A website Stack 
>>> Overflowhas become an invaluable tool for 
>>> developer communities. We’re pleased to
>>> announce that we are migrating to Stack Overflow as the official channel
>>> for answering development questions about Google App Engine.The
>>> google-appengine group 
>>> will remain open for general discussions and announcements that are
>>> better suited for the groups format.
>>>
>>> We believe that Stack Overflow is better platform for sharing knowledge
>>> and answering support questions given its larger community, de-duping of
>>> similar questions and contributor reputation system. We also expect that
>>> App Engine developers will be able to contribute and benefit from the wider
>>> range of language-related information not specific to App Engine. In
>>> addition, due to Stack Overflow’s use of OpenID for account management,
>>> developers will not need to create a new account to participate in the
>>> discussion - developers will be able to log in with any of the identity
>>> providers supported by Stack Overflow, including Google Accounts.
>>>
>>> We plan on deprecating the App Engine language-specific groups, namely
>>> google-appengine-pythonand
>>> google-appengine-java.
>>> The 
>>> google-appengine-godiscussion
>>>  group will continue to remain open for at least as long as the
>>> Go runtime is in experimental status.
>>>
>>> The Python and Java groups will be placed into read-only on March 5th,
>>> 2012. While answering technical questions, we will begin nudging developers
>>> to ask their questions on Stack Overflow using the google-app-engine 
>>> tag
>>> .
>>>
>>> Please let us know if there are any questions or concerns about this
>>> announcement.
>>>
>>> Happy coding!
>>>
>>> - Ikai Lan, on behalf of the App Engine team*
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Cesium
And yet another, different, Error Code has appeared:



*sigh*
The only words I can think of now, were those uttered by Mr. Creosote: 
"Bring me a bucket!"
David

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Google App Engine community support is moving to Stack Overflow

2013-06-26 Thread Jeff Schnitzer
-1 for reviving a 1.5-year-old thread.

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Unable to install App Engine App in Google Apps Domain

2013-06-26 Thread Nathaniel Stensland
I receive this message yesterday and today when attempting to install a App 
Engine App into a Google Apps Domain "An error occurred while trying to 
install this application. Please try again later."

I am not sure who to contact to resolve my issue.

Please help.

Thanks,

Nat

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Google App Engine community support is moving to Stack Overflow

2013-06-26 Thread PK
Agree...

PK
www.gae123.com


On June 26, 2013 at 7:35:05 AM, Jeff Schnitzer (j...@infohazard.org) wrote:

-1 for reviving a 1.5-year-old thread.

Jeff


--  
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: App Engine VM-based Backends - Trusted Tester Sign-up

2013-06-26 Thread Vinny P
On Tue, Jun 25, 2013 at 10:50 AM, Kristopher Giesing  wrote:

> PS : Now that we've got these great new backends and all the goodness of
>>> BigQuery, CloudSQL, Datastore, ..., the only remaining "evil problem" in
>>> the AppEngine world is the behavior of the dispatcher which sends
>>> "user-facing requests to starting instances".
>>>
>>
>> we have engineers dedicated to fixing this.  once we have an ETA that
>> we're more confident, we'll update the larger group.
>>
>
> That is absolutely fantastic news!
>
>  +1, this is item #1 on my Christmas list!

-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread David
I am also seeing 3 warm up requests per minute for nearly a day now on my 
GAE for Java app.   And often this is happening when there is no incoming 
traffic to my app.  My idle instances are also set to 1-1, yet my charged 
hours are above this limit.  The dashboard shows up to 8 running instances 
at times, with the app being charged for 3 or 4 instances.  The dashboard 
also reports that 5% of these warm ups also fail.

Will someone from Google please let me know how I can follow up so as not 
to be overcharged for this usage?

Thanks,
David


On Tuesday, June 25, 2013 4:49:00 PM UTC-4, chilang wrote:
>
> Hi,
>
> I'm seeing 15 warm up requests per secs causing 60+ instances to be spin 
> up, despite having little traffic!
>
> I haven't changed anything (code nor settings) recently. 
> This has started in the last 2 hours. 
>
> I've only noticed this due to app suddenly running out of quota. 
> I'm trying to cap Idle Instances to 1-1 to no avail. I've increased the 
> quota but at this rate it is going to burn through it very soon.
>
> Anyone else seeing this ?
>
> Regards,
> Chi Lang
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread Rafael
Same here. It's extremely frustrating that the appengine team wasn't
capable of making a very simple configuration that would solve many issues
with the "crazy scheduler":
- Make it possible to spin up JUST one new instance at time. On frontends
use the resident instance while that ONE new instance is booting.
- Only after that ONE instance is up and executing requests, warmup another
one (only if necessary, which in 99% of the cases isn't necessary unless
you're running an apache bench service).

This would come very handy in B8 backends for example. Because my java
instances take a while to boot, I often find myself with 10 B8 instances
warming up. Extremely wasteful.

It would be cheaper for me to hire a fulltime person to be manually pushing
the "shutdown instance" button.

Unfortunately there's no visibility when this extremely simple feature will
be done. Till then, let's keep with high costs for things we don't use :)


On Wed, Jun 26, 2013 at 9:31 AM, David  wrote:

> I am also seeing 3 warm up requests per minute for nearly a day now on my
> GAE for Java app.   And often this is happening when there is no incoming
> traffic to my app.  My idle instances are also set to 1-1, yet my charged
> hours are above this limit.  The dashboard shows up to 8 running instances
> at times, with the app being charged for 3 or 4 instances.  The dashboard
> also reports that 5% of these warm ups also fail.
>
> Will someone from Google please let me know how I can follow up so as not
> to be overcharged for this usage?
>
> Thanks,
> David
>
>
>
> On Tuesday, June 25, 2013 4:49:00 PM UTC-4, chilang wrote:
>>
>> Hi,
>>
>> I'm seeing 15 warm up requests per secs causing 60+ instances to be spin
>> up, despite having little traffic!
>>
>> I haven't changed anything (code nor settings) recently.
>> This has started in the last 2 hours.
>>
>> I've only noticed this due to app suddenly running out of quota.
>> I'm trying to cap Idle Instances to 1-1 to no avail. I've increased the
>> quota but at this rate it is going to burn through it very soon.
>>
>> Anyone else seeing this ?
>>
>> Regards,
>> Chi Lang
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread Rishi Arora
I forced a re-deploy, which killed all instances, and that seems to have
helped.  I'm stable at ~10 instances, which is normal for this time of day,
for my app.


On Wed, Jun 26, 2013 at 11:39 AM, Rishi Arora wrote:

> I'm seeing something similar too.  I usually have between 5 and 10
> instances at all times, and it peaks out at 25 occasionally.  But this
> graph shows 150+ instances at the peak.  I increased my pending latency
> parameters to 500ms / 250ms, up from 10ms/10ms to help reduce costs.  It
> helped a little - I'm down to 65 instances now.  As the attached picture
> shows - all these instances get spawned, service one request, and then
> stick around for several minutes before they shutdown.  Not sure what's
> going on.
>
>
>
> On Wed, Jun 26, 2013 at 11:31 AM, David  wrote:
>
>> I am also seeing 3 warm up requests per minute for nearly a day now on my
>> GAE for Java app.   And often this is happening when there is no incoming
>> traffic to my app.  My idle instances are also set to 1-1, yet my charged
>> hours are above this limit.  The dashboard shows up to 8 running instances
>> at times, with the app being charged for 3 or 4 instances.  The dashboard
>> also reports that 5% of these warm ups also fail.
>>
>> Will someone from Google please let me know how I can follow up so as not
>> to be overcharged for this usage?
>>
>> Thanks,
>> David
>>
>>
>>
>> On Tuesday, June 25, 2013 4:49:00 PM UTC-4, chilang wrote:
>>>
>>> Hi,
>>>
>>> I'm seeing 15 warm up requests per secs causing 60+ instances to be spin
>>> up, despite having little traffic!
>>>
>>> I haven't changed anything (code nor settings) recently.
>>> This has started in the last 2 hours.
>>>
>>> I've only noticed this due to app suddenly running out of quota.
>>> I'm trying to cap Idle Instances to 1-1 to no avail. I've increased the
>>> quota but at this rate it is going to burn through it very soon.
>>>
>>> Anyone else seeing this ?
>>>
>>> Regards,
>>> Chi Lang
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread Cesium
This plot of number of instances is coincident with the failure of nearly 
all cron tasks:



I would NEVER re-deploy under such questionable circumstances.
Yet, someone needs to fix this (&(*^%&^ issue.

David


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] We are encountering many server errors and latency problem

2013-06-26 Thread Cristian Marastoni
Hi,

starting from 9.40 GMT we were unable to get an instance of our server app 
running. All the time I try to send a request, an instance that try to 
handle the request is spawned but suddenly it shutdown without giving back 
any error code or information.
Looking at the logs the only things has been reported is this:

request was aborted after waiting too long to attempt to service your 
request.

But the handler in that case really does nothing but serving an HTML file 
(to be more exact a template filled using jinja).
Is there anyone else having the same problem ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Instances trying to start and failing.

2013-06-26 Thread Bart Jenkins

I'm having the same problems. GAE is non-functional for me right now.

On Tuesday, June 25, 2013 7:06:49 AM UTC-4, aswath wrote:
>
> Hello Appengine Team,
> http://accountingguru-india.appspot.com customers are facing the latency 
> issues, and are not able to login to the application.
>
> Logs show the following
>
> A problem was encountered with the process that handled this request, causing 
> it to exit. This is likely to cause a new process to be used for the next 
> request to your application. (Error code 121
>
>
>1. 
>   1. 2013-06-25 16:18:41.749 /tenantmgr/listTenant 500 14192ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. W2013-06-25 16:18:41.749 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>2. 
>   1. 2013-06-25 16:18:07.028 /tenantmgr/listTenant 500 33426ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. I2013-06-25 16:18:06.584 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 requ 
>   3. W2013-06-25 16:18:06.584 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>3. 
>   1. 2013-06-25 16:17:35.852 /tenantmgr/listTenant 500 41223ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. W2013-06-25 16:17:35.852 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>4. 
>   1. 2013-06-25 16:17:26.627 /tenantmgr/listTenant 500 52491ms 0kb 
> Mozilla/5.0 
>   (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) 
>   Chrome/27.0.1453.116 Safari/537.36 
>   2. I2013-06-25 16:17:26.562 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 requ 
>   3. W2013-06-25 16:17:26.562 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>
>
>
> A production issue is also submitted.
> https://code.google.com/p/googleappengine/issues/detail?id=9569.
>
> Any other appid facing similar issue?
>
>
> Regards
> -Aswath
> www.acccounting-guru.net
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Server Error 500 and requests canceled due to timeout

2013-06-26 Thread Cristian Marastoni
Hi,

from today at 9.40 AM GTM my app start having sever issue. I can't access 
it anymore in practice. Every request (or almost the majority) I sent are 
canceled / aborted due to internal timeout. The application log simply 
report this:

Request was aborted after waiting too long to attempt to service your 
request.

and the latency of the requests in practice are always > 13/14 seconds.
The admins logs doesn't report anything particular.

Running the server locally work perfectly and there are no visible issue in 
the code
What it is happening ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread Zach Young
We experienced the same thing last night on a Java application and a Python 
application. The Java application (still in development) reports 
/_ah/warmup at 5.20K requests. The next most requested page had 181 
requests in the last 24 hour. The drops are when we ran out of quota.

http://i.imgur.com/ZMcOBnt.png

On Tuesday, June 25, 2013 4:49:00 PM UTC-4, chilang wrote:
>
> Hi,
>
> I'm seeing 15 warm up requests per secs causing 60+ instances to be spin 
> up, despite having little traffic!
>
> I haven't changed anything (code nor settings) recently. 
> This has started in the last 2 hours. 
>
> I've only noticed this due to app suddenly running out of quota. 
> I'm trying to cap Idle Instances to 1-1 to no avail. I've increased the 
> quota but at this rate it is going to burn through it very soon.
>
> Anyone else seeing this ?
>
> Regards,
> Chi Lang
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Instances trying to start and failing.

2013-06-26 Thread Egolike
We are experiencing this same issue right now, every petition sent to the 
server hosted in appengine is being thrown back with that error.

Could anyone explain why this happens? We have been working fine until 
yesterday...

On Tuesday, June 25, 2013 1:06:49 PM UTC+2, aswath wrote:
>
> Hello Appengine Team,
> http://accountingguru-india.appspot.com customers are facing the latency 
> issues, and are not able to login to the application.
>
> Logs show the following
>
> A problem was encountered with the process that handled this request, causing 
> it to exit. This is likely to cause a new process to be used for the next 
> request to your application. (Error code 121
>
>
>1. 
>   1. 2013-06-25 16:18:41.749 /tenantmgr/listTenant 500 14192ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. W2013-06-25 16:18:41.749 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>2. 
>   1. 2013-06-25 16:18:07.028 /tenantmgr/listTenant 500 33426ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. I2013-06-25 16:18:06.584 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 requ 
>   3. W2013-06-25 16:18:06.584 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>3. 
>   1. 2013-06-25 16:17:35.852 /tenantmgr/listTenant 500 41223ms 0kb 
> Mozilla/4.0 
>   (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET 
> CLR 
>   2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
>   2. W2013-06-25 16:17:35.852 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>4. 
>   1. 2013-06-25 16:17:26.627 /tenantmgr/listTenant 500 52491ms 0kb 
> Mozilla/5.0 
>   (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) 
>   Chrome/27.0.1453.116 Safari/537.36 
>   2. I2013-06-25 16:17:26.562 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 requ 
>   3. W2013-06-25 16:17:26.562 A problem was encountered with the 
>   process that handled this request, causing it to exit. This is likely 
> to 
>   cause a new process to be used for the nex 
>
>
>
> A production issue is also submitted.
> https://code.google.com/p/googleappengine/issues/detail?id=9569.
>
> Any other appid facing similar issue?
>
>
> Regards
> -Aswath
> www.acccounting-guru.net
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Flood of warm up requests!

2013-06-26 Thread Zach Young
The same thing worked for us. Since re-deploying everything has been 
holding steady.

On Wednesday, June 26, 2013 12:44:38 PM UTC-4, Rishi Arora wrote:
>
> I forced a re-deploy, which killed all instances, and that seems to have 
> helped.  I'm stable at ~10 instances, which is normal for this time of day, 
> for my app.
>
>
> On Wed, Jun 26, 2013 at 11:39 AM, Rishi Arora 
> 
> > wrote:
>
>> I'm seeing something similar too.  I usually have between 5 and 10 
>> instances at all times, and it peaks out at 25 occasionally.  But this 
>> graph shows 150+ instances at the peak.  I increased my pending latency 
>> parameters to 500ms / 250ms, up from 10ms/10ms to help reduce costs.  It 
>> helped a little - I'm down to 65 instances now.  As the attached picture 
>> shows - all these instances get spawned, service one request, and then 
>> stick around for several minutes before they shutdown.  Not sure what's 
>> going on.
>>
>>
>>
>> On Wed, Jun 26, 2013 at 11:31 AM, David 
>> > wrote:
>>
>>> I am also seeing 3 warm up requests per minute for nearly a day now on 
>>> my GAE for Java app.   And often this is happening when there is no 
>>> incoming traffic to my app.  My idle instances are also set to 1-1, yet my 
>>> charged hours are above this limit.  The dashboard shows up to 8 running 
>>> instances at times, with the app being charged for 3 or 4 instances.  The 
>>> dashboard also reports that 5% of these warm ups also fail.
>>>
>>> Will someone from Google please let me know how I can follow up so as 
>>> not to be overcharged for this usage?
>>>
>>> Thanks,
>>> David
>>>
>>>
>>>
>>> On Tuesday, June 25, 2013 4:49:00 PM UTC-4, chilang wrote:

 Hi,

 I'm seeing 15 warm up requests per secs causing 60+ instances to be 
 spin up, despite having little traffic!

 I haven't changed anything (code nor settings) recently. 
 This has started in the last 2 hours. 

 I've only noticed this due to app suddenly running out of quota. 
 I'm trying to cap Idle Instances to 1-1 to no avail. I've increased the 
 quota but at this rate it is going to burn through it very soon.

 Anyone else seeing this ?

 Regards,
 Chi Lang

>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com .
>>> To post to this group, send email to 
>>> google-a...@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed


Hi :)

I'm trying to creat a social web application with JAVA eclipse and google 
app engine that offers its users to share and discuss photos.It should 
consist of a single web page, that displays posts and the comments to each 
post. Each comment belongs to exactly one post and therefore each post has 
a (possibly empty) list of comments. i still have many problems with 
displaying posts and saving comments with App Engine Datastore (HRD) !! 

Could you please give some suggestions,how can i post image and save 
comment using HRD ?

The web application is supposed to look roughly like this:



and this is what i got :




this is the servlet that i used :

package de.tuberlin.cit.tublr;
public class TUBlrServlet extends HttpServlet {

 private static final long serialVersionUID = 3218329961842485677L;

 public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {

resp.sendRedirect("/tublr.jsp");
}

public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException { }


and this is my JSP :

<%@page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>

http://www.w3.org/TR/html4/strict.dtd";>




  

  
A photo-sharing service !  






Post a new image:
Image: 
Message [optional]: 













Posted on FIXME:
FIXME






Comment posted on FIXME:
FIXME   
  


Image: 
Message [optional]: 












-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread Vinny P
Hello Ben,

On Wed, Jun 26, 2013 at 12:10 PM, ben  wrote:
>
> I'm trying to create a social web application with JAVA eclipse and Google
> app engine that offers its users to share and discuss photos. It should
> consist of a single web page, that displays posts and the comments to each
> post. Each comment belongs to exactly one post and therefore each post has
> a (possibly empty) list of comments. i still have many problems with
> displaying posts and saving comments with App Engine data store (HRD) !!
>
> Could you please give some suggestions, how can I post image and save
> comment using HRD ?
>

It looks like you're trying to create an imageboard-style (
http://en.wikipedia.org/wiki/Imageboard ) web application, correct? If so,
you don't need to code it by yourself; there are many open source
implementations you could use such as TinyBoard ( http://tinyboard.org/ ).

If you really want to code this by yourself, then you can do so easily with
App Engine. You can upload an image by using the Blobstore (example source
code here:
https://developers.google.com/appengine/docs/java/blobstore/#Uploading_a_Blob
).
In regards to the comments, you'll need to retrieve the contents of the
user's message using standard parameter retrieval: String post_text =
req.getParameter("post_text");

Then you can store it in the datastore by creating an entity, storing the
post comment as a property, then saving it to the datastore. Here's a code
example:
https://developers.google.com/appengine/docs/java/datastore/entities#Creating_an_Entity

-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Deleting stats in Python

2013-06-26 Thread James Gilliam
I am trying to delete the stats for a namespace and using this ...

The following works in dev but not production ...

# set the namespace
 aQuery = db.GqlQuery( "SELECT __key__ FROM %s" % ( aTable ) )

Getting the following exception ...

illegal key.path.element.type: __Stat_Ns_Total__

Is there a better way to delete stats ?

I tried other things but this was the only thing that worked in dev.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Task queue Problem

2013-06-26 Thread James Gilliam
I have seen tasks queues hang pretty often, but my experience is they 
usually start within a few minutes.

On Tuesday, June 25, 2013 5:23:09 AM UTC-7, Eric Ka Ka Ng wrote:
>
> Since around 2 hours ago, the task queues in our apps seems stop 
> functioning. The rate of task execution is very very slow (sometimes 0, 
> sometimes 10 / min, sometimes normal). is there any wrong with the task 
> queue and could someone from Google help? our apps relies heavily on task 
> queue
>
> - eric
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Instances trying to start and failing.

2013-06-26 Thread Vinny P
+1, Also seeing multiple instance restarts and instance recycling taking
place on my end.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com




On Wed, Jun 26, 2013 at 3:31 AM, Egolike  wrote:

> We are experiencing this same issue right now, every sent to the server
> hosted in appengine is being thrown back with that error.
>
> Could anyone explain why this happens? We have been working fine until
> yesterday...
>
>
> On Tuesday, June 25, 2013 1:06:49 PM UTC+2, aswath wrote:
>>
>> Hello Appengine Team,
>> http://accountingguru-india.**appspot.comcustomers
>>  are facing the latency issues, and are not able to login to the
>> application.
>>
>> Logs show the following
>>
>> A problem was encountered with the process that handled this request, 
>> causing it to exit. This is likely to cause a new process to be used for the 
>> next request to your application. (Error code 121
>>
>>
>>1.
>>   1. 2013-06-25 16:18:41.749 /tenantmgr/**listTenant 500 14192ms 0kb
>>   Moz**illa/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
>>   Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
>>   3.0.30729; Media Center PC 6.0)
>>   2. W2013-06-25 16:18:41.749 A problem was encountered with the
>>   process that handled this request, causing it to exit. This is likely 
>> to
>>   cause a new process to be used for the nex
>>2.
>>   1. 2013-06-25 16:18:07.028 /tenantmgr/**listTenant 500 33426ms 0kb
>>   Moz**illa/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
>>   Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
>>   3.0.30729; Media Center PC 6.0)
>>   2. I2013-06-25 16:18:06.584 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 requ
>>   3. W2013-06-25 16:18:06.584 A problem was encountered with the
>>   process that handled this request, causing it to exit. This is likely 
>> to
>>   cause a new process to be used for the nex
>>3.
>>   1. 2013-06-25 16:17:35.852 /tenantmgr/**listTenant 500 41223ms 0kb
>>   Moz**illa/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
>>   Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
>>   3.0.30729; Media Center PC 6.0)
>>   2. W2013-06-25 16:17:35.852 A problem was encountered with the
>>   process that handled this request, causing it to exit. This is likely 
>> to
>>   cause a new process to be used for the nex
>>4.
>>   1. 2013-06-25 16:17:26.627 /tenantmgr/**listTenant 500 52491ms 0kb
>>   Moz**illa/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like
>>   Gecko) Chrome/27.0.1453.116 Safari/537.36
>>   2. I2013-06-25 16:17:26.562 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 requ
>>   3. W2013-06-25 16:17:26.562 A problem was encountered with the
>>   process that handled this request, causing it to exit. This is likely 
>> to
>>   cause a new process to be used for the nex
>>
>>
>>
>> A production issue is also submitted.
>> https://code.google.com/p/**googleappengine/issues/detail?**id=9569
>> .
>>
>> Any other appid facing similar issue?
>>
>>
>> Regards
>> -Aswath
>> www.acccounting-guru.net
>>
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Running DFP on GAE

2013-06-26 Thread Vinny P
 On Wed, Jun 26, 2013 at 12:23 AM, Youdhveer Panwar <
youdhveer.pan...@mediaagility.com> wrote:

> I am facing issue in running a servlet to fetch data from DFP Java API,
>

Here is the following exception: (comes at   List networks =
> networkService.getAllNetworks();  )
>
> INFO: Fetching networks...
> Jun 26, 2013 10:51:04 AM com.google.apphosting.utils.jetty.JettyLogger warn
> WARNING: Error for /dfpLatest.do
> java.lang.AbstractMethodError:
> com.google.api.ads.common.lib.soap.jaxws.JaxWsHandler.putAllHttpHeaders(Ljava/lang/Object;Ljava/util/Map;)V
> at
> com.google.api.ads.dfp.lib.soap.DfpHttpHeaderHandler.setHttpHeaders(DfpHttpHeaderHandler.java:53)
> at
> com.google.api.ads.dfp.jaxws.DfpJaxWsHeaderHandler.setHeaders(DfpJaxWsHeaderHandler.java:86)
> at
> com.google.api.ads.dfp.jaxws.DfpJaxWsHeaderHandler.setHeaders(DfpJaxWsHeaderHandler.java:1)
> at
> com.google.api.ads.common.lib.client.AdsServiceClient.setHeaders(AdsServiceClient.java:111)
>
>
AbstractMethodError tends to occur when you have multiple conflicting
versions of the same library. Can you check your JAXWS and ads-related jars
and see if you have any version discrepancies?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
I really want to thank you so much for this amazing response :) it helped 
me a lot,but i still have a problem ! when i change my servlet to this :
package de.tuberlin.cit.tublr;

import java.io.IOException;
import java.util.Map;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;

import java.io.IOException;
import java.util.Date;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.appengine.api.blobstore.BlobKey;
import com.google.appengine.api.blobstore.BlobstoreService;
import com.google.appengine.api.blobstore.BlobstoreServiceFactory;
public class TUBlrServlet extends HttpServlet 
{

private static final long serialVersionUID = 3218329961842485677L;


private BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();

public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {

resp.sendRedirect("/tublr.jsp");
 BlobKey blobKey = new BlobKey(req.getParameter("blob-key"));
blobstoreService.serve(blobKey, resp);
}

public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
 Map blobs = blobstoreService.getUploadedBlobs(req);
BlobKey blobKey = blobs.get("post_image");

if (blobKey == null) {
resp.sendRedirect("/");
} else {
resp.sendRedirect("/serve?blob-key=" + blobKey.getKeyString());
} 
}
}



 and jsp to this :
<%@page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
<%@ page 
import="com.google.appengine.api.blobstore.BlobstoreServiceFactory" %>
<%@ page import="com.google.appengine.api.blobstore.BlobstoreService" %>
<%
BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();
%>
http://www.w3.org/TR/html4/strict.dtd";>
   



  
  cc-gXX-tublr
  

 

 

 
A photo-sharing service by TU-Berlin! 


 
"
  method="post" enctype="multipart/form-data">
  
Post a new image:
Image: 
Message [optional]: 





 





Posted on FIXME:
FIXME

 



Comment posted on FIXME:
FIXME 
 


Image: 
Message [optional]: 







  




its doesnt work ! it show me a 404 page not found
Can you help me please to find my mistakes ?

Le mercredi 26 juin 2013 19:34:13 UTC+2, Vinny P a écrit :
>
> Hello Ben,
>  
> On Wed, Jun 26, 2013 at 12:10 PM, ben >wrote:
>>
>> I'm trying to create a social web application with JAVA eclipse and 
>> Google app engine that offers its users to share and discuss photos. It 
>> should consist of a single web page, that displays posts and the comments 
>> to each post. Each comment belongs to exactly one post and therefore each 
>> post has a (possibly empty) list of comments. i still have many problems 
>> with displaying posts and saving comments with App Engine data store (HRD) 
>> !! 
>>
>> Could you please give some suggestions, how can I post image and save 
>> comment using HRD ?
>>
>  
> It looks like you're trying to create an imageboard-style ( 
> http://en.wikipedia.org/wiki/Imageboard ) web application, correct? If 
> so, you don't need to code it by yourself; there are many open source 
> implementations you could use such as TinyBoard ( http://tinyboard.org/ ). 
>
>   
> If you really want to code this by yourself, then you can do so easily 
> with App Engine. You can upload an image by using the Blobstore (example 
> source code here: 
> https://developers.google.com/appengine/docs/java/blobstore/#Uploading_a_Blob 
> ). 
> In regards to the comments, you'll need to retrieve the contents of the 
> user's message using standard parameter retrieval: String post_text = 
> req.getParameter("post_text"); 
>   
> Then you can store it in the datastore by creating an entity, storing the 
> post comment as a property, then saving it to the datastore. Here's a code 
> example: 
> https://developers.google.com/appengine/docs/java/datastore/entities#Creating_an_Entity
>   
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, v

Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread Vinny P
Hello Ben,
On Wed, Jun 26, 2013 at 2:34 PM, ben younes raed  wrote:

> I really want to thank you so much for this amazing response :) it helped
> me a lot,but i still have a problem !



 and jsp to this :
>   "
>
>
>
> its doesnt work ! it show me a 404 page not found
> Can you help me please to find my mistakes ?
>
>
Did you create your application through the App Engine plugin for Eclipse?
What did you call your project?

The plugin changes the name of the servlet when auto-mapping; so for
example, if your Eclipse project is called "TUBlr", then Eclipse will
autocreate a servlet named "TUBlrServlet.java" and map it to "/tublr".

So it's a good bet that you need to change the argument for createUploadUrl
from "/TUBlrServlet" to "/tublr" (the lowercase is intentional, do not
change that). If that still doesn't work, look in your /war/WEB-INF/web.xml
file and look for the XML marked < url-pattern > text here < /urlpattern >,
find the mapping that's recorded there, and paste it into createUploadURL.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Mitch Rudominer
I believe your application is running out of memory. You are using an F1 
instance which gets 128MB of memory and the graph in the admin console 
shows you using more than that amount.

On Wednesday, June 26, 2013 6:49:10 AM UTC-7, Cesium wrote:
>
> And yet another, different, Error Code has appeared:
>
>
> 
>
> *sigh*
> The only words I can think of now, were those uttered by Mr. Creosote: 
> "Bring me a bucket!"
> David
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Error while adding primary domain to App Engine app

2013-06-26 Thread storefrontpro
Hello -

I created an app engine application named storefrontpro under a regular 
g-mail address I have.

I went to Application Settings > Domain Setup > Add Domain > and it says 
that I need a Google Apps Account

*Note:* You must sign up for Google Apps to register this domain or prove 
that you already own it.

I signed up for a Google Apps account and verified the domain via TXT 
record with GoDaddy.

Now when I go back to App Engine > Application Settings > Domain Setup > 
Add Domain

I type in my domain and it takes me to a user agreement

*You have requested that the ' storefrontpro ' service be added to your 
domain*

Incidentally, the license agreement has a 404 Not Found 

Not FoundError 404

At any rate, I accept and click "Activate this service" 

I get:

An error occurred while trying to install this application. Please try 
again later.

I need to be able to associate my domain to proceed with development of my 
application. Please advise.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Unable to install App Engine App in Google Apps Domain

2013-06-26 Thread storefrontpro
I am having the same issue - Also the License agreement on the page is 
showing 404, FYI


On Wednesday, June 26, 2013 7:36:16 AM UTC-7, Nathaniel Stensland wrote:
>
> I receive this message yesterday and today when attempting to install a 
> App Engine App into a Google Apps Domain "An error occurred while trying to 
> install this application. Please try again later."
>
> I am not sure who to contact to resolve my issue.
>
> Please help.
>
> Thanks,
>
> Nat
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Request to add jinja v2.7 to python sdk and live runtime environment

2013-06-26 Thread Doug Anderson
Please consider adding jinja 2.7 to the python SDK and live runtime 
environment.  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
Hi 

Thank you again for your time :-)
I change it but it didnt work ! 


Le mercredi 26 juin 2013 21:51:34 UTC+2, Vinny P a écrit :
>
> Hello Ben, 
> On Wed, Jun 26, 2013 at 2:34 PM, ben younes raed 
> 
> > wrote:
>
>> I really want to thank you so much for this amazing response :) it helped 
>> me a lot,but i still have a problem ! 
>
>  
>
>  and jsp to this :
>>   "
>>
>>  
>>
>> its doesnt work ! it show me a 404 page not found
>> Can you help me please to find my mistakes ?
>>
>>  
> Did you create your application through the App Engine plugin for Eclipse? 
> What did you call your project?
>  
> The plugin changes the name of the servlet when auto-mapping; so for 
> example, if your Eclipse project is called "TUBlr", then Eclipse will 
> autocreate a servlet named "TUBlrServlet.java" and map it to "/tublr". 
>  
> So it's a good bet that you need to change the argument for 
> createUploadUrl from "/TUBlrServlet" to "/tublr" (the lowercase is 
> intentional, do not change that). If that still doesn't work, look in your 
> /war/WEB-INF/web.xml file and look for the XML marked < url-pattern > text 
> here < /urlpattern >, find the mapping that's recorded there, and paste it 
> into createUploadURL.
>   
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>  
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
everything works perfectly,the only problem when i click submit it turns to 
404 page not found !
I cant identify the problem 

Le mercredi 26 juin 2013 22:28:55 UTC+2, ben younes raed a écrit :
>
> Hi 
>
> Thank you again for your time :-)
> I change it but it didnt work ! 
>
>
> Le mercredi 26 juin 2013 21:51:34 UTC+2, Vinny P a écrit :
>>
>> Hello Ben, 
>> On Wed, Jun 26, 2013 at 2:34 PM, ben younes raed wrote:
>>
>>> I really want to thank you so much for this amazing response :) it 
>>> helped me a lot,but i still have a problem ! 
>>
>>  
>>
>>  and jsp to this :
>>>   "
>>>
>>>  
>>>
>>> its doesnt work ! it show me a 404 page not found
>>> Can you help me please to find my mistakes ?
>>>
>>>  
>> Did you create your application through the App Engine plugin for 
>> Eclipse? What did you call your project?
>>  
>> The plugin changes the name of the servlet when auto-mapping; so for 
>> example, if your Eclipse project is called "TUBlr", then Eclipse will 
>> autocreate a servlet named "TUBlrServlet.java" and map it to "/tublr". 
>>  
>> So it's a good bet that you need to change the argument for 
>> createUploadUrl from "/TUBlrServlet" to "/tublr" (the lowercase is 
>> intentional, do not change that). If that still doesn't work, look in your 
>> /war/WEB-INF/web.xml file and look for the XML marked < url-pattern > text 
>> here < /urlpattern >, find the mapping that's recorded there, and paste it 
>> into createUploadURL.
>>   
>>  
>> -
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>   
>>  
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread Vinny P
On Wed, Jun 26, 2013 at 3:28 PM, ben younes raed  wrote:

> Hi
>
> Thank you again for your time :-)
> I change it but it didnt work !
>
>

Can you post the contents of your (Project Home)/war/WEB-INF/web.xml file?
If it doesn't exist, you may need to create it. Here's a description of
what it looks like:
https://developers.google.com/appengine/docs/java/config/webxml


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
this is the web.xml

http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5">

TUBlrServlet
de.tuberlin.cit.tublr.TUBlrServlet


TUBlrServlet
/tublr


tublr.jsp




and i made some change in my servlet
package de.tuberlin.cit.tublr;

import java.io.IOException;
import java.util.Map;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.appengine.api.blobstore.BlobKey;
import com.google.appengine.api.blobstore.BlobstoreService;
import com.google.appengine.api.blobstore.BlobstoreServiceFactory;
public class TUBlrServlet extends HttpServlet 
{

private static final long serialVersionUID = 3218329961842485677L;


private BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();

public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {

//resp.sendRedirect("/tublr.jsp");
 BlobKey blobKey = new BlobKey(req.getParameter("blob-key"));
blobstoreService.serve(blobKey, resp);
}

public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
 Map blobs = blobstoreService.getUploadedBlobs(req);
BlobKey blobKey = blobs.get("post_image");

if (blobKey == null) {
resp.sendRedirect("/");
} else {
resp.sendRedirect("/tublr?blob-key=" + blobKey.getKeyString());
} 
}
}


Thank you again :-)

Le mercredi 26 juin 2013 22:52:05 UTC+2, Vinny P a écrit :
>
> On Wed, Jun 26, 2013 at 3:28 PM, ben younes raed 
> 
> > wrote:
>
>> Hi 
>>
>> Thank you again for your time :-)
>> I change it but it didnt work ! 
>>  
>>
>  
> Can you post the contents of your (Project Home)/war/WEB-INF/web.xml file? 
> If it doesn't exist, you may need to create it. Here's a description of 
> what it looks like: 
> https://developers.google.com/appengine/docs/java/config/webxml
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Why does Google App Engine Datastore uses BigTable to store indexes instead of using BigQuery?

2013-06-26 Thread Barry Hunter
A bigger reason, is almost certainly AppEngine existed before BigQuery.

Also not really sure see that BigQuery is an AppEngine 'offering' as such.
Its part of Googles Cloud offerings, but not specifically AppEngine.


Also BigQuery is supposedly powered by Dremel - which is suited for
read-only data. When it launched it could only create a BigQuery table by
importing a big file. No updates. Its only later that it began gain
on-demand appending.



On Wed, Jun 26, 2013 at 5:04 AM, Aniket Bhatnagar <
aniket.bhatna...@gmail.com> wrote:

> Considering BigQuery is an AppEngine offering, it seems like a natural fit
> to store indexes. However, Datastore uses BigTable to store indexes. Why is
> that so?
>
> One possible explanation provided on Quora[1] is that BigQuery is not a
> right fit for heavy write scenario. If so, what is the recommended rate at
> which BigQuery can accept data?
>
> References :
>
> [1]
> http://www.quora.com/Google-App-Engine/Why-does-Google-App-Engine-Datastore-uses-BigTable-to-store-indexes-instead-of-using-BigQuery
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] We are encountering many server errors and latency problem

2013-06-26 Thread dimi
Had the same problem this morning.

It lasted 3 hours.. Status page showed the errors from the previous day (I had 
problems deploying my app). 

You can believe I'm not very happy with the (almost) non existing communication 
about failures like this. 

I love the easy deploys and easy to use services that GAE offers, but 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Server Error 500 and requests canceled due to timeout

2013-06-26 Thread dimi
Had the same problem this morning.
It lasted 3 hours.. Status page showed the errors from the previous day (I had 
problems deploying my app).

You can believe I'm not very happy with the (almost) non existing communication 
about failures like this. Not even a word on twitter like if Google don't want 
us to find out. And this is not be first time (that I notice a problem). What 
about the times I don't notice a problem? When you look at the status history 
we seem to have a 100% uptime and that is a huge lie.

I love the easy deploys and easy to use services that GAE java offers and until 
now my projects are always temporary that have sometimes the need to scale 
out.. 

But with a new project in the making that isn't temporary, I would like to know 
if the status page could get an update soon about what is going on and when the 
problem will be solved. That can't be so difficult (and please without paying 
500$ a month for that information.)

It's one of the arguments I use for selling GAE to clients: it's cheaper than 
others because we don't need a sys admin. But maybe I'm wrong and we should 
hire one so we at least can inform our clients what the problem is and when it 
will be solved?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] dynamic image creation on app engine python

2013-06-26 Thread Pumplerod

I'm trying to dynamically create and display images in the browser using 
app engine.  It doesn't seem that the "images" module will do all I need as 
I am changing color on a pixel by pixel basis.

is there a way to write the data into a string and have it read and 
displayed as an image?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] App Engine Performance

2013-06-26 Thread dimi
Couldn't agree more with you.
Yesterday I couldn't deploy my app, today it was down for 3 hours, other days 
memcache API is down so I have more datastore reads so I pay for that usage,..

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
Any answer please ?

Le mercredi 26 juin 2013 23:00:04 UTC+2, ben younes raed a écrit :
>
> this is the web.xml
> 
> http://www.w3.org/2001/XMLSchema-instance";
> xmlns="http://java.sun.com/xml/ns/javaee";
> xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5">
> 
> TUBlrServlet
> de.tuberlin.cit.tublr.TUBlrServlet
> 
> 
> TUBlrServlet
> /tublr
> 
> 
> tublr.jsp
> 
> 
>
>
> and i made some change in my servlet
> package de.tuberlin.cit.tublr;
>
> import java.io.IOException;
> import java.util.Map;
>
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> import com.google.appengine.api.blobstore.BlobKey;
> import com.google.appengine.api.blobstore.BlobstoreService;
> import com.google.appengine.api.blobstore.BlobstoreServiceFactory;
> public class TUBlrServlet extends HttpServlet 
> {
>
> private static final long serialVersionUID = 3218329961842485677L;
>
>
> private BlobstoreService blobstoreService = 
> BlobstoreServiceFactory.getBlobstoreService();
>
> public void doGet(HttpServletRequest req, HttpServletResponse resp)
> throws IOException {
>
> //resp.sendRedirect("/tublr.jsp");
>  BlobKey blobKey = new BlobKey(req.getParameter("blob-key"));
> blobstoreService.serve(blobKey, resp);
> }
>
> public void doPost(HttpServletRequest req, HttpServletResponse resp)
> throws IOException {
>  Map blobs = blobstoreService.getUploadedBlobs(req);
> BlobKey blobKey = blobs.get("post_image");
>
> if (blobKey == null) {
> resp.sendRedirect("/");
> } else {
> resp.sendRedirect("/tublr?blob-key=" + blobKey.getKeyString());
> } 
> }
> }
>
>
> Thank you again :-)
>
> Le mercredi 26 juin 2013 22:52:05 UTC+2, Vinny P a écrit :
>>
>> On Wed, Jun 26, 2013 at 3:28 PM, ben younes raed wrote:
>>
>>> Hi 
>>>
>>> Thank you again for your time :-)
>>> I change it but it didnt work ! 
>>>  
>>>
>>  
>> Can you post the contents of your (Project Home)/war/WEB-INF/web.xml 
>> file? If it doesn't exist, you may need to create it. Here's a description 
>> of what it looks like: 
>> https://developers.google.com/appengine/docs/java/config/webxml
>>  
>>  
>> -
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>   
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
it looks like my servlet jsp config doesn't fit to the URL ? what should I 
do ? 

Le mercredi 26 juin 2013 22:52:05 UTC+2, Vinny P a écrit :
>
> On Wed, Jun 26, 2013 at 3:28 PM, ben younes raed 
> 
> > wrote:
>
>> Hi 
>>
>> Thank you again for your time :-)
>> I change it but it didnt work ! 
>>  
>>
>  
> Can you post the contents of your (Project Home)/war/WEB-INF/web.xml file? 
> If it doesn't exist, you may need to create it. Here's a description of 
> what it looks like: 
> https://developers.google.com/appengine/docs/java/config/webxml
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] SSL/TLS Forward Secrecy Support for Custom Domains?

2013-06-26 Thread Thomas Schranz
Is there a way to enable/support forward secrecy on App Engine using custom 
domains?

http://news.netcraft.com/archives/2013/06/25/ssl-intercepted-today-decrypted-tomorrow.html

http://stackoverflow.com/a/12906972/403939
https://news.ycombinator.com/item?id=5947704

Thanks a lot in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: dynamic image creation on app engine python

2013-06-26 Thread timh
You can use full PIL now.



On Thursday, June 27, 2013 6:07:12 AM UTC+8, Pumplerod wrote:
>
>
> I'm trying to dynamically create and display images in the browser using 
> app engine.  It doesn't seem that the "images" module will do all I need as 
> I am changing color on a pixel by pixel basis.
>
> is there a way to write the data into a string and have it read and 
> displayed as an image?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread Vinny P
On Wed, Jun 26, 2013 at 5:16 PM, ben younes raed  wrote:

> it looks like my servlet jsp config doesn't fit to the URL ? what should I
> do ?
>
>

1. Did you change the form action to:
BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/tublr");

2.  getUploadedBlobs is deprecated, you may want to change that to
getUploads

3. When you get the 404 redirect page, what is the URL displayed in your
browser?

4. Are there any errors displayed in your Eclipse?



 -
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Cesium
Here's what I've found:

Does this indicate leaks?
Is the Memory Usage plot on a per instance basis? Total memory used by all 
instances?
I found that:
I killed the only instance Memory usage dropped, my errors ceased.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: 90% of cron tasks failing with Error Code 121. Upset my customers are. Hosed I am.

2013-06-26 Thread Cesium
oops.. meant to finish with:

I found that:
1) I killed the only instance.
2) An hour or so later, memory usage dropped.
3) Errors ceased.

Is this approx 75MB the normal usage by my app, and any excess would be a 
leak?

Thanks!
David

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
Hi :)

Yes I changed the form action.

and this is the URL displayed in my browser 
: 
http://raéd-pc:/_ah/upload/ag1jYy1nMDE5LXR1YmxychsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YLQw

I tried to change getUploadedBlobs with getUploads but i have now other 
errors in Eclipse to deal with,for example (Cannot cast from List 
to BlobKey)
so this is how i change the doPost from my servlet :
public void doPost(HttpServletRequest req, HttpServletResponse res) throws 
IOException {
 Map> blobs = blobstoreService.getUploads(req);
List Key = blobs.get("post_image");
BlobKey blobKey = Key.get(0);
if (blobKey == null) {
res.sendRedirect("/");
} else {
res.sendRedirect("/tublr?blob-key=" +( blobKey).getKeyString());

}
}

I have a read cross in this folder TUBlr/war,other ways i dont have any 
errors on eclipse.Besides when i access 
to http://127.0.0.1:/_ah/admin/datastore i found :



 
Le jeudi 27 juin 2013 01:40:32 UTC+2, Vinny P a écrit :
>
> On Wed, Jun 26, 2013 at 5:16 PM, ben younes raed 
> 
> > wrote:
>
>> it looks like my servlet jsp config doesn't fit to the URL ? what should 
>> I do ? 
>>
>>  
>  
> 1. Did you change the form action to:
> BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/tublr");
>  
> 2.  getUploadedBlobs is deprecated, you may want to change that to 
> getUploads
>  
> 3. When you get the 404 redirect page, what is the URL displayed in your 
> browser? 
>  
> 4. Are there any errors displayed in your Eclipse?
>  
>  
>  
>  -
>  -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
Actually now i have this message that appear in my browser after uploading :its 
not possible to access to the page : xn--rad-pc-cva:.
Le jeudi 27 juin 2013 04:47:31 UTC+2, ben younes raed a écrit :
>
> Hi :)
>
> Yes I changed the form action.
>
> and this is the URL displayed in my browser : 
> http://raéd-pc:/_ah/upload/ag1jYy1nMDE5LXR1YmxychsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YLQw
>
> I tried to change getUploadedBlobs with getUploads but i have now other 
> errors in Eclipse to deal with,for example (Cannot cast from List 
> to BlobKey)
> so this is how i change the doPost from my servlet :
> public void doPost(HttpServletRequest req, HttpServletResponse res) throws 
> IOException {
>  Map> blobs = blobstoreService.getUploads(req);
> List Key = blobs.get("post_image");
> BlobKey blobKey = Key.get(0);
> if (blobKey == null) {
> res.sendRedirect("/");
> } else {
> res.sendRedirect("/tublr?blob-key=" +( 
> blobKey).getKeyString());
> 
> }
> }
>
> I have a read cross in this folder TUBlr/war,other ways i dont have any 
> errors on eclipse.Besides when i access to 
> http://127.0.0.1:/_ah/admin/datastore i found :
>
>
> 
>
>  
> Le jeudi 27 juin 2013 01:40:32 UTC+2, Vinny P a écrit :
>>
>> On Wed, Jun 26, 2013 at 5:16 PM, ben younes raed wrote:
>>
>>> it looks like my servlet jsp config doesn't fit to the URL ? what should 
>>> I do ? 
>>>
>>>  
>>  
>> 1. Did you change the form action to:
>> BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/tublr");
>>  
>> 2.  getUploadedBlobs is deprecated, you may want to change that to 
>> getUploads
>>  
>> 3. When you get the 404 redirect page, what is the URL displayed in your 
>> browser? 
>>  
>> 4. Are there any errors displayed in your Eclipse?
>>  
>>  
>>  
>>  -
>>  -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>   
>>  
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread ben younes raed
Infact i have this massage now after uploading : Google Chrome is not able 
to find the page: xn--rad-pc-cva:.
Le jeudi 27 juin 2013 01:40:32 UTC+2, Vinny P a écrit :
>
> On Wed, Jun 26, 2013 at 5:16 PM, ben younes raed 
> 
> > wrote:
>
>> it looks like my servlet jsp config doesn't fit to the URL ? what should 
>> I do ? 
>>
>>  
>  
> 1. Did you change the form action to:
> BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/tublr");
>  
> 2.  getUploadedBlobs is deprecated, you may want to change that to 
> getUploads
>  
> 3. When you get the 404 redirect page, what is the URL displayed in your 
> browser? 
>  
> 4. Are there any errors displayed in your Eclipse?
>  
>  
>  
>  -
>  -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] web application with JAVA eclipse in google app engine

2013-06-26 Thread Vinny P
On Wed, Jun 26, 2013 at 9:58 PM, ben younes raed  wrote:

> Infact i have this massage now after uploading : Google Chrome is not able
> to find the page: xn--rad-pc-cva:.
>

You might have something wrong with your development environment, because
the code is just fine. You may need to upgrade your version of the SDK, and
perhaps Eclipse itself.

The intention behind the code is that the Blobstore creates a temporary
URL, where the image is POSTed to. The blobstore saves the files, redirects
the user to your app and gives the app a blobkey, then you use the blobkey
to download the file back. It looks like you're getting 404s when the app
isn't even being used (i.e. your self reported error of "Google Chrome is
not able to find the page: xn[your pc]:").

I'm running the version of the code here:
https://developers.google.com/appengine/docs/java/blobstore/#Complete_Sample_App
with
no problems. Here's a picture of my Google Chrome inspector showing a
successful upload, then re-downloading the file back to me:
http://imgur.com/bNssdMk .


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: dynamic image creation on app engine python

2013-06-26 Thread Pumplerod
That's great.  I hadn't realized that.  Is there a way to write directly to 
the browser?  Or do I need to save the image back to the datastore first?

On Wednesday, June 26, 2013 4:39:10 PM UTC-7, timh wrote:
>
> You can use full PIL now.
>
>
>
> On Thursday, June 27, 2013 6:07:12 AM UTC+8, Pumplerod wrote:
>>
>>
>> I'm trying to dynamically create and display images in the browser using 
>> app engine.  It doesn't seem that the "images" module will do all I need as 
>> I am changing color on a pixel by pixel basis.
>>
>> is there a way to write the data into a string and have it read and 
>> displayed as an image?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Process problems - please help!

2013-06-26 Thread GregF
Suddenly three hours ago I started getting a lot of warnings:

A problem was encountered with the process that handled this request,causing it 
to 
exit. This is likely to cause a new process to be used for the nex

These requests all have latencies of seconds. This is occurring with app *
schoolinterviews-hr* but not with a nearly identical app 
schoolinterviewsau-hr under similar if not greater load. This is most 
obvious when looking at the dashboard graph for milliseconds per request - 
it went from sub 100ms to 4000ms average.

The code didn't change at that time, and there is no useful error message 
if there was a coding error. Help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] New App on AppEngine

2013-06-26 Thread pknla7
I have a new App on the app engine and have hardly any users at present. 
 What is a sufficient subscription setup for me at this time such that I'm 
not paying more on a daily budget than I need to?  So far I'm paying 
$10/day and even though there are very few hits I exhaust that budget 
before the day is over.  It makes me wonder that I'm not subscribed to the 
right services (instances?) as $70/week or $280/mo is an exorbitant amount 
at this stage and atleast 4 times any other hosting fee.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Process warnings

2013-06-26 Thread GregF
My app started having terrible latency and logging the following warning:

A problem was encountered with the process that handled this request,causing it 
to 
exit. 

This appears to be every second or third request. This started 3.5 hours 
ago, and was not related to any code changes. An essentially identical app 
is fine. Help!




-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Process warnings

2013-06-26 Thread GregF
Just changed version number, updated and switched default version. The 
problem is still happening - latencies are through the roof (over a second 
when they are usually sub 100ms), even static files are taking 500ms.

On Thursday, 27 June 2013 18:28:27 UTC+12, GregF wrote:
>
> My app started having terrible latency and logging the following warning:
>
> A problem was encountered with the process that handled this request,causing 
> it to 
> exit. 
>
> This appears to be every second or third request. This started 3.5 hours 
> ago, and was not related to any code changes. An essentially identical app 
> is fine. Help!
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.