4
2
|
I have "pom.xml" file which is connecting to maven and checking out the code and creating a war file. Now I have to deploy the created war file to JBoss Application Server 7. Below is my
pom.xml .
|
|
once check following link might be useful for you stackoverflow.com/questions/13376011/… – Mahesh.D Jun 28 '13 at 4:38
| ||
I get the following errors, – Keerthana Jun 28 '13 at 4:59
| |||
Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.3.Final:deploy (default) on project deploy-app: Could not execute goal deploy on D:\Workspace\deploy-app\target\deploy-app.war. Reason: Error could not execute operation '{ [ERROR] "address" => [], [ERROR] "operation" => "read-attribute", [ERROR] "name" => "launch-type" [ERROR] }'. java.net.ConnectException: JBAS012144: Could not connect to remote://D-0190918:8080. The connection timed out Pls help me – Keerthana Jun 28 '13 at 5:01
| |||
What version of Jboss AS do you use? – Jiri Kremser Jun 28 '13 at 22:04
|
4
|
First, use
bin/add-user.sh to add management user.
Then, store that into your settings.xml.
|
pom.xml
.
localhost
org.apache.maven.plugins
mvn clean deploy;
Can u please tell me what i have to add in the bin/add-user.sh?? I am new to maven and i am getting error in doing the above steps. – Keerthana Jul 1 '13 at 7:08
| |||
If you're deploying to a server running on your local box you don't need to add a user. You only need to add a user if you're deploying to a remote server. – James R. Perkins Jul 6 '13 at 16:19
| |||