maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keerthana <keerthibu...@gmail.com>
Subject Re: Deploying war to JBOSS using maven
Date Fri, 28 Jun 2013 09:36:34 GMT
Hi, Can anyone please help me to deploy my war file in jboss server?

Below is my pom.xml file,

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jboss-maven-plugin</artifactId>
        <version>1.5.0</version>
        <configuration>
        	<hostName>localhost</hostName>
          	<port>9999</port>
            <serverId>Jboss-deploy</serverId>
          	
          	<fileNames>
            <fileName>target/deploy-app.war</fileName>
          </fileNames>
          </configuration>
      </plugin>
      
     </plugins>

I am getting the following error,

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building example 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] --- jboss-maven-plugin:1.5.0:deploy (default-cli) @ example ---
[INFO] Deploying target/deploy-app.war to JBoss.
[INFO] No server username specified - using default
[INFO] No server password specified - using default
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.984s
[INFO] Finished at: Fri Jun 28 15:05:27 IST 2013
[INFO] Final Memory: 3M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:jboss-maven-plugin:1.5.0:deploy (default-cli) on project
example: Mojo error occurred: Connection refused: connect -> [Help 1]


Please help me. I am new to maven so kindly help me to deploy my war file to
Jboss server




--
View this message in context: http://maven.40175.n5.nabble.com/Deploying-war-to-JBOSS-using-maven-tp109904p5761026.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message