ZipException on Startup in JBoss EAP 7

Solution Unverified - Updated -

Issue

  • Deployment fails to run
  • Errors in log at startup:

    2020-03-18 07:49:49,551 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "Application.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Application.ear\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"Application.ear\"
        Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0160: Failed to mount deployment content
        Caused by: java.util.zip.ZipException: error in opening zip file"}}
    2020-03-18 07:49:49,737 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "Application.ear" (runtime-name : "Application.ear")
    2020-03-18 07:49:49,938 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
    WFLYCTL0186:   Services which failed to start:      service org.wildfly.network.interface.unsecure: WFLYSRV0082: failed to resolve interface unsecure
        service jboss.deployment.unit."Application.ear".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "Application.ear
    

Environment

  1. Verify the file is corrupted or unreadable - see diagnostics
  2. Redeploy the application if it's corrupted.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content