war size too large (exceeding 32M)

47 views
Skip to first unread message

Kent Tong

unread,
May 6, 2017, 1:24:38 AM5/6/17
to Google App Engine

Hi,

Just the empty webapp created from the Google App Engine archetype creates a war file of 43M. When I upload it, it will give an error saying that it is larger than 32M. Is there anything fundamentally wrong here?

Thanks in advance for any help!

Adam (Cloud Platform Support)

unread,
May 6, 2017, 4:31:25 PM5/6/17
to google-a...@googlegroups.com
What is the specific name of the archetype you're using, and how are you building and deploying? None of the archetypes from com.google.appengine.archetypes have files anywhere near that size.

Are you perhaps trying to upload your entire app's WAR as a single static file?

Kent Tong

unread,
May 6, 2017, 10:48:10 PM5/6/17
to Google App Engine
Thanks for the reply!

On Sunday, May 7, 2017 at 4:31:25 AM UTC+8, Adam (Cloud Platform Support) wrote:
What is the specific name of the archetype you're using, and how are you building and deploying? None of the archetypes from com.google.appengine.archetypes have files anywhere near that size.

I used the "skeleton-archetype". 

Are you perhaps trying to upload your entire app's WAR as a single static file?


What do you mean? I was trying to update the webapp with "mvn appengine:update".

Adam (Cloud Platform Support)

unread,
May 7, 2017, 3:27:05 PM5/7/17
to Google App Engine
The archetype called 'skeleton-archetype' hasn't been updated since App Engine 1.7.5 circa 2013. Use the 'appengine-skeleton-archetype' or one of the other archetypes listed in the documentation.
Reply all
Reply to author
Forward
0 new messages