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

GitHub | megollum | 4 months ago
  1. 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. 0

    Web application does not starts

    YouTrack | 2 years ago
    java.lang.IllegalArgumentException: Doc base must point to a WAR file
  3. 0

    Server doesn't respond

    GitHub | 2 months ago | Caine85
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)
  6. 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 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:136)
      1 frame
    3. Glassfish Core
      LifecycleBase.start
      1. org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5228)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5417)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      3 frames
    4. org.apache.catalina
      HTMLManagerServlet.doPost
      1. org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
      2. org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
      3. org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
      3 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      2 frames
    6. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
      4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      6. org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
      7. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      8. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      9. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
      10. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      11. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
      12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      13. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      14. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      16. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
      16 frames
    7. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
      4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
      4 frames
    8. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      2 frames
    9. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame