GAE deployment issues in precompilation step

543 views
Skip to first unread message

Kesava Neeli

unread,
Oct 17, 2012, 2:13:40 PM10/17/12
to google-a...@googlegroups.com
Hi,

Last couple of days, GAE deployments are very slow and most times they timeout. It gets stuck in "Initializing precompilation" step and it takes forever. Anyone noticing similar issues? It's affecting our development a lot.

Thanks
Neeli

Kesava Neeli

unread,
Oct 17, 2012, 2:57:09 PM10/17/12
to google-a...@googlegroups.com
Just to confirm, our app is a "java" app. We are using older version of SDK but I guess that shouldn't cause deployment issues. The logs attached below. This started couple of days ago and getting worse for deploying java apps.

The docs say

App Engine uses a "precompilation" process with the Java bytecode of an app to enhance the performance of the app in the Java runtime environment. Precompiled code functions identically to the original bytecode.

If for some reason you prefer that your app not use precompilation, you can turn it off by adding the following to your appengine-web.xml file:

But we wish to have pre-compilation step for performance reasons. Anyone from GAE team can help?

Your SDK:
Release: 1.6.6
Timestamp: Wed May 16 14:13:34 PDT 2012
API versions: [1.0]

-----------
Please visit http://code.google.com/appengine for the latest SDK.
********************************************************
Reading application configuration data...
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed war/WEB-INF/appengine-web.xml
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/web.xml
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/cron.xml
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/queue.xml
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/datastore-indexes.xml
Oct 17, 2012 11:37:02 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/backends.xml
Beginning server interaction for agent8-backend-staging...
Password for XX...@XXX.com: 0% Created staging directory at: '/tmp/appcfg6781554558242326126.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Scanned 250 files.
28% Initiating update.
31% Cloning 5 static files.
33% Cloning 415 application files.
34% Cloned 100 files.
35% Cloned 200 files.
36% Cloned 300 files.
37% Cloned 400 files.
40% Uploading 116 files.
52% Uploaded 29 files.
61% Uploaded 58 files.
68% Uploaded 87 files.
73% Sending batch containing 100 file(s) totaling 862KB.
77% Uploaded 116 files.
80% Initializing precompilation...
82% Precompiling... 260 file(s) left.
84% Precompiling... 210 file(s) left.
85% Precompiling... 161 file(s) left.
86% Precompiling... 127 file(s) left.
87% Precompiling... 127 file(s) left.
87% Precompiling... 80 file(s) left.
87% Precompiling... 80 file(s) left.

Takashi Matsuo

unread,
Oct 18, 2012, 3:00:40 AM10/18/12
to google-a...@googlegroups.com
Hi Neeli,

What is your app-id?


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

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

sony

unread,
Oct 18, 2012, 10:06:14 AM10/18/12
to google-a...@googlegroups.com
Hi,

I am also facing the exact same problem right now:

Before I had the following output:

73% Uploaded 4 files.
77% Initializing precompilation...
80% Precompiling... 17 file(s) left.
82% Precompiling... 16 file(s) left.
84% Precompiling... 12 file(s) left.
85% Precompiling... 6 file(s) left.
86% Precompiling... 4 file(s) left.
87% Precompiling... 3 file(s) left.
87% Precompiling... 2 file(s) left.
87% Precompiling... 1 file(s) left.

90% Deploying new version.

Now, for the same app, with no changes in the code, I have:

77% Initializing precompilation...
80% Precompiling... 164 file(s) left.
82% Precompiling... 116 file(s) left.
84% Precompiling... 116 file(s) left.
85% Precompiling... 68 file(s) left.
86% Precompiling... 67 file(s) left.
87% Precompiling... 67 file(s) left.
87% Precompiling... 67 file(s) left.
87% Precompiling... 67 file(s) left.
87%  on backend null.

Error Details:
Oct 18, 2012 4:05:04 PM org.apache.jasper.JspC processFile
(...)
java.io.IOException: Precompilation failed with 67 file(s) remaining.  Consider adding <precompilation-enabled>false</precompilation-enabled> to your appengine-web.xml and trying again.
Unable to update app: Precompilation failed with 67 file(s) remaining.  Consider adding <precompilation-enabled>false</precompilation-enabled> to your appengine-web.xml and trying again.
Reply all
Reply to author
Forward
0 new messages