File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes [SOLVED] Is the war compression idempotent? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "[SOLVED] Is the war compression idempotent?" Watch "[SOLVED] Is the war compression idempotent?" New topic
Author

[SOLVED] Is the war compression idempotent?

Marco Zanini
Ranch Hand

Joined: Oct 31, 2011
Posts: 43
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

Joined: Jan 10, 2002
Posts: 61206
    
  66

A war file is just a zipped up version of the folder structure of the web app.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Marco Zanini
Ranch Hand

Joined: Oct 31, 2011
Posts: 43
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

Joined: Jan 10, 2002
Posts: 61206
    
  66

I deploy in Tomcat which performs no checks at all.
Marco Zanini
Ranch Hand

Joined: Oct 31, 2011
Posts: 43
Yes but I have to use Google App Engine. Thanks anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [SOLVED] Is the war compression idempotent?