Uploaded image for project: 'JBoss AS Maven Plugins'
  1. JBoss AS Maven Plugins
  2. JBASMP-52

jboss-as:deploy deploys ear but doesn't deploy contained ejb module

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.4.Final
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
      None

      Description

      I have a simple ear application (build with maven-ear-plugin).
      This application contains just a persistence-unit definition (persistence.xml) and a ejb-module.
      The ejb module is another maven build, containing some ejb3, handled with maven-ejb-plugin.

      The ear file is correctly built:

      myapp.ear

      + META-INF/application.xml
      + lib/allmylibs.jar
      + myejb.jar

      When trying to deploy the ear with the jboss-as:deploy, the application is deployed (the persistence unit deployment logs in server.log), but no ejb is registered, anyway, no errors in log, and BUILD SUCCESFUL after mvn command.

      Finally, an ear file is present under $JBOSS_HOME/standalone/data/content

      The strange thing is that if I get that generated ear file, I can succesfully deploy it through the management console, or by copying it to a folder scanned by a deployment-scanner (in both cases the ejbs are correctly deployed)

      Nothing found in google!

      I tried with all the plugin version from 7.1.1 to 7.4.
      Also a lot of tries with different maven-ear-plugin and maven-jboss-as-plugin configuration options.... no lucky after two days of work.

      Regards,
      Matías.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jamezp James Perkins
                Reporter:
                mblasi Matías Blasi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: