com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [ldap-1.0.1-SNAPSHOT] -- Invalid ejb jar [/opt/cisco/glassfish/domains/domain1/applications/j2ee-modules/ldap-1.0.1-SNAPSHOT]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.

Oracle Community | samsina | 8 years ago
  1. 0

    glassfish EJB problem

    Oracle Community | 8 years ago | samsina
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [ldap-1.0.1-SNAPSHOT] -- Invalid ejb jar [/opt/cisco/glassfish/domains/domain1/applications/j2ee-modules/ldap-1.0.1-SNAPSHOT]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.
  2. 0

    NetBeans Forums - java.lang.NoClassDefFoundError with netbeans7

    netbeans.org | 11 months ago
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error al cargar los descriptores de implementación para el módulo [Ditsus-ejb] -- Invalid ejb jar [/home/.../Project-ejb/build/classes]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.
  3. 0

    Glassfish v1/v2 incompatibility?

    Oracle Community | 1 decade ago | ulim
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [appress] -- Invalid ejb jar [appressEJB.jar]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Does GlassFish support entity beans of EJB2?

    Oracle Community | 8 years ago | asha_shi
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- Error while processing application [ejb-jar-ic1]; module [C:\Sun\SDK\domains\domain1\applications\j2ee-modules\ejb-jar-ic1]: Class specified as the pm-class-generator cannot be loaded or does not implement com.sun.ejb.codegen.CMPGenerator interface. See log for details.
  6. 0

    Does GlassFish support entity beans of EJB2?

    Oracle Community | 8 years ago | asha_shi
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- Error while processing application [ejb-jar-ic1]; module [C:\Sun\SDK\domains\domain1\applications\j2ee-modules\ejb-jar-ic1]: Class specified as the pm-class-generator cannot be loaded or does not implement com.sun.ejb.codegen.CMPGenerator interface. See log for details.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.enterprise.deployment.backend.IASDeploymentException

      Error loading deployment descriptors for module [ldap-1.0.1-SNAPSHOT] -- Invalid ejb jar [/opt/cisco/glassfish/domains/domain1/applications/j2ee-modules/ldap-1.0.1-SNAPSHOT]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.

      at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors()
    2. com.sun.enterprise
      PEDeploymentService.deploy
      1. com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
      2. com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:423)
      3. com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:140)
      4. com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
      5. com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
      6. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
      8 frames