Reputation: 1862
I am trying to deploy my EAR on jBoss server using maven. This is my pom entry
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.1.1.Final</version>
<executions>
<execution>
<id>jboss-undeploy</id>
<goals>
<goal>undeploy</goal>
</goals>
<phase>clean</phase>
</execution>
<execution>
<id>jboss-deploy</id>
<goals>
<goal>deploy</goal>
</goals>
<phase>install</phase>
</execution>
</executions>
<configuration>
<force>true</force>
<jbossHome>${jboss.directory}</jbossHome>
<serverName>dummyserver-standard</serverName>
<hostName>localhost</hostName>
<username>ashutosh</username>
<password>password</password>
<port>7001</port>
<fileNames>
<fileName>/target/RightsEar-1.0-SNAPSHOT.ear</fileName>
</fileNames>
</configuration>
</plugin>
I run the command "clean install -U -X" because I have configured my pom to deploy the EAR in install phase. I am below error
java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:7001.
The connection timed out
I have tried many solutions given in stackoverflow but nothing helped. Kindly suggest me the solution..any help is appreciated
Upvotes: 1
Views: 1240