3 Replies Latest reply on May 8, 2014 2:03 PM by Filippe Spolti

    java.util.zip.ZipException while starting JBOSS on UNIX box

    Ashok N Newbie

      I am getting the following error when I try to start the jboss server on UNIX box. I have tried by increasing the 'limit of number of open file descriptors to 1000000 by using the following command ulimit -n 1000000. But still the same problem persists. Please help me in figuring out the problem. Thanks in advance.




      java.lang.Error: Error visiting FileHandler@457032917[path= context=file:/usr/local/jboss-eap-5.1.1/jboss-as/server/awd/conf/ real=file:/usr/local/jboss-eap-5.1.1/jboss-as/server/awd/conf/]
        at org
      .jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:98)
        at org
      .jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.setExportAll(VFSClassLoaderPolicy.java:362)
        at org
      .jboss.system.server.jmx.JMXKernel.initBootLibraries(JMXKernel.java:549)
        at org
      .jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:216)
        at sun
      .reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun
      .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun
      .reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java
      .lang.reflect.Method.invoke(Method.java:597)
        at org
      .jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
        at org
      .jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
        at org
      .jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
        at org
      .jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:243)
        at org
      .jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
        at org
      .jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:111)
        at org
      .jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
        at org
      .jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
        at org
      .jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
        at org
      .jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
        at org
      .jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org
      .jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org
      .jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org
      .jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org
      .jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
        at org
      .jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
        at org
      .jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org
      .jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
        at org
      .jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
        at org
      .jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
        at org
      .jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
        at org
      .jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
        at org
      .jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
        at org
      .jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
        at org
      .jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
        at org
      .jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
        at org
      .jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
        at org
      .jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
        at org
      .jboss.Main.boot(Main.java:221)
        at org
      .jboss.Main$1.run(Main.java:556)
        at java
      .lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Failed to read zip file: org.jboss.virtual.plugins.context.zip.ZipFileWrapper@68148555 - /usr/local/jboss-eap-5.1.1/jboss-as/server/awd/conf/$RECYCLE.BIN/S-1-5-21-2141872816-1460668028-1419195053-4314046/$IZFL1A4.war
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:638)
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:786)
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryContext.getChildren(ZipEntryContext.java:858)
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryHandler.getChildren(ZipEntryHandler.java:163)
        at org
      .jboss.virtual.plugins.context.DelegatingHandler.getChildren(DelegatingHandler.java:121)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:220)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:337)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)
        at org
      .jboss.virtual.VFS.visit(VFS.java:468)
        at org
      .jboss.virtual.VirtualFile.visit(VirtualFile.java:448)
        at org
      .jboss.virtual.VirtualFile.getChildren(VirtualFile.java:397)
        at org
      .jboss.virtual.VirtualFile.getChildren(VirtualFile.java:378)
        at org
      .jboss.classloading.plugins.vfs.PackageVisitor.visit(PackageVisitor.java:200)
        at org
      .jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:362)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)
        at org
      .jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)
        at org
      .jboss.virtual.VFS.visit(VFS.java:468)
        at org
      .jboss.virtual.VirtualFile.visit(VirtualFile.java:448)
        at org
      .jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:94)
        
      ... 38 more
      Caused by: 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:114)
        at java
      .util.jar.JarFile.<init>(JarFile.java:135)
        at java
      .util.jar.JarFile.<init>(JarFile.java:99)
        at org
      .jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:173)
        at org
      .jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:250)
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:485)
        at org
      .jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:629)
        
      ... 58 more