Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Deploying WAR to WildFly 8?
Deploying WAR to WildFly 8? [message #1706454] Thu, 27 August 2015 04:39 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I am trying automatic deployment of a WAR file to a WildFly 8 server using the Deploy Plugin. Since the plugin does not have an option for WildFly 8 so I used the JBoss 7.x configuration but it simply fails. Is there anybody who can successfully deploy a WAR file to WildFly using the plugin, or do we have to update the plugin to support WildFly?

Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706464 is a reply to message #1706454] Thu, 27 August 2015 06:20 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
This plugin was last upgraded in Oct 2013 to support JBoss 7.x. It is easy to modify the plugin and add JBoss8xAdapter to support Wildfly

Winston Prakash
Eclipse Hudson team
Re: Deploying WAR to WildFly 8? [message #1706707 is a reply to message #1706464] Fri, 28 August 2015 22:49 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I thought WildFly 8 is not so much different from JBoss 7, but I am now thinking of the upgrade myself. I feel I have too many things to do. Smile

Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706712 is a reply to message #1706707] Sat, 29 August 2015 02:20 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I started the upgrade work now. May I upgrade the parent version up to 3.2.0? I feel 3.0.0 is too old to support as 3.3.0 is already out.

Kaz Nishimura wrote on Sat, 29 August 2015 07:49
I thought WildFly 8 is not so much different from JBoss 7, but I am now thinking of the upgrade myself. I feel I have too many things to do. Smile



Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706725 is a reply to message #1706712] Sat, 29 August 2015 08:42 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I have added a new adapter for WildFly 8.x here but I am still failing to deploy a WAR file yet probably due to I am running WildFly as a domain. Since it looks Cargo supports it for JBoss AS 5.x and later, the plugin might have to be updated to support it, too.

Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706728 is a reply to message #1706725] Sat, 29 August 2015 09:07 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
It looks good for a standalone WildFly server. I will make a pull request.

Kaz Nishimura wrote on Sat, 29 August 2015 17:42
I have added a new adapter for WildFly 8.x here but I am still failing to deploy a WAR file yet probably due to I am running WildFly as a domain. Since it looks Cargo supports it for JBoss AS 5.x and later, the plugin might have to be updated to support it, too.



Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706741 is a reply to message #1706728] Sat, 29 August 2015 13:51 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Tried to add code to deploy to a domain but no success. Possibly Cargo limitation.

Kaz Nishimura
Re: Deploying WAR to WildFly 8? [message #1706935 is a reply to message #1706741] Tue, 01 September 2015 04:06 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Based on this documentation cargo supports both local and remote deployment (only embedded container is not supported)

https://codehaus-cargo.github.io/cargo/WildFly+8.x.html


Winston Prakash
Eclipse Hudson team
Re: Deploying WAR to WildFly 8? [message #1707611 is a reply to message #1706935] Mon, 07 September 2015 23:19 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Please note that cargo.jboss.clustered is not supported for remote containers. I am running WildFly in domain mode. The new plugin worked fine for standalone mode.

Winston Prakash wrote on Tue, 01 September 2015 13:06
Based on this documentation cargo supports both local and remote deployment (only embedded container is not supported)

https://codehaus-cargo.github.io/cargo/WildFly+8.x.html



Kaz Nishimura
Previous Topic:Multiple git repos required for 1 hudson job
Next Topic:Hudson 3.3.0 MsBuild plugin fails with NullPointerException
Goto Forum:
  


Current Time: Wed Aug 16 13:17:27 GMT 2017

Powered by FUDForum. Page generated in 0.06569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software