2 Replies Latest reply on Jan 24, 2017 2:16 PM by D. B.

    JBossEAP 6.3 error building project

    D. B. Newbie

      I use JBossEAP 6.3 server while building my project I get the following error

       

      [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.6.Final:deploy (default) on project timera: Deployment failed and was rolled back. {"JBAS014671: Fehlgeschlagene Dienste" => {"jboss.web.deployment.default-host./MyProj" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./MyProj: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Starten von Kontext fehlgeschlagen

      [ERROR] Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Starten von Kontext fehlgeschlagen"}}

      [ERROR] -> [Help 1]

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.6.Final:deploy (default) on project myproj: Deployment failed and was rolled back.

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)...

      Caused by: org.jboss.as.plugin.common.DeploymentExecutionException: Deployment failed and was rolled back.

          at org.jboss.as.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:192)

          at org.jboss.as.plugin.deployment.AbstractDeployment.executeDeployment(AbstractDeployment.java:121)

          at org.jboss.as.plugin.deployment.AbstractDeployment.doExecute(AbstractDeployment.java:146)

          at org.jboss.as.plugin.deployment.AbstractAppDeployment.doExecute(AbstractAppDeployment.java:70)

          at org.jboss.as.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:111)

          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

          ... 19 more

      Caused by: java.lang.Exception: {"JBAS014671: Fehlgeschlagene Dienste" => {"jboss.web.deployment.default-host./MyProj" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./MyProj: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Starten von Kontext fehlgeschlagen

          Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Starten von Kontext fehlgeschlagen"}}

          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)

          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)

          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)

          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)

          at org.jboss.as.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:181)

          ... 25 more

       

      Seems strange because if I try to build it kinda works after one to five tries. But still what could be the reason behind it and how can I find out?