This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot load web app, zip file closed exception

 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am unable to load my webapp. The error message is:

FAIL - Encountered exception java.io.IOException: java.lang.IllegalArgumentException: java.lang.IllegalStateException: zip file closed

Tomcat: 4.1.30
JVM: 1.4.2-b28
OS: AS/400 version: V5R2M0

Any help is appreciated.
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you "packaging" your web application as a zip file?

If not mistaken all JSP/Servlet web applications are to be packaged as a WAR(web archive) file not a zip archive.

You can use the "jar" command to archive your web application.

jar -cvf <web_appl_name>.war *
 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is being deployed as a war file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic