Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildfly: Jboss error on start-up

Tags:

jboss

I am having trouble starting my jboss with

./standalone.sh 

in the directory

/ali/wildfly-9.0.1.Final/bin$. 

It throws the following error

 15:01:37,824 ERROR [org.jboss.as.controller.management-operation]       
(Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: 
([("deployment" => "HelloServlet.war")]) - failure description: 
"WFLYCTL0212: Duplicate resource [(\"deployment\" => \"HelloServlet.war
\")]"
15:01:37,830 FATAL [org.jboss.as.server] (Controller Boot Thread) 
WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. 
like image 578
Mozzay Avatar asked Jun 15 '16 12:06

Mozzay


People also ask

How do I start JBoss WildFly server?

To start up a WildFly 8 managed domain, execute the $JBOSS_HOME/bin/domain.sh script. To start up a standalone server, execute the $JBOSS_HOME/bin/standalone.sh. With no arguments, the default configuration is used.

Is WildFly same as JBoss?

WildFly, formerly known as JBoss AS, or simply JBoss, is an application server written by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple platforms.

What is WildFly in JBoss EAP?

“Wildfly is the upstream project JBoss EAP is built on,” said James Falkner, technical product manager for Red Hat Runtimes. “A lot of new features that end up in JBoss EAP start their lives in WildFly.” JBoss AS version 7 — which supported Java EE 6 — was the last official JBoss AS release.


1 Answers

If you are using a deploy tool, check the standalone.xml conf file or HA conf file, at the end you should to delete the "deployments" tag

<deployments>
    <deployment name="xxx.war" runtime-name="xxx.war">
        <content sha1="fb73e5d66e5184b1d4791a5cb5d61970f73c14b0"/>
    </deployment>
</deployments>
like image 112
Edison Agurto Avatar answered Oct 26 '22 22:10

Edison Agurto