com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Oper8EA] -- Invalid ejb jar [appserv-rt.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. 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 | javajoe83 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help deploying EAR to Glassfish

    Oracle Community | 8 years ago | javajoe83
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Oper8EA] -- Invalid ejb jar [appserv-rt.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. 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

    Glassfish v1/v2 incompatibility?

    Oracle Community | 1 decade ago | ulim
    java.lang.IllegalArgumentException: Invalid ejb jar MyApp-ejb.jar: it contains zero ejb. A valid ejb jar requires at least one session/entity/message driven bean.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid ejb jar [appserv-rt.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. 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.util.EjbBundleValidator.accept()
    2. Deployment Object Library
      ApplicationArchivist.validate
      1. com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:95)
      2. com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:82)
      3. com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
      4. com.sun.enterprise.deployment.Application.visit(Application.java:1819)
      5. com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:520)
      5 frames
    3. com.sun.enterprise
      Deployer.loadDescriptors
      1. com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:382)
      1 frame