1. glassfish
  2. GLASSFISH-19068

deploying hybrid osgi app with ejb bundle failed based on recent gf trunk


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0_dev
    • Component/s: deployment, OSGi-JavaEE
    • Labels:
    • Environment:

      1 Windows XP
      2 Maven 3.0.4
      3 JDK 1.6.0_34
      4 GF Trunk 2012/09/11


      deploying hybrid osgi app with ejb bundle failed based on recent gf trunk(2012/09/11)

      When using the following command to deploy a hybrid osgi app with ejb bundle, deploying failed.

      > asadmin deploy --type=osgi E:\gfv4\gftrunk\fighterfish\sample\uas\ejbservice2\target\sample.uas.ejbservice2.jar

      [Failed Info]
      1 Cmd's Failed Info

      remote failure: Error occurred during deployment: Exception while preparing the app : Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for E:\gf0911\glassfish3\glassfish\domains\domain1\applications\sample.uas.ejbservice2.
      If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected. Please see server.log for more details.

      Command deploy failed.

      2 StackTrace on server.log
      Pl. see attachment(server.log)

      [Deployed Bundle]
      Pl. see attachment(sample.uas.ejbservice2.jar)


        TangYong created issue -
        TangYong made changes -
        Field Original Value New Value
        Attachment sample.uas.api.jar [ 51064 ]
        Attachment sample.uas.entities.jar [ 51065 ]
        Sanjeeb Sahoo made changes -
        Component/s OSGi-JavaEE [ 10642 ]
        Hong Zhang made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.0_b54 [ 15643 ]
        Resolution Fixed [ 1 ]
        Joe Di Pol made changes -
        Fix Version/s 4.0_dev [ 17784 ]


          • Assignee:
            Hong Zhang
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: