aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Hudson: Deploy to jBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Hudson: Deploy to jBoss" Watch "Hudson: Deploy to jBoss" New topic
Author

Hudson: Deploy to jBoss

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Hi,

I am trying to run a plan in Hudson to:
* build the project
* stop the running jBoss server
* copy the build project to the jBoss server
* start the jBoss server

Is this possible to be done using Hudson?

Thanks,

Niall
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Which version of JBoss AS? The "how to" will depend on the exact version.

Did you look at the list of plugins available in Hudson? In Jenkins there is a JBoss Management Plugin that should be able to do what you want.

Finally, since what you are asking for can be accomplished using build scripts, you can always incorporate the steps into your build script. After all, Hudson/Jenkins is just a glorified cron system with a web interface and convenient plugins. You can get it to do anything if you are willing to write the scripts to do it.


JBoss In Action
Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Hi,

the version of jBoss that i'm trying to stop/deploy/start is: jboss-eap-5.1

I have a build script that when executed on the linux console, starts the jBoss successfully, but when i add a call to this script, the script runs but jBoss isn't successfully started and no information is available to say why it hasnt started,

Thanks for the information,

Niall
 
jQuery in Action, 2nd edition
 
subject: Hudson: Deploy to jBoss