java.lang.IllegalArgumentException: Invalid ejb jar [myejb.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, @Singleton), > please > check server.log to see whether the annotations were processed properly. > > at > com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76) > > > at > com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128) > > > at > com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730) > > >

Oracle Community | kikujiro | 5 years ago
  1. 0

    Invalid ejb jar ... it contains zero ejb

    Oracle Community | 5 years ago | kikujiro
    java.lang.IllegalArgumentException: Invalid ejb jar [myejb.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, @Singleton), > please > check server.log to see whether the annotations were processed properly. > > at > com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76) > > > at > com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128) > > > at > com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730) > > >
  2. 0

    Invalid ejb jar ... it contains zero ejb

    Oracle Community | 5 years ago | kikujiro
    java.lang.IllegalArgumentException: Invalid ejb jar [myejb.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, @Singleton), please check server.log to see whether the annotations were processed properly.
  3. 0

    Include EJB.jar or EJB (project) in other EJB o... | Oracle Community

    oracle.com | 1 year ago
    java.lang.IllegalArgumentException: Invalid ejb jar [wpof-ejb-timer]: 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, @Singleton), please check server.log to see whether the annotations were processed properly.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Include EJB.jar or EJB (project) in other EJB or Web Application?

    Oracle Community | 6 years ago | 808683
    java.lang.IllegalArgumentException: Invalid ejb jar [wpof-ejb-timer]: 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, @Singleton), please check server.log to see whether the annotations were processed properly.
  6. 0

    "Contains no EJBs"...but it does, and no server.log errors

    Oracle Community | 6 years ago | ljnelson
    java.lang.IllegalArgumentException: Invalid ejb jar [ngp-constituent-ejb-1.0-SNAPSHOT.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, @Singleton), please check server.log to see whether the annotations were processed properly.

    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. java.lang.IllegalArgumentException

      Invalid ejb jar [myejb.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, @Singleton), > please > check server.log to see whether the annotations were processed properly. > > at > com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76) > > > at > com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128) > > > at > com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730) > > >

      at com.sun.enterprise.deployment.Application.visit()
    2. Deployment Object Library
      Application.visit
      1. com.sun.enterprise.deployment.Application.visit(Application.java:1765)
      1 frame