# Problem with wildfly with Ansible

**URL:** <https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914>\
**Category:** Ansible Project\
**Created:** [July 31, 2019, 7:41am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914 "2019-07-31T07:41:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [July 31, 2019, 7:41am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/1 "2019-07-31T07:41:26Z")

</div>

Hey !!

I have one problem with wildfly service.  
In fact, when i use this command : **systemctl start wildfly10.service** this service wildfly not run and when i show status he is failed.

Same on the serveur or with Ansible, wildfly not want run.  
The message error when i use **systemctl status wildfly10.service** is :

● wildfly10.service - Wildfly 10 Server  
Loaded: loaded (/lib/systemd/system/wildfly10.service; enabled)  
Active: failed (Result: exit-code) since Wed 2019-07-31 09:21:34 CEST; 23s ago  
Process: 18953 ExecStart=/opt/wildfly10/bin/standalone.sh (code=exited, status=1/FAILURE)  
Main PID: 18953 (code=exited, status=1/FAILURE)

Jul 31 09:21:34 my\_host standalone.sh[18953]: Message: Unexpected element ‘sys…’  
Jul 31 09:21:34 my\_host standalone.sh[18953]: at org.jboss.staxmapper.XMLMappe…)  
Jul 31 09:21:34 my\_host standalone.sh[18953]: at org.jboss.staxmapper.XMLMappe…)  
Jul 31 09:21:34 my\_host standalone.sh[18953]: at org.jboss.as.controller.persi…)  
Jul 31 09:21:34 my\_host standalone.sh[18953]: … 3 more  
Jul 31 09:21:34 my\_host standalone.sh[18953]: 09:21:34,738 FATAL [org.jboss.as…  
Jul 31 09:21:34 my\_host standalone.sh[18953]: 09:21:34,766 INFO [org.jboss.as…s  
Jul 31 09:21:34 my\_host standalone.sh[18953]:  
Jul 31 09:21:34 my\_host systemd[1]: wildfly10.service: main process exited, c…RE  
Jul 31 09:21:34 my\_host systemd[1]: Unit wildfly10.service entered failed state.  
Hint: Some lines were ellipsized, use -l to show in full.

I am very furious because my deploiement application not work because i have problem with wildfly !!! \>\<

I have found in the internet without answer ☹

Thanks for your help community Ansible !!! 🙂

Help meee please !!!

Regards,

Karther

---

<div class="post-metadata">

**Author:** ![user89](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@user89](https://forum.ansible.com/u/user89)\
**Post date:** [July 31, 2019, 8:29am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/2 "2019-07-31T08:29:17Z")

</div>

Hey Karther!

If you service **wildfly10** not working after **systemctl start wildfly10.service** command, which not related to ansible then there is a problem directly in **wildfly10** , not ansible. Please ask better support or community of that service. Ansible here is not a problem.

---

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [July 31, 2019, 8:32am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/3 "2019-07-31T08:32:21Z")

</div>

Hey,

Ok because i don’t want submit compte on 500 plateforme different, i think that one person have any idea.

Thanks for your help,

Regards,

---

<div class="post-metadata">

**Author:** ![user89](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@user89](https://forum.ansible.com/u/user89)\
**Post date:** [July 31, 2019, 8:36am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/4 "2019-07-31T08:36:15Z")

</div>

When i lose something you will not find it in place which just have enough light to let you see, right? I will find in a place where you lose it.

Here is a place where persons have an ideas, like place with enough light, but you don’t lose here what you try to find. You can find answer on a question on a specific to application place. Ansible is not. As any other, not related to wildfly10, community probably will not help you. Look in a right place.

ср, 31 июл. 2019 г. в 10:32, Karther \<[ryadmouhoub92@gmail.com](mailto:ryadmouhoub92@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![user89](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@user89](https://forum.ansible.com/u/user89)\
**Post date:** [July 31, 2019, 8:37am UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/5 "2019-07-31T08:37:25Z")

</div>

When you lose something you will not find it in place which just have enough light to let you see, right? I will find in a place where you lose it.

Here is a place where persons have an ideas, like place with enough light, but you didn’t lose here what you try to find. You can find an answer on a question in a specific to application place. Ansible is not. As any other, not related to wildfly10, community probably will not help you. Look in a right place - community wildfly10.

ср, 31 июл. 2019 г. в 10:36, Михаил Политаев \<[nisyarazh@gmail.com](mailto:nisyarazh@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [July 31, 2019, 12:40pm UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/6 "2019-07-31T12:40:13Z")

</div>

Hey,

I have solve my problem, in fact i chack the file standalone.xml of my application and there had synthax error.

Thanks,

Regards,

---

<div class="post-metadata">

**Author:** ![user89](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@user89](https://forum.ansible.com/u/user89)\
**Post date:** [July 31, 2019, 12:41pm UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/7 "2019-07-31T12:41:25Z")

</div>

Glad to hear!

ср, 31 июл. 2019 г., 14:40 Karther \<[ryadmouhoub92@gmail.com](mailto:ryadmouhoub92@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [July 31, 2019, 1:50pm UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914/8 "2019-07-31T13:50:53Z")

</div>

Hey,

Thank you Михаил Политаев !! 🙂

The packet in linux who do check xml file is **apt-get install libxml2-utils** for people who are interested 😉

And the command line is **xmllint --format my\_file.xml**

Thanks,

Regards,

Karther
