# Deploy \*.war to wildfly with ansible

**URL:** <https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348>\
**Category:** Get Help\
**Tags:** jenkins, gitlab, docker, wildfly\
**Created:** [October 3, 2023, 1:27pm UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348 "2023-10-03T13:27:58Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![jose\_manuel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jose_manuel/32/957_2.png) [@jose\_manuel](https://forum.ansible.com/u/jose_manuel)\
**Post date:** [October 20, 2023, 6:47am UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348/22 "2023-10-20T06:47:29Z")

</div>

Good morning Mr Pierre  
Same error putting localhost or 127.0.0.1, maybe the pom.xml is wrong or the proxy don´t give me pass to repomaven.  
This the console error.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/7/7dc7bb218b9d1988bac78dc3f262f6d94b01e7d3.png)  
Best regards and thanks a lot.

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 20, 2023, 5:10pm UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348/23 "2023-10-20T17:10:52Z")

</div>

Hi Jose,

Not the same error; you had a typo on your command, now command works but it seems your proxy config is not right, or traffic to proxy might be filtered. From your Jenkins worker shell, could you run this command, which is a basic connectivity test using netcat: `nc <yourProxyHostname> <yourProxyTcpPort> -vz` ? What does it says ?

I obviously don’t know anything about your proxy configuration (not the one you set on `mvn` command, the actual proxy config), but you’d also have to ensure http/s traffic from your Jenkins worker to [repo.maven.apache.org](http://repo.maven.apache.org) is allowed.  
I suppose this proxy have been set up by your IT team, so you should probably check with them.

---

<div class="post-metadata">

**Author:** ![jose\_manuel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jose_manuel/32/957_2.png) [@jose\_manuel](https://forum.ansible.com/u/jose_manuel)\
**Post date:** [October 23, 2023, 3:45pm UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348/24 "2023-10-23T15:45:36Z")

</div>

Hello Mr Pierre  
SUCCEEDEED is the answer… Mistery is the name os this, Mr Pierre.  
I have to speak to the TI team if you are in wrigth to can access to [repo.maven.apache.org](http://repo.maven.apache.org), it is the only way to go now.  
In my local configuration I have no problem with this, and the onlydiference is docker program.  
I have too many work this week, oh my god! Sorry if I can not response as soon as possible as I should be.

Best regards and thanks again forever.

---

<div class="post-metadata">

**Author:** ![jose\_manuel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jose_manuel/32/957_2.png) [@jose\_manuel](https://forum.ansible.com/u/jose_manuel)\
**Post date:** [October 25, 2023, 6:14am UTC](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348/25 "2023-10-25T06:14:35Z")

</div>

Good morning Mr Pierre

We have discovered why the project is not deployed in wildfly correctly, the version of wildfly is 27.0.1 and that version need springboot 3 or up to work so one thing less.

Best regards.

[Previous page](https://forum.ansible.com/t/deploy-war-to-wildfly-with-ansible/1348.md?page=1)
