Unable to deploy applications using the management console via https in JBoss EAP 7.1
Issue
- Deploying an application using the web-console via https is not possible, the
server.log
shows:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."application.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."application.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "application.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0160: Failed to mount deployment content
at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:95)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 5 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:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:874)
at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:504)
at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:533)
at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:108)
at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91)
... 6 more
- When trying to assign a war previously uploaded to the content repository it fails when a server in the server group is running. The error message is as follows:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"APP.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"APP.war\"
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"}}
if the server of the server group is stopped and retry, the deployment is correctly assigned and enabled, but the application does not work.
- When the deployment file is uploaded, the file size is smaller than the original file in the
/data/content
.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.1.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.