• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[SOLVED] Is the war compression idempotent?

 
Marco Zanini
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all, I want to deploy an application on google app engine (is openAM) but I have a WAR file of the app. You cannot deploy war files on GAE so I just decompressed the war and then tried to upload the directory. At this point the google uploader finds many errors in the application when it compiles jsp files, it seems a bit strange to me since it is supposed to be a stable release. That's why I was wondering if you can do a thing like that, is the war file just a compressed version of the project directory or it has something different?

Sorry for the long message.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A war file is just a zipped up version of the folder structure of the web app.
 
Marco Zanini
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, really fast! So I am wondering why it doesn't succeeds, sometimes the error is for a file missing, sometimes for a wrong method call. Maybe when you upload a war the server isn't supposed to do all the checks that the GAE upoader does (for example check if all the jsp files can be compiled).
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deploy in Tomcat which performs no checks at all.
 
Marco Zanini
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes but I have to use Google App Engine. Thanks anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic