2

When starting wildfly server with: ./standalone.sh or deploying my war I get the error:

21:54:04,596 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jacks-app-1.0.war")]) - failure description: "WFLYSRV0205: There is already a deployment called jacks-app-1.0 with the same runtime name jacks-app-1.0.war"

As far as I can tell, nothing is deployed. Nothing in the deployments folder? Killed java and tried again, even tried a reboot.

What am I missing?

James R. Perkins
  • 16,800
  • 44
  • 60
Silk13
  • 47
  • 2
  • 9

3 Answers3

2

In the standalone-full.xml or standalone-full-ha.xml file, you can find the following:

<deployments>
    <deployment name="some.war" runtime-name="some.war">
        <fs-archive path="some\folders\to\some.war"/>
    </deployment>
    ...
</deployment>

Here you need to find and remove your jacks-app-1.0.war file.

TT.
  • 15,774
  • 6
  • 47
  • 88
0

There might be another war file with same runtime name jacks-app-1.0.

Varsha
  • 1,150
  • 9
  • 12
0

A comment is found, that should be the answer, thanks to @siom:

try to delete the folders data and tmp under standalone.

LovaBill
  • 5,107
  • 1
  • 24
  • 32