JBoss Deployement Issue - Cannot deploy this Jar

后端 未结 8 1310
野性不改
野性不改 2021-01-11 23:03

I am trying to deploy an application in jBoss and I\'m getting this issue. I am trying to deploy a jar and I\'m getting the issue.

Attached complete log:

<         


        
相关标签:
8条回答
  • 2021-01-11 23:38

    For future searchers: kolossus is right, as I found out. A quick search showed that I had copied my EAR file to two different folders (./deploy and ./deploy/comp/prod/). Deleting the unintended copy fixed the problem.

    0 讨论(0)
  • 2021-01-11 23:44

    You might need to check file with same name not exists in below locations 1. /standalone/deployments 2. //deployments

    0 讨论(0)
  • 2021-01-11 23:46

    I think this problem happened when I was manually deploying, while also using the Eclipse deployment tool. I found I lost the ability to launch the server, which means I could not access the admin console.

    1. Go to <myJBossDirectory>\standalone\configuration
    2. Open "standalone.xml"
    3. At the end of the XML file delete the node, <deployments><deployment></deployment></deployments> (This should erase all of the deployments you may have done manually)
    4. Try restarting the server, "standalone.sh" or "standalone.bat".
    0 讨论(0)
  • 2021-01-11 23:55

    Edit file /standalone/configuration/standalone.xml.

    Search for deployment-scanner and remove duplicate entries to the same folder.

    I experienced this problem when I a added wildfly 8.1 server in eclipse using jbosstools.

    0 讨论(0)
  • 2021-01-11 23:55

    Remove all ear/war from jboss-eap-6.4\standalone\deployments folder

    0 讨论(0)
  • 2021-01-12 00:01

    I ran into a similar issue, it turned out that I had a version deployed using the admin console. When I removed it from there, the duplication error went away.

    0 讨论(0)
提交回复
热议问题