Re: [google-appengine] A quesition about the GAE migration tool

2012-12-17 Thread cc
Thanks for your reply.

At first I thought that this migration tool is just like tool to convert 
the application from Master/Slave mode to HRD mode.

Now I understand it is an tool which create a new HRD application and copy 
the data from the older application and set the older one as an entrance of 
the new app.

I think I will choose to delete the one with the Master/Slave mode and 
create a new app directly. 

I really hope google can allow users to reuse th apps name which was 
deleted before. At present, once you delete an app, you can not use its 
name again.

在 2012年12月18日星期二UTC+8上午1时35分38秒,barryhunter写道:
>
> Once the migration is complete, you can safely delete the old Application. 
> The app doesnt need to exist for the 'alias' to continue to function.* 
>
> In fact you can just disable it too (provided its within the free quota 
> limits) and it will NOT count against your 10 limit. Only active 
> applications count. 
>
>
>
> * In effect its a setting on the new application - saying "this 
> application is also accessible via x" - rather than being a redirect 
> set on the old application. 
>
>
> On Mon, Dec 17, 2012 at 5:27 AM, cc >wrote:
>
>> I see that "Migrate to High Replication" actually make your old 
>> application ID an "alias" for the new one.
>> But we all know Google App Engine only allowed free user creat 10 
>> applications.
>> If I use this migration tool, does it means now I can only have 9 
>> applicaions now ?
>>
>> If it is so, I think it is better to delete the application with 
>> Master/Slave mode and create a new HRD one for me.
>>
>> -- 
>> 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/-/1Ba-hFZRUzcJ.
>> 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" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/sJ7PEZqY-lIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] App Engine Servers - Trusted Tester Sign-up

2012-12-17 Thread Chris Ramsdale
Hey Brandon,

Added you to the TT group and sent you an invite.  Let me know if you don't
get an email.

-- Chris


On Fri, Dec 7, 2012 at 3:05 PM, Brandon Wirtz  wrote:

> We applied. This is our exact use case.
>
> ** **
>
> This would solve many of the limitations we run in to, and save us a lot
> on data store duplication. 
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@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" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Started getting NoIndexError as of 2012-12-11

2012-12-17 Thread timh
Hi Takashi

Here is the 
issue http://code.google.com/p/googleappengine/issues/detail?id=8565

Cheers

Tim

On Tuesday, December 18, 2012 6:28:50 AM UTC+8, Takashi Matsuo (Google) 
wrote:
>
> Hi Tim,
>
> Thanks for reporting. Can you create an issue on our issue tracker with 
> some other information like the actual query your'e executing?
>
> -- Takashi
>
>
> On Sat, Dec 15, 2012 at 4:04 AM, timh >wrote:
>
>> Hi
>>
>> Just a note, as of the   2012-12-11  I started getting the following 
>> error (NDB, threading enabled)  
>>
>> 2012-12-11 16:18:50.011 
>>
>> suspended generator _run_to_list(query.py:921) raised NeedIndexError(no 
>> matching index found.
>> The suggested index for this query is:
>> - kind: Product
>>   properties:
>>   - name: category
>>   - name: brand
>>   - name: name)
>>
>>
>>
>> No changes to code for several months.  It seems as of that date 
>> (2012-12-11), some underlying change to implicit indexes has kicked in. 
>> However this is only logged as a warning so I missed it, and  end users 
>> have only been getting a normal page with error text.
>>
>> Just thought I would mention it and suggest you check logs for warnings 
>> as well as errors ;-)
>>
>> Cheers
>>
>> Tim
>>
>>
>>  -- 
>> 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/-/JpY7HMK8-hUJ.
>> 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.
>>
>
>
>
> -- 
> Takashi Matsuo | Developers Advocate | tma...@google.com 
>
>  

-- 
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/-/xGBFkgwwNqYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Java 7 Runtime - Trusted Tester Sign-up

2012-12-17 Thread Chris Ramsdale
Fellow App Engine Users,

In the 1.7.3 
blogpostwe
mentioned that in an upcoming release we will be upgrading our Java
runtime to Java 7.  Before doing so though, we'd like to get as many
developers as possible test driving this functionality.  If you're
interested, we encourage you to sign
upfor
our trusted tester program.

Cheers!

Chris
Product Manager, Google App Engine

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



[google-appengine] Re: GAE keeps starting new instances causing lots of user facing loading requests

2012-12-17 Thread Francois Masurel
Again starting 5 instances (cf. below) to serve a simple Facebook page 
(https on appspot domain) and one is a user facing request taking 10 
seconds to execute :-(

I would definitely prefer the user waiting 1-2 more seconds (BTW that's 
what the pending latency setting was supposed to do)  than starting a fresh 
new instances and wait from 10 to 20 seconds (in our case) for the new 
instance to be fully initialized.

May be we should be able to manage manually our instances until Google 
fixes the scheduler.




On Monday, December 17, 2012 11:15:57 PM UTC+1, Francois Masurel wrote:
>
> Geez, that's a lot of instances for a few Ctrl+F5 on my home page :-)
>
>
> 
>
>

-- 
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/-/MERw8QeIdN0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] how does a user become an admin?

2012-12-17 Thread Gianni
the admin users are listed in 'Permissions' page
-- Gianni



On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat wrote:

> handlers:
> - url: /admin/.*
>   script: main.app
>   login: admin
>

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



Re: [google-appengine] Started getting NoIndexError as of 2012-12-11

2012-12-17 Thread Takashi Matsuo
Hi Tim,

Thanks for reporting. Can you create an issue on our issue tracker with
some other information like the actual query your'e executing?

-- Takashi


On Sat, Dec 15, 2012 at 4:04 AM, timh  wrote:

> Hi
>
> Just a note, as of the   2012-12-11  I started getting the following error
> (NDB, threading enabled)
>
> 2012-12-11 16:18:50.011
>
> suspended generator _run_to_list(query.py:921) raised NeedIndexError(no 
> matching index found.
> The suggested index for this query is:
> - kind: Product
>   properties:
>   - name: category
>   - name: brand
>   - name: name)
>
>
>
> No changes to code for several months.  It seems as of that date
> (2012-12-11), some underlying change to implicit indexes has kicked in.
> However this is only logged as a warning so I missed it, and  end users
> have only been getting a normal page with error text.
>
> Just thought I would mention it and suggest you check logs for warnings as
> well as errors ;-)
>
> Cheers
>
> Tim
>
>
>  --
> 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/-/JpY7HMK8-hUJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.com

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



[google-appengine] Re: Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Cesium
I fear that Sir Brandon has given us a fair assesment of GAE and GAE support.

The unicorns have left the building.

David


-- 
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/-/zjjqI_yrM5wJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Michael Hermus
It is a real shame that Google isn't better about communicating around 
issues like this. I think GAE is a tremendously powerful platform, but I am 
increasingly worried that it is not a high enough priority within Google. 
The series of recent stability and latency issues are undermining a 
tangible amount faith in the viability of GAE as a solution for many 
business applications.

On Monday, December 17, 2012 2:11:23 PM UTC-5, Francois Masurel wrote:
>
> There have been quite a few messages posted on this list about this 
> problem :
>
>
> https://groups.google.com/forum/#!msg/google-appengine/cJcOrOE4JDc/uKFBbylFOxIJ
> https://groups.google.com/d/msg/google-appengine/8KiXRP-oU5I/Jf5kzcvyIiwJ
> https://groups.google.com/d/msg/google-appengine/NR_oV4znvks/KtkSmVQD2IgJ
> https://groups.google.com/d/msg/google-appengine/_znmrJwFMuM/V2epYOQ19L4J
> https://groups.google.com/d/topic/google-appengine/hg3BH8WOGWA/discussion
> https://groups.google.com/d/topic/google-appengine/UN5oCWkPsaA/discussion
> https://groups.google.com/d/topic/google-appengine/RneC9qDbeRE/discussion
> https://groups.google.com/d/topic/google-appengine/sLZcZoK-A3Y/discussion
>
> Googlers have never answered to most of them.  I don't know what that mean.
>
> Are they quietly trying to kill java on GAE ?  Are they working on a fix ? 
> Impossible to know.
>
> It looks like we won't build a strong business on GAE anytime soon with 
> such user facing latencies.
>
> François
>
> PS:
>
> I definitely think PAAS is the way to go for web and mobile development, 
> so we'll probably see some improved hosting solutions in the near future if 
> it's not already the case (RedHat is working on something with JBoss).
>
>
>
> On Monday, December 17, 2012 4:32:40 PM UTC+1, Cesium wrote:
>>
>> On Dec 16, something changed.
>>
>> Now, instances do not survive more than a couple minutes of inactivity 
>> (no incoming requests).
>>
>> Thus, low traffic applications see long latency since a new instance is 
>> created for the request.
>>
>> This is disastrous for my application (and customers).
>>
>> Can someone please help?
>>
>> Thanks,
>>
>> David
>>
>>

-- 
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/-/xrz010wi2ogJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Failed to deploy to Google App Engine because --use_java7 flag has not been set

2012-12-17 Thread Jarom
Hey, thanks for the answers. I really appreciate it. :-)





On Tuesday, December 18, 2012 6:25:04 AM UTC+10, Joakim wrote:
>
> It is probably better to use a JDK 6 install to make sure you're not using 
> any new classes/methods introduced in 7. The source and target switches 
> don't cover that.
> If you really want to use a JDK 7 install to compile for Java 6, you 
> should compile with -bootclasspath /path/to/jdk1.6.0/lib/rt.jar (in 
> addition to source/target). At that point you've probably got JDK 6 
> installed, and might as well use it.
>
> On Monday, December 17, 2012 7:42:20 PM UTC+1, Ludovic Champenois wrote:
>>
>> With your JDK 7 javac tools (via command line or via Eclipse 
>> configuration for your current javac compiler, you need to use the 2 javac 
>> flags to create Java6 compliant classes:
>>
>> -source 6 - target 6
>>
>> See complete information on the target and source flags at:
>> http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
>>
>>
>>
>>
>> On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:
>>>
>>> How do I use JRE6 for a new web application? I want to create one and 
>>> then migrate my current app into it to make it AppEngine-enabled. It sounds 
>>> like Google won't be including Java7 support until at least next February, 
>>> but I want to release my app before then!
>>>
>>

-- 
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/-/YyDcc-gNJ24J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: GAE keeps starting new instances causing lots of user facing loading requests

2012-12-17 Thread Francois Masurel


Geez, that's a lot of instances for a few Ctrl+F5 on my home page :-)



-- 
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/-/QuccEX_dj58J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Sub Thread: Google's Conflicting Objectives.

2012-12-17 Thread Kristopher Giesing
Issues like this seem to plague low traffic projects much more than high 
traffic ones:

https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/icdr3dcuoew

However, it's possible this is specific to the Java implementation.

On Sunday, November 25, 2012 4:41:19 PM UTC-8, Brandon Thomson wrote:
>
>
> GAE's technology doesn't scale down to small projects
>>
>
> I don't agree with this. I run several small projects on GAE, some for 
> free. There are limitations, but if you work within them it is an excellent 
> platform for small projects.
>

-- 
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/-/bGe5ttKwd0MJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] how does a user become an admin?

2012-12-17 Thread Emmanuel Mayssat
I downloaded an Google AppEngine from GitHub.
In the app.yml, I see directives like:

handlers:
- url: /admin/.*
  script: main.app
  login: admin

What is required for a user to be considered admin?

-- 
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/-/hEIXk_oVWUQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Using AWS APIs in an application that runs in Google App Engine

2012-12-17 Thread Shilendra Sharma
Hello Prachi

You cannot use Threads in GAE. Here is a list of things you cannot do
in GAE
:

If you want to do something asynchronously, look into TaskQueues.

Thanks,
Shilendra





On Mon, Dec 17, 2012 at 11:36 PM, Prachi Deodhar
wrote:

> I am new to Google App Engine. I am trying to call Amazon's CloudWatch
> service using its Java SDKs. I am planning to run this App in Google App
> Engine. However at the time of instantiating my AmazonCloudWatchClient in
> my code I get the following exception.
>
> access denied (java.lang.RuntimePermission modifyThreadGroup)
> Caused by:
> java.security.AccessControlException: access denied 
> (java.lang.RuntimePermission modifyThreadGroup)
> at 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
> at 
> java.security.AccessController.checkPermission(AccessController.java:549)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at 
> com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
> at 
> com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkAccess(DevAppServerFactory.java:314)
> at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:299)
> at java.lang.Thread.init(Thread.java:336)
> at java.lang.Thread.(Thread.java:472)
> at 
> com.amazonaws.http.IdleConnectionReaper.(IdleConnectionReaper.java:56)
> at 
> com.amazonaws.http.IdleConnectionReaper.registerConnectionManager(IdleConnectionReaper.java:62)
> at 
> com.amazonaws.http.ConnectionManagerFactory.createThreadSafeClientConnManager(ConnectionManagerFactory.java:30)
> at 
> com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:88)
> at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.java:111)
> at 
> com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:60)
> at 
> com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.(AmazonCloudWatchClient.java:165)
> at 
> com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.(AmazonCloudWatchClient.java:146)
> at 
> com.ea.tnt.cloudbilling.BillingDataRetriever.retrieveData(BillingDataRetriever.java:77)
>
>  --
> 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/-/1qCMdjlMYxMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@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" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Failed to deploy to Google App Engine because --use_java7 flag has not been set

2012-12-17 Thread Joakim
It is probably better to use a JDK 6 install to make sure you're not using 
any new classes/methods introduced in 7. The source and target switches 
don't cover that.
If you really want to use a JDK 7 install to compile for Java 6, you should 
compile with -bootclasspath /path/to/jdk1.6.0/lib/rt.jar (in addition to 
source/target). At that point you've probably got JDK 6 installed, and 
might as well use it.

On Monday, December 17, 2012 7:42:20 PM UTC+1, Ludovic Champenois wrote:
>
> With your JDK 7 javac tools (via command line or via Eclipse configuration 
> for your current javac compiler, you need to use the 2 javac flags to 
> create Java6 compliant classes:
>
> -source 6 - target 6
>
> See complete information on the target and source flags at:
> http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
>
>
>
>
> On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:
>>
>> How do I use JRE6 for a new web application? I want to create one and 
>> then migrate my current app into it to make it AppEngine-enabled. It sounds 
>> like Google won't be including Java7 support until at least next February, 
>> but I want to release my app before then!
>>
>

-- 
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/-/xvafBP3vuH8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Business apps url to google apps url

2012-12-17 Thread Barry Hunter
https://developers.google.com/appengine/docs/domain


On Mon, Dec 17, 2012 at 7:18 PM,  wrote:

> I have a google account for my organization xyz.org. I created a web site
> using google appengine, and the url for that is xyz_org.appspot.com. I
> want people to go to http://xyz.org and hit the xyz_org.appspot.com site.
> How do I redirect them there? I signed up to have the domain name managed
> by godaddy.
>
> --
> 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/-/WgxcLPLKAWgJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@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" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Business apps url to google apps url

2012-12-17 Thread pete . douma
I have a google account for my organization xyz.org. I created a web site 
using google appengine, and the url for that is xyz_org.appspot.com. I want 
people to go to http://xyz.org and hit the xyz_org.appspot.com site. How do 
I redirect them there? I signed up to have the domain name managed by 
godaddy.

-- 
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/-/WgxcLPLKAWgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Using AWS APIs in an application that runs in Google App Engine

2012-12-17 Thread Prachi Deodhar


I am new to Google App Engine. I am trying to call Amazon's CloudWatch 
service using its Java SDKs. I am planning to run this App in Google App 
Engine. However at the time of instantiating my AmazonCloudWatchClient in 
my code I get the following exception.

access denied (java.lang.RuntimePermission modifyThreadGroup)
Caused by:
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission modifyThreadGroup)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
at java.security.AccessController.checkPermission(AccessController.java:549)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkAccess(DevAppServerFactory.java:314)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:299)
at java.lang.Thread.init(Thread.java:336)
at java.lang.Thread.(Thread.java:472)
at 
com.amazonaws.http.IdleConnectionReaper.(IdleConnectionReaper.java:56)
at 
com.amazonaws.http.IdleConnectionReaper.registerConnectionManager(IdleConnectionReaper.java:62)
at 
com.amazonaws.http.ConnectionManagerFactory.createThreadSafeClientConnManager(ConnectionManagerFactory.java:30)
at 
com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:88)
at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.java:111)
at 
com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:60)
at 
com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.(AmazonCloudWatchClient.java:165)
at 
com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.(AmazonCloudWatchClient.java:146)
at 
com.ea.tnt.cloudbilling.BillingDataRetriever.retrieveData(BillingDataRetriever.java:77)

-- 
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/-/1qCMdjlMYxMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: System reset 8 hours ago. Instances now being shutdown after 2 mins of no requests.

2012-12-17 Thread Francois Masurel
You are not alone, check my post here 
: https://groups.google.com/d/msg/google-appengine/icdr3dcuoew/L9lsEzuydt4J

François



On Monday, December 17, 2012 3:59:41 AM UTC+1, Cesium wrote:
>
> Ok,
> Now the long lived instance is gone.
>
> New instances are living no longer than a couple minutes.
>
> This is really bad.
>
> David
>
>

-- 
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/-/IzAFJ4p_B5kJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Francois Masurel
There have been quite a few messages posted on this list about this problem 
:

https://groups.google.com/forum/#!msg/google-appengine/cJcOrOE4JDc/uKFBbylFOxIJ
https://groups.google.com/d/msg/google-appengine/8KiXRP-oU5I/Jf5kzcvyIiwJ
https://groups.google.com/d/msg/google-appengine/NR_oV4znvks/KtkSmVQD2IgJ
https://groups.google.com/d/msg/google-appengine/_znmrJwFMuM/V2epYOQ19L4J
https://groups.google.com/d/topic/google-appengine/hg3BH8WOGWA/discussion
https://groups.google.com/d/topic/google-appengine/UN5oCWkPsaA/discussion
https://groups.google.com/d/topic/google-appengine/RneC9qDbeRE/discussion
https://groups.google.com/d/topic/google-appengine/sLZcZoK-A3Y/discussion

Googlers have never answered to most of them.  I don't know what that mean.

Are they quietly trying to kill java on GAE ?  Are they working on a fix ? 
Impossible to know.

It looks like we won't build a strong business on GAE anytime soon with 
such user facing latencies.

François

PS:

I definitely think PAAS is the way to go for web and mobile development, so 
we'll probably see some improved hosting solutions in the near future if 
it's not already the case (RedHat is working on something with JBoss).



On Monday, December 17, 2012 4:32:40 PM UTC+1, Cesium wrote:
>
> On Dec 16, something changed.
>
> Now, instances do not survive more than a couple minutes of inactivity (no 
> incoming requests).
>
> Thus, low traffic applications see long latency since a new instance is 
> created for the request.
>
> This is disastrous for my application (and customers).
>
> Can someone please help?
>
> Thanks,
>
> David
>
>

-- 
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/-/L9lsEzuydt4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Failed to deploy to Google App Engine because --use_java7 flag has not been set

2012-12-17 Thread Ludovic Champenois
With your JDK 7 javac tools (via command line or via Eclipse configuration 
for your current javac compiler, you need to use the 2 javac flags to 
create Java6 compliant classes:

-source 6 - target 6

See complete information on the target and source flags at:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html




On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:
>
> How do I use JRE6 for a new web application? I want to create one and then 
> migrate my current app into it to make it AppEngine-enabled. It sounds like 
> Google won't be including Java7 support until at least next February, but I 
> want to release my app before then!
>

-- 
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/-/K3dM7-2dmAsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Application Error:7 on fetching a blob

2012-12-17 Thread John Kelvie
Hi Takashi, thanks for following up with me.

I added an issue. It can be found here:
http://code.google.com/p/googleappengine/issues/detail?id=8562

-John

On Dec 13, 2012, at 3:10 PM, Takashi Matsuo  wrote:

> Hi John,
> 
> Can you file an issue with your app-id on our issue tracker?
> http://code.google.com/p/googleappengine/issues/list
> 
> Thanks,
> 
> 
> On Wed, Dec 12, 2012 at 7:53 AM, John Kelvie  wrote:
> For some of our blob records, we get an IOException with a message inside it 
> that says: 
> Application Error: 7 
> 
> One of the blob keys that gives us such an error is:
> AMIfv96vxNxA10-vNHUOnLpRnIzRqkBO-A8jtIzAn2N7FrIw9gFeu1A7lQm0OwXK41O1Ybn-7yJfWn5JCl7A6bTOtuodFJfizJx2BDKPETn2NDzCHyvFwbv7lQA8CFv4NDt6oyUyIfgmHWrTr3Jj4wiLQeNvAATaxg
> 
> Newer blobs that we have created (i.e., ones we have created today) seem to 
> be working. The ones that are not working are from yesterday, though not ALL 
> are failing from yesterday.
> 
> Any help with this is much appreciated.
> 
> The full stack trace is:
> Caused by: java.io.IOException
>   at 
> com.google.appengine.api.files.FileServiceImpl.translateException(FileServiceImpl.java:615)
>   at 
> com.google.appengine.api.files.FileServiceImpl.makeSyncCall(FileServiceImpl.java:588)
>   at 
> com.google.appengine.api.files.FileServiceImpl.open(FileServiceImpl.java:521)
>   at 
> com.google.appengine.api.files.FileServiceImpl.openForRead(FileServiceImpl.java:481)
>   at 
> com.google.appengine.api.files.FileServiceImpl.openForRead(FileServiceImpl.java:473)
>   at 
> com.google.appengine.api.files.FileServiceImpl.openReadChannel(FileServiceImpl.java:197)
>   at 
> dwinq.common.service.GAEBlobManager.hydrateBlobImpl(GAEBlobManager.java:61)
>   ... 37 more
> Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: 
> ApplicationError: 7: 
>   at java.lang.Thread.getStackTrace(Thread.java:1495)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl.doSyncCall(ApiProxyImpl.java:240)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl.access$000(ApiProxyImpl.java:66)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:183)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:180)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:180)
>   at 
> com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:66)
>   at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:107)
>   at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:56)
>   at 
> com.google.appengine.api.files.FileServiceImpl.makeSyncCall(FileServiceImpl.java:584)
>   ... 42 more
> Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: 
> ApplicationError: 7: 
>   at 
> com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.failure(ApiProxyImpl.java:558)
>   at 
> com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:783)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:461)
>   at com.google.tracing.TraceContext.runInContext(TraceContext.java:703)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:338)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:330)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:458)
>   at 
> com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:823)
>   at 
> com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.failure(RpcStub.java:814)
>   at 
> com.google.net.rpc3.impl.client.RpcClientInternalContext.runCallbacks(RpcClientInternalContext.java:900)
>   at 
> com.google.net.rpc3.impl.client.RpcClientInternalContext.finishRpcAndNotifyApp(RpcClientInternalContext.java:803)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel.afterFinishingActiveRpc(RpcNetChannel.java:1092)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel.finishRpc(RpcNetChannel.java:940)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel.handleResponse(RpcNetChannel.java:2300)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel.messageReceived(RpcNetChannel.java:2101)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel.access$2100(RpcNetChannel.java:145)
>   at 
> com.google.net.rpc3.impl.client.RpcNetChannel$TransportCallback.receivedMessage(RpcNetChannel.java:3171)
>   at 
> com.google.net.rpc3.impl.client.RpcChannelTransportData$TransportCallback.receivedMessage(RpcChannelTransportData.java:614)
>   at 
> com.google.net.rpc3.impl.wire.RpcBaseTransport.receivedMessage(RpcBaseTransport.java:417)
>   at 
> com.google.apphosting.runtime.udrpc.UdrpcTransport$Client

[google-appengine] Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Cesium
On Dec 16, something changed.

Now, instances do not survive more than a couple minutes of inactivity (no 
incoming requests).

Thus, low traffic applications see long latency since a new instance is created 
for the request.

This is disastrous for my application (and customers).

Can someone please help?

Thanks,

David

-- 
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/-/8odI8O1oIHQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Java Resource Files: Classpath Problem

2012-12-17 Thread Joakim
As the App Engine documentation notes, you can use many of the file access 
facilities of the Java API.
The methods java.lang.Class.getResource(?:AsStream)? and 
java.lang.ClassLoader.getResource(?:AsStream)? are special cases. While the 
documentation for Class.getResourceAsStream is quite somewhat convoluted, 
it is only logical that it searches relative to the .class file you used:
> InputStream stream = MyClass.class.getResourceAsStream("myFile");
This is true of all Java environments.
To access files outside the classpath, I suggest using the java.io family 
of classes.

On Monday, December 17, 2012 3:57:12 AM UTC+1, Michael Hermus wrote:
>
> Hi,
>
> I have a .txt file which I need to load as Resource using 
> getResourceAsStream(). The docs (
> https://developers.google.com/appengine/kb/java) say:
>
> It is possible to read from a file which is uploaded as part of your 
>> application provided that it is in the following locations:
>>
>>- war/WEB-INF
>>- in a location matching the  pattern in 
>>appengine-web.xml (which by default includes everything)
>>
>>
> I have no  entry (so it should use the default), and I put 
> this file in both the war/WEB-INF directory AND the war root directory: 
> AppEngine CANNOT load the resource. However, if I put the file in 
> war/WEB-INF/classes, the system CAN load the resource. I spent way too much 
> time trying to get this to work; perhaps I misunderstand something, but if 
> not, please update the docs, or make this work as documented. 
>
> Mike
>

-- 
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/-/Ea8lNIx-B8UJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Google App Engine SDK 1.7.4 is out

2012-12-17 Thread Ales Justin
"DISTINCT for Datastore queries is now available as an experimental feature.
"

Any docs on how this can be used?
(I mean, apart from simple / obvious usages - e.g. "select distinct u.email 
from User u")

-Ales

-- 
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/-/1pY1_DakBe4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Question about "Using Concurrent Requests (Python 2.7)"

2012-12-17 Thread brave yao
Hi PK,

OK. There are two instanses in dashboard. 
Version:5 ah-builtin-python-bundle   
Total number of instancesAverage QPS*Average Latency*Average Memory2 total
0.000Unknown ms24.6 MBytes*Instances *[image: 
help]
QPS*Latency*RequestsErrorsAgeMemoryLogsAvailabilityShutdown0..0 ms690
1:06:3824.2 MBytesView 
Logs[image:
 
Dynamic Icon]Dynamic0..0 ms274204:09:1125.0 MBytesView 
Logs[image:
 
Dynamic Icon]Dynamic


I don't understand why there would be 2 instances. The one with Age 4:09:11 
is the expected one, which I deployed this morning. I have no idea why 
there is a 1-hour-age instance. I didn't touch it since 4 hours ago(from 
Admin logs, there is no other operation too.).

But anyway it doesn't matter. Even with one instance, I can see two 
requests arriving concurrently. I suppose if the previous request didn't 
return, AppEngine wouldn't send the next request. Is that true? Below log 
is one example:

2012-12-12 00:44:26.114 /_ah/channel/disconnected/ 200 1212ms 0kb
I 2012-12-12 00:44:24.992 Deleted the saved message for 62521007/40633129
I 2012-12-12 00:44:26.078 User 40633129 removed from room 62521007
I 2012-12-12 00:44:26.078 Room 62521007 has state [75621126-True]
I 2012-12-12 00:44:26.113 Sent BYE to 75621126
W 2012-12-12 00:44:26.113 User 40633129 disconnected from room 62521007

2012-12-12 00:44:25.101 /message?r=62521007&u=40633129 200 243ms 0kb 
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) 
Chrome/25.0.1357.0 Safari/537.21
I 2012-12-12 00:44:24.980 Deleted the saved message for 62521007/40633129
I 2012-12-12 00:44:25.064 User 40633129 quit from room 62521007
I 2012-12-12 00:44:25.065 Room 62521007 has state [75621126-True]
I 2012-12-12 00:44:25.100 Delivered message to user 75621126

The message and /disconnect are processed within overlapped period by the 
same instance. So is this a problem?
I'm not sure whether the DB processing would have any impact or not, which 
might take dozens of milliseconds in each handler. 

Thanks!
/Brave

On Monday, December 17, 2012 3:00:51 PM UTC+8, PK wrote:
>
> The instances I mean are the ones reported in the dashboard. With 
> threadsafe set to false, each instance will run only one Request handler at 
> a time BUT multiple instances can run simultaneously. Click Instances and 
> then look at the log of each instance to see what it is doing.
>
> On Dec 16, 2012, at 10:52 PM, brave yao > 
> wrote:
>
> Hi PK,
>
> What's the 'instances' you mean here? 
> Take my app as example:
>
> app = webapp2.WSGIApplication([
> ('/', MainPage),
> ('/message', MessagePage),
> ('/_ah/channel/connected/', ConnectPage),
> ('/_ah/channel/disconnected/', DisconnectPage)
>   ], debug=True) 
> Do you mean each RequestHandler class is an instance and requests could be 
> passed concurrently to i.e. MessagePage and ConnectPage?
>
> Thanks!
> /Brave
>
> On Wednesday, December 12, 2012 5:16:11 PM UTC+8, PK wrote:
>>
>> Hi Brave,
>>
>> Even if you set threadsafe to false requests can still be handled in 
>> parallel by different instances. If you set it to true more than one 
>> requests can be handled in parallel by the same instance, as well. 
>>
>> PK
>>
>> On Dec 12, 2012, at 12:43 AM, brave yao  wrote:
>>
>> Hi, 
>> The GAE doc says "By default, App Engine sends requests serially to a 
>> given web server. If you are using the Python 2.7 runtime, you can 
>> configure App Engine to send multiple, parallel requests by adding the 
>> threadsafe: 
>> true element to the header of app.yaml.". How should I understand this 
>> statement?
>> In fact I define 'threadsafe: false' in my app.yaml. But still I can see 
>> requests are routed to my handlers at same time. I suppose with 
>> 'threadsafe: false', no other request won't be sent into my server before 
>> current handler returns. Is this understanding correct?
>> Is this a bug or I miss something here?
>>
>> PS: the codes locate here: 
>> https://code.google.com/p/webrtc-samples/source/browse/trunk/apprtc/
>>
>> Thanks!
>>
>> /Brave
>>
>> -- 
>> 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/-/q0sEgcGSLqgJ.
>> 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 opti