Re: [google-appengine] Dynamic Web Projects do not work

2013-12-04 Thread Vinny P
On Tue, Dec 3, 2013 at 6:31 AM, Christopher Ritter <
chris.rit...@specinnovations.com> wrote:

> how do you use modules with the new Web Application option? Is there a
> different way to get modules to work (without building your own ANT script)?
>


 I use the Ant script route, but you should be able to run modules through
Eclipse. Try downloading the Google sample modules application at
https://github.com/GoogleCloudPlatform/appengine-modules-sample-java and
see if it runs for you.


On Tue, Dec 3, 2013 at 6:31 AM, Christopher Ritter <
chris.rit...@specinnovations.com> wrote:

> The appeal behind Dynamic Web Projects and EARs is built in support for
> modules... but unfortunately it doesn't seem to work (At least on Windows 7
> and I noticed all the screenshots were from a MAC)
>


My work machine is a Mac with Mountain Lion, and my home machine runs
Windows 8. The process of configuring Eclipse is pretty similar in both
OSes, with the usual exceptions of environment variables and so forth.


-
-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: Increasing resources for App Engine running ODK Aggregate

2013-12-04 Thread Vinny P
On Tue, Dec 3, 2013 at 8:39 PM, Bob Achgill  wrote:

> W 2013-12-03 15:02:59.057 Error for /formUpload
> com.google.apphosting.runtime.HardDeadlineExceededError: This request
> (9dea7532f733c6cc) started at 2013/12/03 23:01:59.072 UTC
> C 2013-12-03 15:02:59.059 Uncaught exception from servlet
> com.google.apphosting.runtime.HardDeadlineExceededError: This request
> (9dea7532f733c6cc) started at 2013/12/03 23:01:5
> W 2013-12-03 15:02:59.074 A problem was encountered with the process that
> handled this request, causing it to exit. This is likely to cause a new
> process to be used
>


HardDeadlineExceededErrors are generally caused by requests exceeding the
60 second request timer. What type of data are you uploading to this form,
and are you doing any large file uploads? Are you doing any heavy
processing within the request? Try increasing the instance class size (
https://developers.google.com/appengine/docs/adminconsole/performancesettings);
allocating more RAM and processing power to the request might help it
return faster.

You can also try moving */formUpload* to run on a backend instance, which
allows an indefinitely long request timer:
https://developers.google.com/appengine/docs/java/backends/ .


-
-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] Problem running the application (today)

2013-12-04 Thread Cristian Marastoni
Hi,

I started having problem just some minutes ago running my application in 
production environment. 
As soon as the instance start and try to write (I suppose) an entity or 
trying accessing the DB (I'm investigating further) the process is killed. 

This is the log:


   1. 
   
   this request caused a new process to be started for your application, and 
thus caused your application code to be loaded for the first time. This request 
may thus take longer and use more CPU than a typical request for your 
application.
   
   2. W2013-12-04 09:49:03.836
   
   A problem was encountered with the process that handled this request, 
causing it to exit. This is likely to cause a new process to be used for the 
next request to your application. (Error code 121)
   
   

Its like my application is consuming a lot lot of CPU .. but that request 
simply write a entity with two strings in the HRD using ndb.
Google App Engine status says that all the services are up and runnings. No 
scheduled maintenance. 
Anyone else is experiencing similar problem ? 

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


[google-appengine] Re: Problem running the application (today)

2013-12-04 Thread Janusz Skonieczny
Similar problems here


   1. 2013-12-04 13:46:12.031 
   
/SchoolConference/agxzfmR6aWVubmlrZWxyKgsSBlNjaG9vbBi5FwwLEhBTY2hvb2xDb25mZXJlbmNlGICAgIDI5IcKDA/
   500 63143ms 0kb Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 
   (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 module=default 
   version=492
   
   212.91.23.55 - - [04/Dec/2013:04:46:12 -0800] "GET 
/SchoolConference/agxzfmR6aWVubmlrZWxyKgsSBlNjaG9vbBi5FwwLEhBTY2hvb2xDb25mZXJlbmNlGICAgIDI5IcKDA/
 HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36" "dziennikel.appspot.com" 
ms=63144 cpu_ms=27 pending_ms=1934 app_engine_release=1.8.8 
instance=00c61b117cf729f97b10c56c24b7e79fd96a238d 

   
   2. D2013-12-04 13:45:44.820
   
   session.load
   
   3. D2013-12-04 13:45:45.431
   
   request.session: {'_auth_user_email': u'xxx...@gmail.com', 
'USER_LAST_LOGIN': datetime.datetime(2013, 12, 3, 10, 29, 20, 395120), 
'_auth_user_id': ''}
   
   4. D2013-12-04 13:45:45.435
   
   request.HTTP_REFERER: 
https://dziennikel.appspot.com/Schools/agxzfmR6aWVubmlrZWxyDQsSBlNjaG9vbBi5Fww/SchoolConference/
   
   5. D2013-12-04 13:45:52.413
   
   user: User(xxx)
   
   6. D2013-12-04 13:45:52.420
   
   get_user: ...@gmail.com
   
   7. E2013-12-04 13:46:10.522
   
   Exception in request: DeadlineExceededError: 
   Traceback (most recent call last):
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/lib/django.zip/django/core/handlers/base.py",
 line 89, in get_response
   response = middleware_method(request)
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/gcf/middleware.py", 
line 42, in process_request
   prompt_url = reverse('update_browser')
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/lib/django.zip/django/core/urlresolvers.py",
 line 476, in reverse
   return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, 
**kwargs))
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/lib/django.zip/django/core/urlresolvers.py",
 line 363, in _reverse_with_prefix
   possibilities = self.reverse_dict.getlist(lookup_view)
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/lib/django.zip/django/core/urlresolvers.py",
 line 276, in reverse_dict
   self._populate()
 File 
"/base/data/home/apps/s~dziennikel/492.371910163256459705/lib/django.zip/django/core/urlresolvers.py",
 line 258, in _populate
   lookups.appendlist(name, (new_matches, p_pattern + pat, dict(defaults, 
**pattern.default_kwargs)))
   DeadlineExceededError
   
   

W dniu środa, 4 grudnia 2013 11:01:44 UTC+1 użytkownik Cristian Marastoni 
napisał:
>
> Hi,
>
> I started having problem just some minutes ago running my application in 
> production environment. 
> As soon as the instance start and try to write (I suppose) an entity or 
> trying accessing the DB (I'm investigating further) the process is killed. 
>
> This is the log:
>
>
>1. 
>
>this request caused a new process to be started for your application, and 
> thus caused your application code to be loaded for the first time. This 
> request may thus take longer and use more CPU than a typical request for your 
> application.
>
>2. W2013-12-04 09:49:03.836
>
>A problem was encountered with the process that handled this request, 
> causing it to exit. This is likely to cause a new process to be used for the 
> next request to your application. (Error code 121)
>
>
>
> Its like my application is consuming a lot lot of CPU .. but that request 
> simply write a entity with two strings in the HRD using ndb.
> Google App Engine status says that all the services are up and runnings. 
> No scheduled maintenance. 
> Anyone else is experiencing similar problem ? 
>
>

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


[google-appengine] Running Joomla on App Engine

2013-12-04 Thread Gary Mort
Figured I'd post here in case anyone else is trying to install it.  I'm 
hoping to have some time today to finish installing Joomla on App Engine.

https://gist.github.com/garyamort/7758663

My method is including using PHPStorm for deployment and Git and Github for 
downloading the source code.

-- 
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] Mixing PHP and Python in a single App Engine App[seperate instances]

2013-12-04 Thread Gary Mort
I was wondering if there is any problem with mixing python and PHP in a 
single app engine app.

Specifically, my deployment code would include both Python and PHP, using 
the Python code to do some XMPP integration.  So I'd have 2 "versions" of 
the app:

Joomla_Website
XMPP_Comm

With 2 different yaml configuration files - one for the website using the 
PHP engine and one for the XMPP code using python.  I can make the website 
the default version, and embed links to xmpp_comm.myapp.appspot.com in my 
page when in order to link to/use the xmpp functionality.

-- 
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] Unhappy, Down, And Apparently System Thinks I'm Not A Gold Support Member.

2013-12-04 Thread Brandon Wirtz
My AppsForDomains account appears to have gone Poof. 

My support doesn't seem to work anymore as the lovely "To retrieve your
support PIN code:" 

 

To retrieve your support PIN code:

1.   Sign in to the   Cloud Console.

2.   In the left menu, select Projects.

3.   Click the name of your project that has
 Gold or
 Platinum
support under PROJECT NAME.

4.   In the left menu, select Support.

5.   Click on Contact details under the Phone support section.

6.   Your PIN code will be displayed.

 

Results ins "Your support package: Bronze"

 

Despite paying pretty heavy fees to be able to call someone when something
breaks. Left V-mail for my account rep, but THIS is not how things should
work.

-- 
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: Increasing resources for App Engine running ODK Aggregate

2013-12-04 Thread Bob Achgill
I have tried maxing out the front end... but no or not enough help.

I'm not sure how to do what you suggest ... "You can also try moving 
*/formUpload* to run on a backend instance".  It looks Iike what I need to 
do but after looking at the link you provided, I don't know how to do what 
you are saying.

Thanks!
Bob

-- 
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] Mixing PHP and Python in a single App Engine App[seperate instances]

2013-12-04 Thread Brandon Wirtz
Apps that are not the primary app have some weird scaling issues. Use
Modules instead of versions so they can talk to each other. 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Gary Mort
Sent: Wednesday, December 4, 2013 6:20 AM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Mixing PHP and Python in a single App Engine
App[seperate instances]

 

I was wondering if there is any problem with mixing python and PHP in a
single app engine app.

 

Specifically, my deployment code would include both Python and PHP, using
the Python code to do some XMPP integration.  So I'd have 2 "versions" of
the app:

 

Joomla_Website

XMPP_Comm

 

With 2 different yaml configuration files - one for the website using the
PHP engine and one for the XMPP code using python.  I can make the website
the default version, and embed links to xmpp_comm.myapp.appspot.com in my
page when in order to link to/use the xmpp functionality.

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

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


[google-appengine] Re: Unhappy, Down, And Apparently System Thinks I'm Not A Gold Support Member.

2013-12-04 Thread Jose Montes de Oca
Brandon,

You can also reach us by going to 
http://enterprise.google.com/supportcenter and signing in with the Google 
Account set up for support. Inside our Enterprise Support center, we have a 
"Resource" tab which should show your PIN number.

Feel free to create a case or call us to take a closer look into the issue.

Sincerely,
Jose M
Technical Solutions Engineer
Google Cloud Platform

On Wednesday, December 4, 2013 12:24:17 PM UTC-5, Brandon Wirtz wrote:
>
> My AppsForDomains account appears to have gone Poof. 
>
> My support doesn’t seem to work anymore as the lovely “*To retrieve your 
> support PIN code:” *
>
>  
>
> *To retrieve your support PIN code:*
>
> 1.   Sign in to the Cloud Console .
>
> 2.   In the left menu, select *Projects*.
>
> 3.   Click the name of your project that has 
> Gold
>  or Platinum
>  support under *PROJECT NAME*.
>
> 4.   In the left menu, select *Support*.
>
> 5.   Click on *Contact details* under the *Phone support* section.
>
> 6.   Your PIN code will be displayed.
>
>  
>
> Results ins “Your support package: Bronze”
>
>  
>
> Despite paying pretty heavy fees to be able to call someone when something 
> breaks. Left V-mail for my account rep, but THIS is not how things should 
> work.
>

-- 
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: Unhappy, Down, And Apparently System Thinks I'm Not A Gold Support Member.

2013-12-04 Thread Brandon Wirtz
It did not. Show a pin. I spent a LOT of time looking for pins before
remembering I had an email with a phone number that a live human would
answer. But my staff didn't have that email.

 

It is also very frustrating (as are all things AppsForDomains) that we can't
use the same "premiere"  billing that our AppEngine uses we have to manage
it separately.

 

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Jose Montes de Oca
Sent: Wednesday, December 4, 2013 3:09 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: Unhappy, Down, And Apparently System Thinks
I'm Not A Gold Support Member.

 

Brandon,

 

You can also reach us by going to http://enterprise.google.com/supportcenter
and signing in with the Google Account set up for support. Inside our
Enterprise Support center, we have a "Resource" tab which should show your
PIN number.

 

Feel free to create a case or call us to take a closer look into the issue.

 

Sincerely,

Jose M

Technical Solutions Engineer

Google Cloud Platform

On Wednesday, December 4, 2013 12:24:17 PM UTC-5, Brandon Wirtz wrote:

My AppsForDomains account appears to have gone Poof. 

My support doesn't seem to work anymore as the lovely "To retrieve your
support PIN code:" 

 

To retrieve your support PIN code:

1.   Sign in to the   Cloud Console.

2.   In the left menu, select Projects.

3.   Click the name of your project that has
 Gold or
 Platinum
support under PROJECT NAME.

4.   In the left menu, select Support.

5.   Click on Contact details under the Phone support section.

6.   Your PIN code will be displayed.

 

Results ins "Your support package: Bronze"

 

Despite paying pretty heavy fees to be able to call someone when something
breaks. Left V-mail for my account rep, but THIS is not how things should
work.

-- 
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: Increasing resources for App Engine running ODK Aggregate

2013-12-04 Thread Vinny P
On Wed, Dec 4, 2013 at 11:46 AM, Bob Achgill  wrote:

> I have tried maxing out the front end... but no or not enough help.
> I'm not sure how to do what you suggest ... "You can also try moving
> */formUpload* to run on a backend instance".  It looks Iike what I need
> to do but after looking at the link you provided, I don't know how to do
> what you are saying.
>
>

You need to create a backends.xml file in your */war/WEB-INF/* folder and
set up a backend. For example, the following XML sets up a backend named
*worker*:


 
   B2
   1
   
 true
 true
   
 


>From there you can access your application running within a backend
instance at the URL: *worker . (application id) . appspot . com *(ignore
the spaces). Then you can request URLs within your application as normal,
and the requests will be allowed to continue indefinitely.

You can also use the Modules service to run backend instances. Here's some
example code to try out:
https://github.com/GoogleCloudPlatform/appengine-modules-sample-java

With all of that said, a note of caution: this is at best a band-aid fix.
Normally, requests should not be lasting more than 60 seconds, especially
if you're just uploading form data. You may want to profile your app using
AppStats ( https://developers.google.com/appengine/docs/java/tools/appstats)
and see what is taking so long to run.


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