jbossas / jboss-as-maven-plugin

Maven plugin to deploy applications to JBoss AS 7 (moved to https://github.com/wildfly/wildfly-maven-plugin)
74 stars 69 forks source link

Server.start() seems to never return while the server is started #100

Closed zosrothko closed 5 years ago

zosrothko commented 5 years ago

Hi

Using jboss-as-plugin:start for starting a local standalone JBoss server seems to never give back hands to maven. This log is showing maven ending with an Build Failure with the exception

[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.9.Final:start (startMI) on project mi: The server failed to start: Managed server was not started within [60] s -> [
Help 1]

while Jboss WildFly-11.0.0-Final has been really been started as displayed in the log.

Here the pom.xml.txt

Z:\MXW\IC\MI\Tests>C:\ASF\apache-maven-3.5.4\bin\mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
Maven home: C:\ASF\apache-maven-3.5.4\bin\..
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
jamezp commented 5 years ago

This plugin is meant for JBoss EAP 6 and JBoss AS 7.x. For WildFly I'd suggest using the WildFly Maven Plugin.

zosrothko commented 5 years ago

Thank for the pointer, I did not search for a wildfly plugin. Sorry for the noise.