XMLWordPrintable

Details

    Description

      Maven command mvn clean install wildfly:deploy fails with error:

      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.0.Beta1:deploy (default-cli) on project jts-application-component-2: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jts-application-component-2.jar\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"jts-application-component-2.jar\"
      [ERROR]     Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0085: Exception while parsing jboss-ejb3.xml: /content/jts-application-component-2.jar/META-INF/jboss-ejb3.xml
      [ERROR]     Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[31,9]
      [ERROR] Message: Missing required element(s): EJB_NAME"}}}}
      

      After change in application-component-2/src/main/resources/META-INF/jboss-ejb3.xml the application is deployed:

      <ejb-name>InvoiceManagerEJBImpl</ejb-name>
      

      instead of:

      <iiop:ejb-name>InvoiceManagerEJBImpl</iiop:ejb-name>
      

      This change was done with this commit:
      https://github.com/jbossas/eap-quickstarts/commit/e9065bbc6e0d9e77f7df9eff0ec729d2ca4e5e12

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              nziakova@redhat.com Nikoleta Ziakova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: