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.

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 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 javajoe83, 1 year ago
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
via Oracle Community by naveen2097, 1 year ago
Error loading deployment descriptors for module [test-ejb] -- TestLocal
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]
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.
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:364)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:345)
at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:274)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:188)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:132)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:171)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:761)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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