Wildfly 14 - can deploy WAR file via GUI but not using jboss-cli
partofaplan85 Oct 22, 2018 4:38 AMThe domain controller and slaves are all running on CentOs boxes using Java 8.
When I deploy the WAR file using the management server GUI, I have no errors and the deployment works just fine.
However, when I deploy via the ./jboss-cli.sh, I receive the errors below. Keep in mind that I also made the permissions on the WAR as wide as possible.
Can anybody help?
[domain@localhost:9990 /] deploy /tmp/hello-world.war --server-groups=main-server-group
{"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"waldo" => {"server-one"
=> {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0062: Composite operation failed and was rolled back. S
teps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"hello-world.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase S
TRUCTURE of deployment \"hello-world.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"}}}}}},"server-two" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-1" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.d
eployment.unit.\"hello-world.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"hello-world.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"}}}}}}},"wendell" => {"server-one" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps t
hat failed:" => {"Operation step-1" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed service
s" => {"jboss.deployment.unit.\"hello-world.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"hello-world.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"}}}}}},"server-two" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-1" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.d
eployment.unit.\"hello-world.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"hello-world.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"}}}}}}}}}}}}