Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Hudson Error while deploying in jboss as 7 container.(Hudson Error while deploying in jboss as 7 container.)
Hudson Error while deploying in jboss as 7 container. [message #1042179] Tue, 16 April 2013 04:43 Go to next message
hariprasadh balasubramanian is currently offline hariprasadh balasubramanianFriend
Messages: 18
Registered: April 2013
Junior Member
Hi Everyone,
Using Hudson, i tried to automate the things(checking out from svn--->build ant--->deploy in the war file in jboss container).
For that i have made all the configurations and everything is fine i.e,checking out from svn and built the war file using ant.But deployment of war file in container doesnt happen.Please find the configuration as follows:
PostBild Actions:
Deploy war/ear to the container:
War File:**/**.war
Container:Jboss7.X
Manager UserName:jboss
Manager Password:jb0ss
jboss url:http:10.243.96.109:8080
jboss JMX Management Port:9990


PFB the error it thrown.
=====================================================
Deploying /root/.hudson/jobs/**/workspace/dist/*.war to container JBoss 7.x Remote

ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception

org.codehaus.cargo.util.CargoException: Cannot deploy deployable org.codehaus.cargo.container

at
Caused by: java.net.ConnectException: JBAS012144: Could not connect to remote The connection timed out

Finished: FAILURE
==================================================

Kindly help me out in resolving this.
Thanks in advance
Re: Hudson Error while deploying in jboss as 7 container. [message #1042593 is a reply to message #1042179] Tue, 16 April 2013 16:12 Go to previous messageGo to next message
Bob Foster is currently offline Bob FosterFriend
Messages: 85
Registered: January 2013
Member
There could be a number of causes. JBoss might not be running, etc. Is Hudson behind a firewall that requires a proxy?
Re: Hudson Error while deploying in jboss as 7 container. [message #1042704 is a reply to message #1042593] Tue, 16 April 2013 19:30 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
I released deploy plugin version 1.9-h3 for Hudson 3.x. I tested it with JBoss 7.1.1 and worked fine. Following is the configuration I used.

https://dl.dropboxusercontent.com/u/13144273/jboss-7-deploy.png

The Jboss 7.1.1 console displayed the remote deployment correctly


11:45:04,884 INFO  [org.jboss.as.repository] (management-handler-thread - 2) JBAS014900: Content added at location /Users/wjprakash/jboss-as-7.1.1.Final/standalone/data/content/de/5e4fa315b98a734caecfa9e37b5635a3f08045/content
11:45:04,896 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test.war"
11:45:05,232 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
11:45:05,280 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS018559: Deployed "test.war"



I tested the deployed application with URL http://localhost:8181/test and the application worked fine too.


Winston Prakash
Eclipse Hudson team
Re: Hudson Error while deploying in jboss as 7 container. [message #1042734 is a reply to message #1042704] Tue, 16 April 2013 20:20 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Sorry, the version of deploy plugin I released is 1.9-h-2.

Winston Prakash
Eclipse Hudson team
Previous Topic:Warnings plugin hanging
Next Topic:Hudson: 3.0.1-b2 - Is it beta 2 version?
Goto Forum:
  


Current Time: Fri Apr 19 09:30:08 GMT 2024

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

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

Back to the top