java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)

Server Fault | user53864 | 5 years ago
  1. 0

    load balancing - Tomcat Cluster Farm Deployer issue - Server Fault

    serverfault.com | 6 months ago
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)
  2. 0

    Tomcat Cluster Farm Deployer issue

    Server Fault | 5 years ago | user53864
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)
  3. 0

    trouble deploying .WAR to tomcat

    Stack Overflow | 6 years ago | David
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error encountered in tomcat 7.0 deployment

    Coderanch | 5 years ago | Denver Gonzales
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file
  6. 0

    Managed to build WAR file but when I try to deploy it on Server it says corrupted

    GitHub | 4 months ago | megollum
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid or unreadable WAR file : invalid CEN header (bad signature)

      at org.apache.naming.resources.WARDirContext.setDocBase()
    2. Web Container Naming Utilities
      WARDirContext.setDocBase
      1. org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:135)
      1 frame
    3. Glassfish Core
      HostConfig.check
      1. org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      7. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      8. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      8 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    5. Embedded GlassFish Web
      BaseModelMBean.invoke
      1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      1 frame
    6. Java RT
      JmxMBeanServer.invoke
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)
      2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
      2 frames
    7. org.apache.catalina
      NioReplicationTask.run
      1. org.apache.catalina.ha.deploy.FarmWarDeployer.check(FarmWarDeployer.java:623)
      2. org.apache.catalina.ha.deploy.FarmWarDeployer.messageReceived(FarmWarDeployer.java:246)
      3. org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:899)
      4. org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:880)
      5. org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:269)
      6. org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      7. org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      8. org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:110)
      9. org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      10. org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.java:241)
      11. org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:225)
      12. org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTask.java:188)
      13. org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:91)
      13 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:636)
      3 frames