Re: [google-appengine] JSP Compilation takes more than 1 hr

86 views
Skip to first unread message

Shilendra Sharma

unread,
Dec 29, 2012, 2:54:55 PM12/29/12
to google-a...@googlegroups.com
May Be Your Application have more jsp fine that's why it takes

Thanks,
Shilendra





On Sat, Dec 29, 2012 at 10:08 PM, Jitendra Gupta <jitend...@gmail.com> wrote:
Hi,

I used google app engine for my one application, its on High Replication storage scheme. When same application was on master/slave it took normal time to compile jsp pages
but now it takes more than 1 hr.

Reading application configuration data...
29 Dec, 2012 8:23:41 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /usr/local/apache-tomcat-6.0.28/webapps/sample-paper/WEB-INF/appengine-web.xml
29 Dec, 2012 8:23:41 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /usr/local/apache-tomcat-6.0.28/webapps/sample-paper/WEB-INF/web.xml
Beginning server interaction for tech-course...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.
29 Dec, 2012 9:42:55 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /tmp/appcfg5287499496253305068.tmp/WEB-INF/web.xml

Can any one help me, why it takes so long time to compile jsp.

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

Michael Hermus

unread,
Dec 29, 2012, 3:14:35 PM12/29/12
to google-a...@googlegroups.com
I have also recently noticed a huge spike in JSP compilation time. There is definitely something going in the GAE java production environment (for some customers at least).

Ludovic Champenois

unread,
Dec 29, 2012, 6:41:58 PM12/29/12
to google-a...@googlegroups.com
Hi,
Sorry to hear about the regression.
JSP compilation is done on your local development machine and has nothing to do with production environment or the fact that the application is using master/slave or HRD.

A few questions:
1/ are you using GAE SDK 1.7.4 version where we modified the way JSP compilation is done (and improved a lot performance for the JSP compiler)?
2/ if not, please use upgrade to the SDK 1.7.4.
3/ if you are in fact using the SDK 1.7.4, we would love to understand why suddenly your compilation time has increased...If you could share some details about which JDK you are using, how many tag libs you have, the number of JSPs, how many libs do you have in web-inf/lib? If you could share more info about the application, we can certainly address the issue you are facing,

Thanks,

Jitendra Gupta

unread,
Jan 2, 2013, 2:44:39 PM1/2/13
to google-a...@googlegroups.com
Hi,

Thanks a lot.
I have updated GAE SDK   to GAE SDK 1.7.4 version. Now JSP compilation takes normal time, its really very fast.

Thanks,
Jeet

Ludovic Champenois

unread,
Jan 2, 2013, 3:09:54 PM1/2/13
to google-a...@googlegroups.com
Awesome!
Thanks for sharing. Yes, in fact we've improved a lot the JSP compilation in 1.7.4.

Ludo

Johan Euphrosine

unread,
Jan 2, 2013, 5:44:06 PM1/2/13
to Google App Engine .
Hi Jitendra,

Which version of the Java SDK are you using?


On Sat, Dec 29, 2012 at 8:38 AM, Jitendra Gupta <jitend...@gmail.com> wrote:
Hi,

I used google app engine for my one application, its on High Replication storage scheme. When same application was on master/slave it took normal time to compile jsp pages
but now it takes more than 1 hr.

Reading application configuration data...
29 Dec, 2012 8:23:41 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /usr/local/apache-tomcat-6.0.28/webapps/sample-paper/WEB-INF/appengine-web.xml
29 Dec, 2012 8:23:41 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /usr/local/apache-tomcat-6.0.28/webapps/sample-paper/WEB-INF/web.xml
Beginning server interaction for tech-course...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.
29 Dec, 2012 9:42:55 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /tmp/appcfg5287499496253305068.tmp/WEB-INF/web.xml

Can any one help me, why it takes so long time to compile jsp.

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



--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

Michael Hermus

unread,
Jan 3, 2013, 3:52:24 PM1/3/13
to google-a...@googlegroups.com
Hi,

Thanks for your reply. Sorry, I thought that the pre-compilation step that occurs during Eclipse deployment (not the first JSP compile) was in the server environment. I am using 1.7.2, and have been using it since release. The precompile step starting taking much longer after 1.7.4 was released, but it wasn't completely consistent and it seems to be back closer to normal now. I plan on upgrading to 1.7.4 soon.

Regards,
Mike
Reply all
Reply to author
Forward
0 new messages