[google-appengine] Disassociate custom domain from appengine project

2013-09-11 Thread Jeffery Fernandez
I have an appengine project for which I have associated a custom domain to
it (via Google Apps). However the project needs to be associated with a
different domain name.

Is this as simple as associating a new domain via Google Apps account and
changing appropriate DNS records?

Jeffery
-- 
Mobile: +61 430 534 464
Home: +61 3 9764 4439
Work: +61 3 9723 9399

-- 
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] Error with GoogleCredentials and Directory in google-admin-sdk

2013-09-11 Thread Gonzalo Zamarro
Hi Vinny!

First, thank you for the response and speed.

Before yesterday I was testing with this API, but I didn't know how to set 
the atribute key={YOUR_API_KEY} (I also tried via GET and INSERT, but I had 
the same problem).

This was the request by placing the user to remove:

DELETE https:
//www.googleapis.com/admin/directory/v1/users/userToDelete%40subdomain.domain.com?key={YOUR_API_KEY}

Authorization: Bearer ya29.AHES6ZQuy4IbEav9NJf79MBXVEw-yyy
X-JavaScript-User-Agent: Google APIs Explorer

And this the error with which it responded:

403 Forbidden
 
- Show headers -
  
{
  "error": {
   "errors": [
{
 "domain": "global",
 "reason": "domainCannotUseApis"
 "message": "Domain can not use apis."
}
   ]
   "code": 403,
   "message": "Domain can not use apis."
  }
}

How would define in these examples my api_key?

Previously, I turned on the Admin SDK in:

https://code.google.com/apis/console/ # project: XX: services

and

https://cloud.google.com/console # / project / XX / apiui / api? 
show = all

Thank you very much in advance and best regards,

Gonz



El miércoles, 11 de septiembre de 2013 01:10:57 UTC+2, Vinny P escribió:
>
> On Tue, Sep 10, 2013 at 10:34 AM, Gonzalo Zamarro <
> gzam...@intelligencepartner.com > wrote:
>
>> I'm trying to access google admin-directory  API to create, delete or 
>> remove users as administrator.
>> I'm trying to develop an application that allows to update or delete a 
>> user.
>>
>> In the first way, I used the code shown: 
>> http://stackoverflow.com/questions/16729165/google-admin-directory-api-is-returning-400-bad-request
>>
>> How can I fix the error that occurs in the first case?
>>
>
>
> There are a number of issues that could go wrong here.
>
> First, you may want to double check that the account you're using has the 
> proper authorizations: use the APIs Explorer to test out operations: 
> https://developers.google.com/admin-sdk/directory/v1/reference/users/delete#try-it
>  
>
> If that works, try using the REST API directly and see if you can 
> authorize properly: 
> https://developers.google.com/admin-sdk/directory/v1/reference/
>
>  
>  
> -
> -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] Re: In your opinion what are the most complex web applications built on top of google app engine ?

2013-09-11 Thread doright
Hi Greg,

bit belated, but I'm following up on our comment from 18 months back about 
writing up my very positive GAE experience with my Cloud web app 
www.bikeshopmanager.com
(been a little busy!)

are you still on the GAE project?  can I talk to you about a couple of 
PR-related things, if so, how do I get in touch directly?

many thanks,
Doug

On Wednesday, March 28, 2012 2:16:39 PM UTC+2, Greg D'Alesandre wrote:
>
> I'd like to second that, there are a lot of folks in the Group from the 
> startup and hobbyist communities which is why you hear from those segments 
> a lot but there is a large group of folks out there building applications 
> (and businesses) along these lines that talk to the App Engine team in 
> person but don't participate as much on the list.  
>
> I too would love to hear more about it!
>
> Greg D'Alesandre
> Senior Product Manager, Google App Engine
>
> On Wed, Mar 28, 2012 at 8:01 AM, Richard Watson 
> 
> > wrote:
>
>> I think your app is perfect for GAE, actually. Build something you charge 
>> for, have it cost less than that, never (or rarely) worry about scaling. 
>> The thing is called Google "App" Engine, not 
>> Free-Google-Platform-For-Your-LOLcat-Website.  Would love to read more 
>> about what you've done.
>>
>> On Wednesday, March 28, 2012 8:38:39 AM UTC+2, doright wrote:
>>>
>>> well, I'm not in these guy's league but I have built a Saas on GAEJ, 
>>> it's been in production since late 2010, with paying customers.
>>>
>>> I plan to write up my experience at some stage, as I know its not your 
>>> typical GAE app.  Its more of an enterprise software solution than a true 
>>> web-startup, but so far I've found GAE keeps on delivering and I have used 
>>> pretty much most of what they have to offer in terms of infrastructure. 
>>> Most of what I'm not using yet I certainly plan to use in the future.
>>>
>>> Its been a mainly very positive experience.
>>> (you can see links in there to a library of videos demonstrating the 
>>> sort of functionality)
>>>
>>> www.bikeshopmanager.com
>>>
>>> (re-posted this at the correct level, with link)
>>>
  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/HE8c9rSpSBMJ.
>>
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
On Wednesday, March 28, 2012 2:16:39 PM UTC+2, Greg D'Alesandre wrote:
>
> I'd like to second that, there are a lot of folks in the Group from the 
> startup and hobbyist communities which is why you hear from those segments 
> a lot but there is a large group of folks out there building applications 
> (and businesses) along these lines that talk to the App Engine team in 
> person but don't participate as much on the list.  
>
> I too would love to hear more about it!
>
> Greg D'Alesandre
> Senior Product Manager, Google App Engine
>
> On Wed, Mar 28, 2012 at 8:01 AM, Richard Watson 
> 
> > wrote:
>
>> I think your app is perfect for GAE, actually. Build something you charge 
>> for, have it cost less than that, never (or rarely) worry about scaling. 
>> The thing is called Google "App" Engine, not 
>> Free-Google-Platform-For-Your-LOLcat-Website.  Would love to read more 
>> about what you've done.
>>
>> On Wednesday, March 28, 2012 8:38:39 AM UTC+2, doright wrote:
>>>
>>> well, I'm not in these guy's league but I have built a Saas on GAEJ, 
>>> it's been in production since late 2010, with paying customers.
>>>
>>> I plan to write up my experience at some stage, as I know its not your 
>>> typical GAE app.  Its more of an enterprise software solution than a true 
>>> web-startup, but so far I've found GAE keeps on delivering and I have used 
>>> pretty much most of what they have to offer in terms of infrastructure. 
>>> Most of what I'm not using yet I certainly plan to use in the future.
>>>
>>> Its been a mainly very positive experience.
>>> (you can see links in there to a library of videos demonstrating the 
>>> sort of functionality)
>>>
>>> www.bikeshopmanager.com
>>>
>>> (re-posted this at the correct level, with link)
>>>
  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/HE8c9rSpSBMJ.
>>
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" gr

Re: [google-appengine] Error with GoogleCredentials and Directory in google-admin-sdk

2013-09-11 Thread Gonzalo Zamarro
Hi Vinny!

First, thank you for the response and speed.

Before yesterday I was testing with this API, but I didn't know how to set 
the atribute key={YOUR_API_KEY} (I also tried via GET and INSERT, but I had 
the same problem).

This was the request by placing the user to remove:

DELETE https://
www.googleapis.com/admin/directory/v1/users/userToDelete%40subdomain.domain.com?key={YOUR_API_KEY}

Authorization: Bearer ya29.AHES6ZQuy4IbEav9NJf79MBXVEw-yyy
X-JavaScript-User-Agent: Google APIs Explorer

And this the error with which it responded:

403 Forbidden
 
- Show headers -
  
{
  "error": {
   "errors": [
{
 "domain": "global",
 "reason": "domainCannotUseApis"
 "message": "Domain can not use apis."
}
   ]
   "code": 403,
   "message": "Domain can not use apis."
  }
}

How would define in these examples my api_key?

Previously, I turned on the Admin SDK in:

https://code.google.com/apis/console/ # project: XX: services

and

https://cloud.google.com/console # / project / XX / apiui / api? 
show = all

Thank you very much in advance and best regards,

Gonz


El miércoles, 11 de septiembre de 2013 01:10:57 UTC+2, Vinny P escribió:
>
> On Tue, Sep 10, 2013 at 10:34 AM, Gonzalo Zamarro <
> gzam...@intelligencepartner.com > wrote:
>
>> I'm trying to access google admin-directory  API to create, delete or 
>> remove users as administrator.
>> I'm trying to develop an application that allows to update or delete a 
>> user.
>>
>> In the first way, I used the code shown: 
>> http://stackoverflow.com/questions/16729165/google-admin-directory-api-is-returning-400-bad-request
>>
>> How can I fix the error that occurs in the first case?
>>
>
>
> There are a number of issues that could go wrong here.
>
> First, you may want to double check that the account you're using has the 
> proper authorizations: use the APIs Explorer to test out operations: 
> https://developers.google.com/admin-sdk/directory/v1/reference/users/delete#try-it
>  
>
> If that works, try using the REST API directly and see if you can 
> authorize properly: 
> https://developers.google.com/admin-sdk/directory/v1/reference/
>
>  
>  
> -
> -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] Endpoints HttpServletRequest getCookies

2013-09-11 Thread jens
Trying to read cookies out of one Endpoint method like this:

@ApiMethod(httpMethod = "get")

   public void getCookies(HttpServletRequest req) {

log.info("req: " + req);

   Cookie[] cookies = req.getCookies();

   for (Cookie cookie : cookies) {

   log.info("cookie: " + cookie.getName() + " " + cookie
.getValue());

   }

   }

No matter what i try, the cookies are NULL. Any ideas?

-- 
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] How to upload data to Cloud.google.com

2013-09-11 Thread Johann - Andreas Spindler
Hello,
sorry for this nooob question, but how do I upload data to the cloud? And 
how do i manage it?

Thank you for not screaming at me.

-- 
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 issue for java (using Spring) in production blocking requests

2013-09-11 Thread Jorge Amat
my website is getting blocked and not working every few time, getting the 
log I show below. Each time this happens, I have to go to my console, 
refresh the cache, and change in application settings the Frontend Instance 
Class from F1 to F2 or F4 to make possible the first loading, and once it´s 
done, changing back to F1 (which works perfectly after the first request). 
But after a while, I got again the server error and my website doesn´t work.


   1.  500 61172ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) 
   AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
   
   109.255.25.214 - - [06/Sep/2013:17:31:03 -0700] "GET /blog HTTP/1.1" 500 0 
"some url" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/29.0.1547.66 Safari/537.36" "my domain" ms=61172 cpu_ms=44941 
loading_request=1 exit_code=104 app_engine_release=1.8.4 
instance=00c61b117c83b77e2f32936923fc83b121bc82 

   
   2. I2013-09-06 17:30:09.228
   
   javax.servlet.ServletContext log: Initializing Spring root 
WebApplicationContext
   
   3. I2013-09-06 17:30:45.225
   
   javax.servlet.ServletContext log: Initializing Spring FrameworkServlet 
'mvc-dispatcher'
   
   4. W2013-09-06 17:31:03.615
   
   Error for /blog
   com.google.apphosting.runtime.HardDeadlineExceededError: This request 
(df2ff830a97e2023) started at 2013/09/07 00:30:03.406 UTC and was still 
executing at 2013/09/07 00:31:03.604 UTC.
at 
org.apache.jsp.WEB_002dINF.jsp.error.error_005fdinamic_jsp._jspService(error_005fdinamic_jsp.java:42)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at 
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
at 
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
at 
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
at 
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:804)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:90)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.googlecode.objectify.cache.AsyncCacheFilter.doFilter(AsyncCacheFilter.java:59)
at 
com.googlecode.objectify.ObjectifyFilter.doFilter(ObjectifyFilter.java:49)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)
at 
org.mortbay.jetty.servlet.ServletHandler$Cache

[google-appengine] Some requests returns 500 INTERNAL SERVER ERROR

2013-09-11 Thread Sergio Cuenca

Hi all,
Some request done to my app are returning a 500 INTERNAL SERVER ERROR. 
There is not a problem of the application because other request are working 
ok. For example this request is working 
ok= /users/search_user_by_keyword/aaa/ but this one is returning the 
error=/users/search_user_by_keyword/gmail/
The same situation is happening with other requests. There are no errors in 
LOG console.
I have increased the version of my app and the error is happening. It has 
passed about 24 hours and the error continues.
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.


[google-appengine] Re: Google CCS Server implementation for GCM (Google Cloud Messaging)

2013-09-11 Thread mick
I ran into the same issue. Now I am confused.

On Google developers site I wrote that it would be possible to send 
messages from the app engine to theAndroid devices by deploying a XMPP 
client on GAE. It was just said that messaging from devices to GAE via XMPP 
would be prevented due to the GAE restrictions.

So is it that the suggested Smack is just using unnecessary features which 
conflicts with GAE restrictions, or is it not possible at all to deploy a 
XMPP client on GAE?

Thx,
Mick

-- 
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] Index in "Deleting" mode for > 24 hours

2013-09-11 Thread David Plass
Yesterday I tried to delete an index, and today (> 24 hours later) it's 
still in "Deleting" mode.

The index has 669 entries and 104K bytes of data.

How do I force it to stop, or complete?

-- 
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] When will we have Google App Engine for .Net

2013-09-11 Thread Prashanth Tondapu
Hi, I am a big fan of Google and Google services. I am a .net developer and 
have developed a website www.auditiononline.in. This is primarily based on 
 Youtube embed video content and is currently hosted on Windows azure. The 
database is pretty small as of now.. and the traffic is next to nil. and I 
am charged atleast 6$. One of my friend used Google App Engine for his site 
and he said this kind of charges appeared for him when he had almost 1000 
consistent Users.

Really would appreciate if google launches app engine for .Net as soon as 
possible.

Thanks,
Prashanth

-- 
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 site returning 503 Over Quota when I am under quota and have billing enabled

2013-09-11 Thread Elaine Ou


I've had this problem for 3 days now -- My App Engine site is returning 503 
Over Quota Error, but in my dashboard quota details, (
https://appengine.google.com/dashboard/quotadetails) all rows show that the 
rate is "Okay".

Furthermore, I have billing enabled for my account so I don't know why this 
would arise.

Are there other sources of quota violations that are not listed on the 
Quota Details page?

Thank you!

-- 
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: SDK1.8.4 did break cloud enpoint generation

2013-09-11 Thread Antonio Villegas
I have the same problem with 1.8.4. What should I do? How can I downgrade 
to 1.8.3?

On Sunday, September 8, 2013 12:11:29 PM UTC+2, Johan Compagner wrote:
>
> then thats the problem, because i am on 3.3 and this morning i did get a 
> googles own notification that there is an update (and that i should call 
> check for updates)
> But when i do check for updates in eclipse, eclipse tells me that there 
> are no updates..
>
>
> On 7 September 2013 19:36, Ludovic Champenois 
> 
> > wrote:
>
>> Which version of the GPE plugin itself are you using? Verify it is the 
>> latest: GPE 3.4.0
>>
>>
>> On Saturday, September 7, 2013 2:20:55 AM UTC-7, Johan Compagner wrote:
>>>
>>> I updated through eclipse to the 1.8.4 release, but then i tried to do 
>>> the endpoint generation it failed with this exception:
>>>
>>> java.lang.**NoSuchMethodException: com.google.api.server.spi.**
>>> tools.CloudClientLibGenerator.**generateClientLib(java.lang.**String, 
>>> com.google.api.server.spi.**tools.ClientLibGenerator$**Language, 
>>> java.lang.String, java.io.File)
>>>  at java.lang.Class.getMethod(**Class.java:1655)
>>> at com.google.gdt.eclipse.**appengine.swarm.wizards.**
>>> helpers.SwarmApiCreator.**createClientLibFromApiConfig(**
>>> SwarmApiCreator.java:101)
>>>  at com.google.gdt.eclipse.**appengine.swarm.wizards.**
>>> helpers.SwarmApiCreator.**createSwarmApi(**SwarmApiCreator.java:212)
>>> at com.google.gdt.eclipse.**appengine.swarm.wizards.**
>>> helpers.SwarmServiceCreator.**create(SwarmServiceCreator.**java:475)
>>>  at com.google.gdt.eclipse.**appengine.swarm.wizards.**
>>> GenerateSwarmApiAction$1.run(**GenerateSwarmApiAction.java:**84)
>>> at org.eclipse.jface.operation.**ModalContext.**runInCurrentThread(**
>>> ModalContext.java:464)
>>>  at org.eclipse.jface.operation.**ModalContext.run(ModalContext.**
>>> java:372)
>>> at org.eclipse.jface.dialogs.**ProgressMonitorDialog.run(**
>>> ProgressMonitorDialog.java:**507)
>>>  at com.google.gdt.eclipse.**appengine.swarm.wizards.**
>>> GenerateSwarmApiAction.run(**GenerateSwarmApiAction.java:**80)
>>> at org.eclipse.ui.internal.**PluginAction.runWithEvent(**
>>> PluginAction.java:251)
>>>  at org.eclipse.jface.action.**ActionContributionItem.**
>>> handleWidgetSelection(**ActionContributionItem.java:**584)
>>> at org.eclipse.jface.action.**ActionContributionItem.access$**
>>> 2(ActionContributionItem.java:**501)
>>>  at org.eclipse.jface.action.**ActionContributionItem$5.**handleEvent(**
>>> ActionContributionItem.java:**411)
>>> at org.eclipse.swt.widgets.**EventTable.sendEvent(**EventTable.java:84)
>>>  at org.eclipse.swt.widgets.**Widget.sendEvent(Widget.java:**1057)
>>> at org.eclipse.swt.widgets.**Display.runDeferredEvents(**
>>> Display.java:4170)
>>>  at org.eclipse.swt.widgets.**Display.readAndDispatch(**
>>> Display.java:3759)
>>> at org.eclipse.e4.ui.internal.**workbench.swt.**
>>> PartRenderingEngine$9.run(**PartRenderingEngine.java:1113)
>>>  at org.eclipse.core.databinding.**observable.Realm.**
>>> runWithDefault(Realm.java:332)
>>> at org.eclipse.e4.ui.internal.**workbench.swt.**PartRenderingEngine.run(
>>> **PartRenderingEngine.java:997)
>>>  at org.eclipse.e4.ui.internal.**workbench.E4Workbench.**
>>> createAndRunUI(E4Workbench.**java:138)
>>> at org.eclipse.ui.internal.**Workbench$5.run(Workbench.**java:610)
>>>  at org.eclipse.core.databinding.**observable.Realm.**
>>> runWithDefault(Realm.java:332)
>>> at org.eclipse.ui.internal.**Workbench.**createAndRunWorkbench(**
>>> Workbench.java:567)
>>>  at org.eclipse.ui.PlatformUI.**createAndRunWorkbench(**
>>> PlatformUI.java:150)
>>> at org.eclipse.ui.internal.ide.**application.IDEApplication.**
>>> start(IDEApplication.java:124)
>>>  at org.eclipse.equinox.internal.**app.EclipseAppHandle.run(**
>>> EclipseAppHandle.java:196)
>>> at org.eclipse.core.runtime.**internal.adaptor.**EclipseAppLauncher.**
>>> runApplication(**EclipseAppLauncher.java:110)
>>>  at org.eclipse.core.runtime.**internal.adaptor.**
>>> EclipseAppLauncher.start(**EclipseAppLauncher.java:79)
>>> at org.eclipse.core.runtime.**adaptor.EclipseStarter.run(**
>>> EclipseStarter.java:354)
>>>  at org.eclipse.core.runtime.**adaptor.EclipseStarter.run(**
>>> EclipseStarter.java:181)
>>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>>  at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
>>> NativeMethodAccessorImpl.java:**57)
>>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>>> DelegatingMethodAccessorImpl.**java:43)
>>>  at java.lang.reflect.Method.**invoke(Method.java:606)
>>> at org.eclipse.equinox.launcher.**Main.invokeFramework(Main.**java:636)
>>>  at org.eclipse.equinox.launcher.**Main.basicRun(Main.java:591)
>>> at org.eclipse.equinox.launcher.**Main.run(Main.java:1450)
>>>  at org.eclipse.equinox.launcher.**Main.main(Main.java:1426)
>>>
>>>
>>> i quickly reverted to 1.8.3 and that works fine.
>>>
>>> Also in 1.8.4 i suddenly also got another json exception that a @named 
>>> string param was c

[google-appengine] not able to set the background image for the body

2013-09-11 Thread jiban prakash

I am trying to set the background image of the body through css

body
{

background-repeat:repeat-x;
background-attachment:fixed;
background-image:url('../pic/title.jpg');
}

and i have changed in the app.yaml for static image file.

- url: /pic(.*\.(gif|png|jpg))
  static_files: static/pic/\1
  upload: static/pic/(.*\.(gif|png|jpg))

but still i get the error 

   1. Status Code:
   404 Not Found
   

Resonse Header:


   1. HTTP/1.1 404 Not Found *Content-Type: text/html; charset=UTF-8 
*Content-Encoding: gzip Vary: Accept-Encoding Date: Sun, 08 Sep 2013 
   06:38:46 GMT Server: Google Frontend Cache-Control: private Content-Length: 
   127 Alternate-Protocol: 80:quic

I am not sure why the Content-Type is text/html for a image, or is it 
expected?

Thanks 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] Unexpected high charges on dashboard

2013-09-11 Thread OferR
Hi,

I am seeing unexpected high charges on the dashboard today.
The numbers are 20 to 200 higher than usual.

Inspecting all of the logs entries in details does not provide any clues.

Some more odd points:

1. The total charge (Estimated cost for the last 22 hours) does not include 
the amounts for the unexpected high charges.

2. This has happened before on a smaller scale (only outgoing bandwidth was 
unusually high), but I can no longer find it in the billing history. Like 
it's been fixed. Was there such a known case a few months back?


Note that the billing day is not finished yet.

app id is  onthejob-jobcrafts

Thanks,
Ofer

-- 
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] Implementing a scalable streaming data collector in GAE

2013-09-11 Thread Ezequiel Muns
The application I want to implement is extremely simple conceptually: calls 
to a HTTP endpoint will record all GET parameters plus a timestamp as a 
line into a huge log file. 
My key performance requirements are scalability in a range from 400QPS to 
10kQPS while maintaining fairly low latency (< 250ms), and not costing more 
than ~$3000 per billion requests. 

I've been exploring GAE as a vehicle mainly due to the attractive 
auto-scaling functionality, zero infrastructure management and pay-per use 
pricing model, but I've been experiencing a fair bit of impedance 
prototyping something that has led me to question its suitability to this 
particular problem. 

   1. Early on I realized the Datastore was out of the question as it's too 
   slow and too costly for the data we're putting in. 
   2. Using pull queues as temporary storage for datapoints so that they 
   can be batch-saved by a worker on a backend did not scale even to our base 
   400QPS, the queue itself is a bottleneck
   3. Ended up trading off reliability for latency by using dedicated 
   memcache as temporary storage for datapoints while they wait to be saved. 
   (Note, building the FE in Go really helped keep latency and cost/billion 
   down. Thanks Go!)

Now I'm dealing with the saving to long term storage part, and with the 
Files API deprecated it seems there is no way for me to stream the lines 
into a file on Google Cloud Storage (basically with the newer and supported 
GCS Client Library one must build the entire file in memory before sending 
it over to GCS). 

Am I missing something or does it seem like this is a really hard task to 
implement in GAE? Any advice the community could offer. Should I just build 
this on an IaaS from the ground up and incur the cost 
of infrastructure management while escaping the GAE limitations? I'd 
appreciate people's opinions/advice.

-- 
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: Datastore admin still broken with "too many redirects"

2013-09-11 Thread Johannes Stahl
Easier workaround is to just use IE for Datastore Admin

On Tuesday, April 10, 2012 5:07:46 AM UTC-7, Steffen Tester wrote:
>
> See 
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/7f846d59b3a14ae3/2f6315394782b19f?lnk=gst&q=datastore+admin+redirects#2f6315394782b19f
>  
>
> This is still an issue. 
>
> Workaround is to directly open the address from the iframe of the 
> datastore admin page ( 
>
> https://ah-builtin-python-bundle-dot-latest-dot-YOUR_APP_ID.appspot.com/_ah/datastore_admin/?app_id=s~YOUR_APP_ID
>  
> ) and allow cookies from this domain. 
>

-- 
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] Logs Stored Data Quota not being reset

2013-09-11 Thread Guillermo Mazzola
Has been several weeks now that the Logs Stored Data quota does not reset 
when the others does. It's always at 100%, event after the first minute of 
the new day. Can anyone tell me why? 

PS: logs API never stop working and I can access the logs just fine.


-- 
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] Error with GoogleCredentials and Directory in google-admin-sdk

2013-09-11 Thread Gonzalo Zamarro
Hi Vinny!

First, thank you for the response and speed.

I don't had enabled the Api Acces, and now I can use this API Explorer, and 
delete the User.

But I don't know how can make this with java and App Engine.

My problem it's with the credential and the Directory instance, like I said 
in the first entrance.

How Can I connect Correctly to my Direction Api With Java?

Thanks and regards!

El miércoles, 11 de septiembre de 2013 01:10:57 UTC+2, Vinny P escribió:
>
> On Tue, Sep 10, 2013 at 10:34 AM, Gonzalo Zamarro <
> gzam...@intelligencepartner.com > wrote:
>
>> I'm trying to access google admin-directory  API to create, delete or 
>> remove users as administrator.
>> I'm trying to develop an application that allows to update or delete a 
>> user.
>>
>> In the first way, I used the code shown: 
>> http://stackoverflow.com/questions/16729165/google-admin-directory-api-is-returning-400-bad-request
>>
>> How can I fix the error that occurs in the first case?
>>
>
>
> There are a number of issues that could go wrong here.
>
> First, you may want to double check that the account you're using has the 
> proper authorizations: use the APIs Explorer to test out operations: 
> https://developers.google.com/admin-sdk/directory/v1/reference/users/delete#try-it
>  
>
> If that works, try using the REST API directly and see if you can 
> authorize properly: 
> https://developers.google.com/admin-sdk/directory/v1/reference/
>
>  
>  
> -
> -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: When will we have Google App Engine for .Net

2013-09-11 Thread husayt
Probably never.
To do Appengine for .Net it is not just a different language, they will 
need to switch to different OS i.e. Windows.
So they have to build whole Windows cloud just to support .net for 
appengine. I would be really surprised to see that ever happen.




On Tuesday, 10 September 2013 17:02:14 UTC+1, Prashanth Tondapu wrote:
>
> Hi, I am a big fan of Google and Google services. I am a .net developer 
> and have developed a website www.auditiononline.in. This is primarily 
> based on  Youtube embed video content and is currently hosted on Windows 
> azure. The database is pretty small as of now.. and the traffic is next to 
> nil. and I am charged atleast 6$. One of my friend used Google App Engine 
> for his site and he said this kind of charges appeared for him when he had 
> almost 1000 consistent Users.
>
> Really would appreciate if google launches app engine for .Net as soon as 
> possible.
>
> Thanks,
> Prashanth
>

-- 
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] Writes to cloud storage hanging after opening file?

2013-09-11 Thread Ben Smithers
Hi Vinny,

Thanks for your suggestions. As a redhead, I'll try not to take offence to 
that :)

I have been working with app engine only for a couple of months, so all 
code is relatively new. My *guess* is that I've been having a similar issue 
pretty much from the start, it just took me a while to debug it (I think I 
was being fooled by log messages prior to me flushing them). However, I was 
originally working with the blobstore. Since I was having issues and that 
has become deprecated, I switched to GCS - and have been having this exact 
problem since.

I tried switching back to regular backends and removing my modules - same 
behaviour.

I tried your suggestion of writing a single character, closing the file and 
trying the larger write:

gcs_file = cloudstorage.open(filename, 'w', content_type=
'text/plain' )
self.debugMessage("opened file")
gcs_file.write("f")
self.debugMessage("One character written")
gcs_file.close()
self.debugMessage("file closed. Sleeping")

time.sleep(int(suffix) * 10)

gcs_file = cloudstorage.open(filename, 'w', content_type=
'text/plain')
self.debugMessage("opened file")
gcs_file.write("f" * 1024 * 1024 * 1 + '\n')
self.debugMessage("data written")
gcs_file.close()
self.debugMessage("file closed")

I ran this three times (10 instances each time) - in all cases the file is 
written with the single character successfully, but a number of the larger 
writes then hang.

I also enabled AppStats. However, it looks to me like the requests that 
hang never reach the state of writing the AppStat log (e.g. I never see 
something like "Saved; key: __appstats__:073900, part: 29 bytes, full: 1364 
bytes" in the log), so I am not sure how that will be useful. Nonetheless, 
I modified the AppStat code to allow public access (this is a test 
application, no sensitive data), so if you wish to do so, you can check for 
yourself at http://benstoragetest.appspot.com/stats

Thanks for your input,
Ben

On Wednesday, September 11, 2013 2:45:04 AM UTC+1, Vinny P wrote:
>
> On Tue, Sep 10, 2013 at 5:14 AM, Ben Smithers 
> 
> > wrote:
>
>> Has anyone else observed this behaviour? Does anyone have any suggestions 
>> for what I am doing wrong?
>>
>>
>
> Backends are the red headed stepchild of GAE - they exhibit weird behavior 
> periodically. Did these errors start happening recently, or is this new 
> code? If you're using the Modules version of backends, can you try using 
> regular backends (and not defining any modules whatsoever)?
>
> Can you try seeing what an AppStats profile of this request looks like? 
> Here's the link: 
> https://developers.google.com/appengine/docs/python/tools/appstats . 
> Specifically, what I'm looking for is whether the library is hanging during 
> the connection to GCS, and what the connection information looks like.
>
> If you don't want to install AppStats, you can also try splitting up file 
> creation and writing to the file: create the file through the GCS library, 
> write a single character, then close the connection. Sleep for a bit, then 
> try writing to the file. The problem might isolate itself to a particular 
> part of the file writing process.
>   
> -
> -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] Implementing a scalable streaming data collector in GAE

2013-09-11 Thread Barry Hunter
A possibly off the wall idea. Have a NOOP handler. Literally it does
nothing aside from return the correct HTTP Status code.

Then extract the data from the standard App Engine Logs! Google have
obviouslly built a scalable logging infrastructure. Use it. The logs
include the GET paramaters and more.

They can be downloaded in bulk
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Downloading_logs



There is also a API for accessing logs from an app directly
https://developers.google.com/appengine/docs/python/logs/functions
but there have been some questions as to it scalablity/performance.

-- 
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] Implementing a scalable streaming data collector in GAE

2013-09-11 Thread Barry Hunter
Also maybe BigQuery could be used for the 'long term storage'?

http://blog.streak.com/2012/07/export-your-google-app-engine-logs-to.html

-- 
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] Implementing a scalable streaming data collector in GAE

2013-09-11 Thread Vinny P
On Wed, Sep 11, 2013 at 8:43 AM, Barry Hunter 
 wrote:

> Also maybe BigQuery could be used for the 'long term storage'?
>
>

I use BigQuery myself, and I can second Barry's comment. It's easy to
integrate with App Engine logs and analyze them.


On Sun, Sep 8, 2013 at 10:20 PM, Ezequiel Muns  wrote:

> I'd appreciate people's opinions/advice.
>


Depending on your use case, have a NOOP handler or a simple handler which
exports the headers to JSON and prints it out into logging. Have a cron job
routinely export logs into a Cloud Storage bucket, then use a Compute
Engine machine/App Engine app to do any log cleanup required.

Another option is to get a big instance (an F4_1G for example) and record
the request logs into the instance's memory (not persistent storage). When
the record gets too big, save it all at once into GCS, wipe the instance's
in-memory records, rinse and repeat.



-
-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] Logs Stored Data Quota not being reset

2013-09-11 Thread Jacob Taylor
Google delete the logs only when it needs to in order to keep you within
quota. They keep three kids as long as possible. Once you fill to the
quotes, it stays full. Think of it as a first in first out queue that is
emptied only when the quota is hit. It fills and stays full. Does that help?

Jacob
On Sep 11, 2013 2:12 AM, "Guillermo Mazzola"  wrote:

> Has been several weeks now that the Logs Stored Data quota does not reset
> when the others does. It's always at 100%, event after the first minute of
> the new day. Can anyone tell me why?
>
> PS: logs API never stop working and I can access the logs just fine.
>
>
>  --
> 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] Writes to cloud storage hanging after opening file?

2013-09-11 Thread Vinny P
On Wed, Sep 11, 2013 at 7:04 AM, Ben Smithers 
 wrote:

> I ran this three times (10 instances each time) - in all cases the file is
> written with the single character successfully, but a number of the larger
> writes then hang.
>
>

So what this looks to me is that GCS and the library are working fine, but
the backend (and more importantly, the urfetch connection to the backend)
are having difficulty piping down the data into GCS servers.

So to speak of this problem in a hypothetical sense, at some point there is
an "inflection point" - there is a certain size of data writing that the
urlfetch is having difficulty with. You were able to write a single
character without a problem, but 1 MB of characters was too much for it. So
I were you, I'd try to find that inflection point and then save to Cloud
Storage in chunks less than that. For example, try to write to Cloud
Storage in chunks of 250 KB, if that works, try writing in chunks of 400
KB, and so on. Of course this is only a bandaid solution - something is
clearly wrong with the underlying urlfetch implementation.

But if I had to make a recommendation, I'd say skip the whole backend
writing thing altogether. It's a waste of money to load up backends for the
purposes of writing (unless you're Bill Gates or similar!). You said
frontend instances seem to be much better in terms of writing - try using
task queues to spawn off frontend requests which are solely dedicated to
writing to Cloud Storage. If you need a temporary place to store data,
write it to the datastore or Cloud SQL until the tasks can get to the GCS
writing.


-
-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] Re: When will we have Google App Engine for .Net

2013-09-11 Thread Stefano Ciccarelli
We have too in Italy!



2013/9/11 Jim 

> we have a saying in the US "when pigs fly"
>
>
>
> On Tuesday, September 10, 2013 11:02:14 AM UTC-5, Prashanth Tondapu wrote:
>>
>> Hi, I am a big fan of Google and Google services. I am a .net developer
>> and have developed a website www.auditiononline.in. This is primarily
>> based on  Youtube embed video content and is currently hosted on Windows
>> azure. The database is pretty small as of now.. and the traffic is next to
>> nil. and I am charged atleast 6$. One of my friend used Google App Engine
>> for his site and he said this kind of charges appeared for him when he had
>> almost 1000 consistent Users.
>>
>> Really would appreciate if google launches app engine for .Net as soon as
>> possible.
>>
>> Thanks,
>> Prashanth
>>
>  --
> 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.
>



-- 
Nel mondo esistono 10 categorie di persone, quelle che capiscono il binario
e quelle che non lo capiscono.

-- 
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] When will we have Google App Engine for .Net

2013-09-11 Thread Barry Hunter
What's their incentive?

You appear to be bringing less than $72 a year (assuming the $6 you
referring to is a monthly charge)

That's not going to go very far in employing a whole team of people to
implement this.




On 10 September 2013 17:02, Prashanth Tondapu wrote:

> Hi, I am a big fan of Google and Google services. I am a .net developer
> and have developed a website www.auditiononline.in. This is primarily
> based on  Youtube embed video content and is currently hosted on Windows
> azure. The database is pretty small as of now.. and the traffic is next to
> nil. and I am charged atleast 6$. One of my friend used Google App Engine
> for his site and he said this kind of charges appeared for him when he had
> almost 1000 consistent Users.
>
> Really would appreciate if google launches app engine for .Net as soon as
> possible.
>
> Thanks,
> Prashanth
>
> --
> 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] Index in "Deleting" mode for > 24 hours

2013-09-11 Thread Barry Hunter
What's the rush?

(also allowing for the fact this message seems to now be a few days old...)


On 9 September 2013 02:51, David Plass  wrote:

> Yesterday I tried to delete an index, and today (> 24 hours later) it's
> still in "Deleting" mode.
>
> The index has 669 entries and 104K bytes of data.
>
> How do I force it to stop, or complete?
>
> --
> 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] SDK / Production _async behaviour differences - is _async's safe on production?

2013-09-11 Thread Kaan Soral
@ndb.toplevel solves ndb related async issues

I've recently started using Task().add_async() and immediately discovered 
that async calls are disregarded if you don't manually wait for the 
response - on SDK
*WARNING  2013-09-11 16:17:18,006 recording.py:653] Found 1 RPC request(s) 
without matching response (presumably due to timeouts or other errors)*
You see the above message - and no results

I've tested the same call on production, it works, the task executes

I've modified recording.py to manually wait for those RPC's - it works 
great - it forces the async calls to execute on SDK, if anyone wants I can 
share the modification

However the question is, are those calls 100% safe of production, can you 
just add a Task with add_async and not worry about the task not executing?

For example if you add 500 tasks with Task add_async, and just complete the 
request without waiting or anything, is the execution rate 500/500 - 
assuming no task exceptions?

-- 
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: When will we have Google App Engine for .Net

2013-09-11 Thread Jim
we have a saying in the US "when pigs fly"



On Tuesday, September 10, 2013 11:02:14 AM UTC-5, Prashanth Tondapu wrote:
>
> Hi, I am a big fan of Google and Google services. I am a .net developer 
> and have developed a website www.auditiononline.in. This is primarily 
> based on  Youtube embed video content and is currently hosted on Windows 
> azure. The database is pretty small as of now.. and the traffic is next to 
> nil. and I am charged atleast 6$. One of my friend used Google App Engine 
> for his site and he said this kind of charges appeared for him when he had 
> almost 1000 consistent Users.
>
> Really would appreciate if google launches app engine for .Net as soon as 
> possible.
>
> Thanks,
> Prashanth
>

-- 
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] Do pull queues exhibit "consistent read" behaviour when leasing?

2013-09-11 Thread Vinny P
On Tue, Sep 10, 2013 at 9:57 PM, Jacob Taylor 
 wrote:

> Is there a safe way to sleep when using a multi-threaded python
> application? We were seeing huge issues when we had a few regular small
> sleep statements. i.e. common use cases that were sleeping for 1/4 second.
>
>

Well, that's implementation dependent. Instead of doing sleep, you could
move time-consuming application logic to where you need a delay. For
instance, suppose you needed to do a urlfetch later on in your code. Why
not do a synchronous urlfetch in place of the delay?

Or you could use a push task, set it to countdown a short time before
executing (
https://developers.google.com/appengine/docs/python/taskqueue/tasks#Task see
the countdown option). The push task then notifies whatever service to
start leasing tasks from the pull queue.

You could also fake it - for example, do a while loop that counts up to an
outrageously high number. It's a bit of a waste of instance time, but
whatever works!



-
-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] Re: Google CCS Server implementation for GCM (Google Cloud Messaging)

2013-09-11 Thread Vinny P
On Tue, Sep 10, 2013 at 11:29 AM, mick  wrote:

> So is it that the suggested Smack is just using unnecessary features which
> conflicts with GAE restrictions, or is it not possible at all to deploy a
> XMPP client on GAE?
>
>

You can deploy an XMPP client on GAE, that's documented here:
https://developers.google.com/appengine/docs/java/xmpp/

You just can't run the Smack XMPP library because it requires certain
classes that are not allowed in the App Engine sandbox.



-
-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] Disassociate custom domain from appengine project

2013-09-11 Thread Vinny P
On Wed, Sep 11, 2013 at 2:33 AM, Jeffery Fernandez <
jefferyfernan...@gmail.com> wrote:

> I have an appengine project for which I have associated a custom domain to
> it (via Google Apps). However the project needs to be associated with a
> different domain name.
>
> Is this as simple as associating a new domain via Google Apps account and
> changing appropriate DNS records?
>
>

You can't disassociate the original domain name, Google Apps accounts are
locked to the original domain name they were created with. See
http://support.google.com/a/bin/answer.py?hl=en&answer=54819 Quote: *However,
at this time you can't change which domain is your primary domain*

What you can do is create an alias domain, and map your application to
that. See
https://groups.google.com/d/msg/google-appengine/f27NB1ptv40/fMOpqQlct3AJfor
a discussion on how to map alias domains in Apps.




-
-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] Do pull queues exhibit "consistent read" behaviour when leasing?

2013-09-11 Thread Jacob Taylor
We have a nice little fibonacci sequence being calculated at the moment.
Feels very dirty though. We also have multiple parallel threads where one
might be backlogged and the other is idle. This means we slow down the
backlogged thread.

We are looking at changing the way we do some of this, but at the moment,
our system actually performs better with more load.

I was thinking about making a call to a non-responsive web server (setup
one with a sleep) and use URL timeouts.

Thanks,
Jacob


On Wed, Sep 11, 2013 at 11:28 AM, Vinny P  wrote:

> On Tue, Sep 10, 2013 at 9:57 PM, Jacob Taylor 
>  wrote:
>
> Is there a safe way to sleep when using a multi-threaded python
>> application? We were seeing huge issues when we had a few regular small
>> sleep statements. i.e. common use cases that were sleeping for 1/4 second.
>>
>>
>
> Well, that's implementation dependent. Instead of doing sleep, you could
> move time-consuming application logic to where you need a delay. For
> instance, suppose you needed to do a urlfetch later on in your code. Why
> not do a synchronous urlfetch in place of the delay?
>
> Or you could use a push task, set it to countdown a short time before
> executing (
> https://developers.google.com/appengine/docs/python/taskqueue/tasks#Task see
> the countdown option). The push task then notifies whatever service to
> start leasing tasks from the pull queue.
>
> You could also fake it - for example, do a while loop that counts up to an
> outrageously high number. It's a bit of a waste of instance time, but
> whatever works!
>
>
>
> -
> -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.
>



-- 
Jacob Taylor
CTO, Kahuna
(650) 302-1864
www.useKahuna.com 
http://www.linkedin.com/in/thejacobtaylor

-- 
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] Some requests returns 500 INTERNAL SERVER ERROR

2013-09-11 Thread Vinny P
On Tue, Sep 10, 2013 at 3:49 AM, Sergio Cuenca 
 wrote:

> Some request done to my app are returning a 500 INTERNAL SERVER ERROR.
> There is not a problem of the application because other request are working
> ok. For example this request is working
> ok= /users/search_user_by_keyword/aaa/ but this one is returning the
> error=/users/search_user_by_keyword/gmail/
> The same situation is happening with other requests. There are no errors
> in LOG console.
>


If App Engine is returning 500 Server Error, then there should be an error
logged in the Logs section.

Are you looking at each version's logs? Go to the Logs section of the App
Engine console, there should be a dropdown box showing different versions
of your application. Make sure you view each versions logs and that there
are no errors. You can also download application logs via appcfg - see if
any more details are logged there. See
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Downloading_logs




-
-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] Does Search API number_found_accuracy affect cost, or only performance?

2013-09-11 Thread Jason Collins
In the Search API, I can set number_found_accuracy as a query option.

When I set this, does it have any impact on the cost of the query 
(including possibly uplifting is from a simple to a complex query), or does 
it only impact performance?

Thanks,
j

-- 
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] SDK / Production _async behaviour differences - is _async's safe on production?

2013-09-11 Thread Kaan Soral
I've been testing Task's async on production, while there is no guarantee 
to the behavior without official confirmation, it has been acting quiet 
optimally

for example I've added 3 tasks async, 2 of them shared the same name, there 
were no exceptions, and the same name only executed once, there were 2 task 
executions as expected


On Wednesday, September 11, 2013 10:16:32 PM UTC+3, Jacob Taylor wrote:
>
> My understanding was that any async request that was not completed will 
> attempt to abort if you return a response. It may or may not be stopped. We 
> collect a pool of futures and then call wait as the last thing to make sure 
> everything has finished.
>
>
> On Wed, Sep 11, 2013 at 9:30 AM, Kaan Soral 
> > wrote:
>
>> @ndb.toplevel solves ndb related async issues
>>
>> I've recently started using Task().add_async() and immediately discovered 
>> that async calls are disregarded if you don't manually wait for the 
>> response - on SDK
>> *WARNING  2013-09-11 16:17:18,006 recording.py:653] Found 1 RPC 
>> request(s) without matching response (presumably due to timeouts or other 
>> errors)*
>> You see the above message - and no results
>>
>> I've tested the same call on production, it works, the task executes
>>
>> I've modified recording.py to manually wait for those RPC's - it works 
>> great - it forces the async calls to execute on SDK, if anyone wants I can 
>> share the modification
>>
>> However the question is, are those calls 100% safe of production, can you 
>> just add a Task with add_async and not worry about the task not executing?
>>
>> For example if you add 500 tasks with Task add_async, and just complete 
>> the request without waiting or anything, is the execution rate 500/500 - 
>> assuming no task exceptions?
>>  
>> -- 
>> 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.
>>
>
>
>
> -- 
> Jacob Taylor
> CTO, Kahuna
> (650) 302-1864
> www.useKahuna.com 
> http://www.linkedin.com/in/thejacobtaylor
>
>  

-- 
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] not able to set the background image for the body

2013-09-11 Thread Vinny P
On Sun, Sep 8, 2013 at 1:56 AM, jiban prakash  wrote:

>
> I am trying to set the background image of the body through css
>
> but still i get the error
>
>1. Status Code:
>404 Not Found
>
>
>

Forget the CSS for a moment. Can you retrieve the file through a normal
HTTP request; for example, if you went to *your-app-id . appspot . com /
folder / random . png*?


On Sun, Sep 8, 2013 at 1:56 AM, jiban prakash  wrote:

> Response Header:
>
>
>1. HTTP/1.1 404 Not Found *Content-Type: text/html; charset=UTF-8 
> *Content-Encoding: gzip Vary: Accept-Encoding Date: Sun, 08 Sep 2013
>06:38:46 GMT Server: Google Frontend Cache-Control: private Content-Length:
>127 Alternate-Protocol: 80:quic
>
> I am not sure why the Content-Type is text/html for a image, or is it
> expected?
>
>


The content type is HTML because App Engine is returning an error page. It
doesn't know the MIME type of the file you're intending to get because it
can't find the file for whatever reason.


-
-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] How to upload data to Cloud.google.com

2013-09-11 Thread Barry Hunter
What sort of data? Where do you want to put it, and what do you want to do
with it?

For example to store files, use Google Cloud Storage
https://developers.google.com/storage/docs/signup


There is also a web interface at.
https://cloud.google.com/console


On 5 September 2013 13:34, Johann - Andreas Spindler <
johann.spind...@gmail.com> wrote:

> Hello,
> sorry for this nooob question, but how do I upload data to the cloud? And
> how do i manage it?
>
> Thank you for not screaming at me.
>
> --
> 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] Deployment error after upgrading to 1.8.3

2013-09-11 Thread Deepak Singh
Hi,

my project was being deployed successfully. I upgraded to GAE Java 1.8.3
and since after that i am getting the following error during deployment.

Preparing to deploy:
Created staging directory at:
'C:\Users\Deepak\AppData\Local\Temp\appcfg9147832672184820845.tmp'
Scanning for jsp files.
Compiling jsp files.
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use
a JDK, not a JRE.

It works fine in local development.

Plz suggest.


-- 
Deepak Singh

-- 
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: When will we have Google App Engine for .Net

2013-09-11 Thread Emanuele Ziglioli
There are more chances for AppScale to run on Azure.
This article appeared in 2010...

http://blogs.msdn.com/b/windowsazure/archive/2010/11/18/thought-leaders-in-the-cloud-talking-with-chandra-krintz-associate-professor-at-uc-santa-barbara.aspx


On Wednesday, 11 September 2013 04:02:14 UTC+12, Prashanth Tondapu wrote:
>
> Hi, I am a big fan of Google and Google services. I am a .net developer 
> and have developed a website www.auditiononline.in. This is primarily 
> based on  Youtube embed video content and is currently hosted on Windows 
> azure. The database is pretty small as of now.. and the traffic is next to 
> nil. and I am charged atleast 6$. One of my friend used Google App Engine 
> for his site and he said this kind of charges appeared for him when he had 
> almost 1000 consistent Users.
>
> Really would appreciate if google launches app engine for .Net as soon as 
> possible.
>
> Thanks,
> Prashanth
>

-- 
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: How to upload data to Cloud.google.com

2013-09-11 Thread Jason Collins
This is what we use:

  https://developers.google.com/storage/docs/json_api/

-- 
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] Implementing a scalable streaming data collector in GAE

2013-09-11 Thread Nick
Like appengine, big query is a bit of a work in progress and always moving.
We use big query to store data for reports, however it does have some gotchas:
It doesn't like many small writes (I.e streaming records), this has a huge 
performance impact on queries. (Note this may also have changed since I last 
looked)
There are limits on queries, for example they only allowed queries to return 
over 250mb in result sets in the last 6 or so months. I'm not sure what the 
upper bound is now.

If you want to use GAE + BQ, you're pretty much at square one - you need to 
store all requests temporarily and process a batch, just like GCS. The good 
news is GCS and BQ work pretty well together. I would recommend BQ as a good 
tool for querying through your millions of rows in reasonable time (not sure 
about billions - I have yet to see an example of a truly 'big data' BQ usage. 
The 250mb limit sort of put me off on BQ and true big data).

Regarding using the data store, I have hit a scenario before where the indexes 
got so big for entity insertion that putting a small number (say 25 entities) 
hit deadline limits. I interpret this to mean that basically there is an 
effective upper limit on the amount of data you can store in the data store for 
a given Kind, and youll hit that limit sooner if you have many search 
dimensions (ie indexes).

I would be interested in hearing what you finally end up choosing, please 
repost after you decide, with a little bit of explanation on why.

-- 
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] Index in "Deleting" mode for > 24 hours

2013-09-11 Thread Ryan Huebsch
Can you provide the appId that is having the problem so we can help it
along?


On Wed, Sep 11, 2013 at 7:53 AM, Barry Hunter wrote:

> What's the rush?
>
> (also allowing for the fact this message seems to now be a few days old...)
>
>
> On 9 September 2013 02:51, David Plass  wrote:
>
>> Yesterday I tried to delete an index, and today (> 24 hours later) it's
>> still in "Deleting" mode.
>>
>> The index has 669 entries and 104K bytes of data.
>>
>> How do I force it to stop, or complete?
>>
>> --
>> 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.


Re: [google-appengine] Re: SDK1.8.4 did break cloud enpoint generation

2013-09-11 Thread Vinny P
On Mon, Sep 9, 2013 at 1:29 AM, Antonio Villegas  wrote:

> I have the same problem with 1.8.4. What should I do? How can I downgrade
> to 1.8.3?
>
>

Download the old version from the Maven repository:
http://search.maven.org/#browse%7C1910764113



-
-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] Endpoints HttpServletRequest getCookies

2013-09-11 Thread Vinny P
On Thu, Sep 5, 2013 at 7:23 AM,  wrote:

> Trying to read cookies out of one Endpoint method like this:
>
>log.info("cookie: " + cookie.getName() + " " +
>  cookie.getValue());
> No matter what i try, the cookies are NULL. Any ideas?
>
>

What do the HTTP request headers show? Can you do
HttpServletRequest.getHeaderNames() and print out all the header names and
values? Specifically, what does the cookie header look like?



-
-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] App Engine site returning 503 Over Quota when I am under quota and have billing enabled

2013-09-11 Thread Vinny P
On Sun, Sep 8, 2013 at 3:53 PM, Elaine Ou  wrote:

> I've had this problem for 3 days now -- My App Engine site is returning
> 503 Over Quota Error, but in my dashboard quota details, (
> https://appengine.google.com/dashboard/quotadetails) all rows show that
> the rate is "Okay".
>
> Furthermore, I have billing enabled for my account so I don't know why
> this would arise.
>
>
>
Is every page returning a 503 Over Quota error? Have you made at least 1
payment on your account?

Try reuploading your application and clearing the application's memcache
(there's a button for that in the Memcache Viewer screen in the admin
console).


-
-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] SDK / Production _async behaviour differences - is _async's safe on production?

2013-09-11 Thread Jacob Taylor
My understanding was that any async request that was not completed will
attempt to abort if you return a response. It may or may not be stopped. We
collect a pool of futures and then call wait as the last thing to make sure
everything has finished.


On Wed, Sep 11, 2013 at 9:30 AM, Kaan Soral  wrote:

> @ndb.toplevel solves ndb related async issues
>
> I've recently started using Task().add_async() and immediately discovered
> that async calls are disregarded if you don't manually wait for the
> response - on SDK
> *WARNING  2013-09-11 16:17:18,006 recording.py:653] Found 1 RPC
> request(s) without matching response (presumably due to timeouts or other
> errors)*
> You see the above message - and no results
>
> I've tested the same call on production, it works, the task executes
>
> I've modified recording.py to manually wait for those RPC's - it works
> great - it forces the async calls to execute on SDK, if anyone wants I can
> share the modification
>
> However the question is, are those calls 100% safe of production, can you
> just add a Task with add_async and not worry about the task not executing?
>
> For example if you add 500 tasks with Task add_async, and just complete
> the request without waiting or anything, is the execution rate 500/500 -
> assuming no task exceptions?
>
> --
> 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.
>



-- 
Jacob Taylor
CTO, Kahuna
(650) 302-1864
www.useKahuna.com 
http://www.linkedin.com/in/thejacobtaylor

-- 
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] app engine issue for java (using Spring) in production blocking requests

2013-09-11 Thread Vinny P
On Fri, Sep 6, 2013 at 7:37 PM, Jorge Amat  wrote:

> and change in application settings the Frontend Instance Class from F1 to
> F2 or F4 to make possible the first loading, and once it´s done, changing
> back to F1 (which works perfectly after the first request). But after a
> while, I got again the server error and my website doesn´t work.
>
>1.
>2. W2013-09-06 17:31:03.615
>
>Error for /blog
>com.google.apphosting.runtime.HardDeadlineExceededError: This request 
> (df2ff830a97e2023) started at 2013/09/07 00:30:03.406 UTC and was still 
> executing at 2013/09/07 00:31:03.604 UTC.
>
>
>

In App Engine, frontend requests are limited to 60 seconds. It looks like
your application is processing a request that takes more time than that.

You may need to move or reformat your application logic so it can complete
this task in under 60 seconds, or move it to a cron or task queue request
which can last up to 10 minutes.



-
-Vinny P
Technology & Media Advisor
Chicago, IL

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




On Fri, Sep 6, 2013 at 7:37 PM, Jorge Amat  wrote:

> my website is getting blocked and not working every few time, getting the
> log I show below. Each time this happens, I have to go to my console,
> refresh the cache, and change in application settings the Frontend Instance
> Class from F1 to F2 or F4 to make possible the first loading, and once it´s
> done, changing back to F1 (which works perfectly after the first request).
> But after a while, I got again the server error and my website doesn´t work.
>
>
>1.  500 61172ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64)
>AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
>
>109.255.25.214 - - [06/Sep/2013:17:31:03 -0700] "GET /blog HTTP/1.1" 500 0 
> "some url" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/29.0.1547.66 Safari/537.36" "my domain" ms=61172 
> cpu_ms=44941 loading_request=1 exit_code=104 app_engine_release=1.8.4 
> instance=00c61b117c83b77e2f32936923fc83b121bc82 
> 
>
>2. I2013-09-06 17:30:09.228
>
>javax.servlet.ServletContext log: Initializing Spring root 
> WebApplicationContext
>
>3. I2013-09-06 17:30:45.225
>
>javax.servlet.ServletContext log: Initializing Spring FrameworkServlet 
> 'mvc-dispatcher'
>
>4. W2013-09-06 17:31:03.615
>
>Error for /blog
>com.google.apphosting.runtime.HardDeadlineExceededError: This request 
> (df2ff830a97e2023) started at 2013/09/07 00:30:03.406 UTC and was still 
> executing at 2013/09/07 00:31:03.604 UTC.
>   at 
> org.apache.jsp.WEB_002dINF.jsp.error.error_005fdinamic_jsp._jspService(error_005fdinamic_jsp.java:42)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
>   at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>   at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>   at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>   at 
> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
>   at 
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
>   at 
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
>   at 
> org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
>   at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
>   at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
>   at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915)
>   at 
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:804)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>   at 
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:789)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>   at 
> 

[google-appengine] Re: app engine issue for java (using Spring) in production blocking requests

2013-09-11 Thread timh
Have enabled warmup requests, that log shows the instance was started as 
well as trying to process the request.

T

On Saturday, September 7, 2013 8:37:18 AM UTC+8, Jorge Amat wrote:
>
> my website is getting blocked and not working every few time, getting the 
> log I show below. Each time this happens, I have to go to my console, 
> refresh the cache, and change in application settings the Frontend Instance 
> Class from F1 to F2 or F4 to make possible the first loading, and once it´s 
> done, changing back to F1 (which works perfectly after the first request). 
> But after a while, I got again the server error and my website doesn´t work.
>
>
>1.  500 61172ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) 
>AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
>
>109.255.25.214 - - [06/Sep/2013:17:31:03 -0700] "GET /blog HTTP/1.1" 500 0 
> "some url" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/29.0.1547.66 Safari/537.36" "my domain" ms=61172 
> cpu_ms=44941 loading_request=1 exit_code=104 app_engine_release=1.8.4 
> instance=00c61b117c83b77e2f32936923fc83b121bc82 
> 
>
>2. I2013-09-06 17:30:09.228
>
>javax.servlet.ServletContext log: Initializing Spring root 
> WebApplicationContext
>
>3. I2013-09-06 17:30:45.225
>
>javax.servlet.ServletContext log: Initializing Spring FrameworkServlet 
> 'mvc-dispatcher'
>
>4. W2013-09-06 17:31:03.615
>
>Error for /blog
>com.google.apphosting.runtime.HardDeadlineExceededError: This request 
> (df2ff830a97e2023) started at 2013/09/07 00:30:03.406 UTC and was still 
> executing at 2013/09/07 00:31:03.604 UTC.
>   at 
> org.apache.jsp.WEB_002dINF.jsp.error.error_005fdinamic_jsp._jspService(error_005fdinamic_jsp.java:42)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
>   at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>   at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>   at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>   at 
> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
>   at 
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
>   at 
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
>   at 
> org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
>   at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
>   at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
>   at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915)
>   at 
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:804)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>   at 
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:789)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>   at 
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>   at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:90)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.googlecode.objectify.cache.AsyncCacheFilter.doFilter(AsyncCacheFilter.java:59)
>   at 
> com.googlecode.objectify.ObjectifyFilter.doFilter(ObjectifyFilter.java:49)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFi

Re: [google-appengine] Deployment error after upgrading to 1.8.3

2013-09-11 Thread Vinny P
On Wed, Sep 11, 2013 at 3:04 PM, Deepak Singh 
 wrote:

> my project was being deployed successfully. I upgraded to GAE Java 1.8.3
> and since after that i am getting the following error during deployment.
>
> Preparing to deploy:
>  Created staging directory at:
> 'C:\Users\Deepak\AppData\Local\Temp\appcfg9147832672184820845.tmp'
> Scanning for jsp files.
>  Compiling jsp files.
> java.lang.RuntimeException: Cannot get the System Java Compiler. Please
> use a JDK, not a JRE.
>
>

When you upgraded GAE, you probably reset the JDK/JRE path.

Go to Eclipse - Window - Preferences - Java - Installed JREs and make sure
that there is a JDK in the list. If not, delete any JREs in there and add
the JDK through the Add button on the right hand side.


-
-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] Deployment error after upgrading to 1.8.3

2013-09-11 Thread Shilendra Sharma
Thanks vinny for your support..
On Sep 12, 2013 8:29 AM, "Vinny P"  wrote:

> On Wed, Sep 11, 2013 at 3:04 PM, Deepak Singh 
>  wrote:
>
>> my project was being deployed successfully. I upgraded to GAE Java 1.8.3
>> and since after that i am getting the following error during deployment.
>>
>> Preparing to deploy:
>>  Created staging directory at:
>> 'C:\Users\Deepak\AppData\Local\Temp\appcfg9147832672184820845.tmp'
>> Scanning for jsp files.
>>  Compiling jsp files.
>> java.lang.RuntimeException: Cannot get the System Java Compiler. Please
>> use a JDK, not a JRE.
>>
>>
>
> When you upgraded GAE, you probably reset the JDK/JRE path.
>
> Go to Eclipse - Window - Preferences - Java - Installed JREs and make sure
> that there is a JDK in the list. If not, delete any JREs in there and add
> the JDK through the Add button on the right hand side.
>
>
> -
> -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.
>

-- 
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.