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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by javajoe83, 1 year ago
(@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.
via Oracle Community by ulim, 1 year ago
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.
via Oracle Community by 843830, 1 year ago
Error loading deployment descriptors for module [C-Rev] -- Cannot resolve reference Unresolved Ejb-Ref CR.ui.loginBean/dao@jndi: @null@CR.sessions.LoginSessionLocal@Session@null because there are 2 ejbs in the application with interface CR.sessions.LoginSessionLocal
via Oracle Community by 843833, 1 year ago
Error loading deployment descriptors for module [EDMProjectEAR] -- This ejb has no message destination refernce by the name queue
via Oracle Community by 843830, 1 year ago
Error loading deployment descriptors for module [help2] -- This bean [ShoppingCartBean] has no ejb reference by the name of [productFacade]
via Oracle Community by naveen2097, 1 year ago
Error loading deployment descriptors for module [test-ejb] -- TestLocal
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.
at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:95)
at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:82)
at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
at com.sun.enterprise.deployment.Application.visit(Application.java:1819)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:382)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.