glassfish
  1. glassfish
  2. GLASSFISH-19068

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

    Details

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

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

      Description

      [Problem]
      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)

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: