Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Web Application deployment errror -- WLS 6.0

2 views
Skip to first unread message

amitk

unread,
Jul 11, 2001, 6:07:54 PM7/11/01
to

I copied the war file on to the applications directory with the following structure:
*.jsp
/Web-inf/web.xml
/Web-inf/weblogic.xml
6.0 refuses to deploy it and gives the following error ?

<Jul 11, 2001 3:41:31 PM CDT> <Error> <Management> <akhare> <myserver> <Application
Manager Thread> <> <> <141013> <Error deploying application from directory .\config\mydomain\applications\firstapp.war
and file java.lang.IllegalStateException: zip file closed>
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.getEntry(ZipFile.java:141)
at java.util.jar.JarFile.getEntry(JarFile.java:181)
at weblogic.utils.jars.VirtualJarFile.getEntry(VirtualJarFile.java:115)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:290)
at weblogic.management.mbeans.custom.Application.load(Application.java:230)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy11.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:547)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:504)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:428)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:380)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:643)
####<Jul 11, 2001 3:41:34 PM CDT> <Error> <Management> <akhare> <myserver> <Application
Manager Thread> <> <> <141013> <Error deploying application from directory .\config\mydomain\applications\firstapp.war
and file java.lang.IllegalStateException: zip file closed>


Melissa J. Turner

unread,
Jul 11, 2001, 9:29:38 PM7/11/01
to
"amitk" <amit...@yahoo.com> wrote in message news:<3b4cc02a$1...@newsgroups.bea.com>...

> I copied the war file on to the applications directory with the following structure:
> *.jsp
> /Web-inf/web.xml
> /Web-inf/weblogic.xml
> 6.0 refuses to deploy it and gives the following error ?
>
> <Jul 11, 2001 3:41:31 PM CDT> <Error> <Management> <akhare> <myserver> <Application
> Manager Thread> <> <> <141013> <Error deploying application from directory .\config\mydomain\applications\firstapp.war
> and file java.lang.IllegalStateException: zip file closed>

I'd be interested in the answer too. I'm trying to deploy
HelloWorldServlet, and I'm getting the same error.

Project structure is:

/WEB-INF/classes/HelloWorldServlet.class
/WEB-INF/web.xml
/WEB-INF/weblogic.xml

all neatly war'ed up.

+Melissa

Melissa J. Turner

unread,
Jul 13, 2001, 9:42:39 PM7/13/01
to
OK. We think we found it, for anyone who ends up finding this thread
on google or wherever.

You need to build the .war by running jar xv0f * from inside the top
level directory of your web application, not from the directory
*containing* your web application.

This has been a public service announcement.

+Melissa

turn...@yahoo.com (Melissa J. Turner) wrote in message news:<1ca7bc25.0107...@posting.google.com>...

0 new messages