aspose file tools
The moose likes Servlets and the fly likes [SOLVED] Is the war compression idempotent? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 56168
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56168
    
  13

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?
 
Similar Threads
Can we deploy multiple application on JBoss at the same time?
Help with deploying/configuration
Installing Jforum in JBoss
Extracting jar file contents to JBOSS tmp directory
Multiple .War files on Tomcat container