A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
Tomcat
Author
cannot load web app, zip file closed exception
Samuel Cox
Ranch Hand
Joined: Nov 16, 2004
Posts: 96
I like...
posted
Apr 11, 2005 07:56:00
0
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
Joined: Mar 19, 2002
Posts: 405
posted
Apr 11, 2005 09:07:00
0
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
Joined: Nov 16, 2004
Posts: 96
I like...
posted
Apr 11, 2005 09:12:00
0
It is being deployed as a war file.
I agree. Here's the link:
http://aspose.com/file-tools
subject: cannot load web app, zip file closed exception
Similar Threads
how to do ftp in java
Apache Tomcat - JDBC error
Problem with Objectuinputstream
excutable jar & manifest question
ClassNotFound Exception using JWSDK for JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter