Discussions

EJB programming & troubleshooting: I am having problems in deploying an EJB Application

  1. Hi All

    I m fiding these errors , when deploying sss application through sss.ear file..................

    <Oct 6, 2002 2:09:55 PM IST> <Notice> <WebLogicServer> <Started WebLogic Admin S
    erver "myserver" for domain "mydomain" running in Production Mode>
    <Oct 6, 2002 2:11:58 PM IST> <Error> <Management> <IOException opening applicati
    on mydomain:Name=sss,Type=Application, loading from path .\config\mydomain\appli
    cations\sss.ear
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:110)
            at java.util.jar.JarFile.<init>(JarFile.java:115)
            at java.util.jar.JarFile.<init>(JarFile.java:82)
            at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
            at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:465)
            at weblogic.management.mbeans.custom.Application.load(Application.java:3
    85)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:606)
            at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:590)
            at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:350)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
            at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
            at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
            at $Proxy58.load(Unknown Source)
            at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
    pplicationManager.java:907)
            at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
    pplicationManager.java:852)
            at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
    Manager.java:768)
            at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
    Manager.java:701)
            at weblogic.management.mbeans.custom.ApplicationManager.update(Applicati
    onManager.java:198)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:606)
            at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:590)
            at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:350)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
            at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
            at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
            at $Proxy5.update(Unknown Source)
            at weblogic.management.console.webapp._domain.__upload_app._jspService(_
    _upload_app.java:150)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:190)
            at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112
    )
            at weblogic.management.console.actions.ForwardAction.perform(ForwardActi
    on.java:35)
            at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:172)
            at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:85)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
            at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
            at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    is there any idea .. whys that's error coming ...

    Thanks
    Mayank
  2. Are you loading a .zip file? It's obviously got a problem with your zip file. I personally found that it's much easier to put your application in the "applications" folder and the then start weblogic server. This is the application for hot deployment and doesnt require much work, just copy and paste your application in the applications folder.
  3. Zip exception[ Go to top ]

    check ur disk space...Some times Insufficient space in ur disk drive causes this error.