[jboss-user] [JBoss Seam] - Directory deployment problem (glassfish & netbeans)
mirko27
do-not-reply at jboss.com
Sat Nov 17 18:23:50 EST 2007
My environment:
Glassfish V2
Netbeans 6 RC 1
JBoss 2.0.0.GA
When I try to Deploy my EAR application inside netbeans it throws exception:
| Exception occured in J2EEC Phasejava.lang.IllegalArgumentException: Invalid ejb jar [jboss-seam.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.
| com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [soov] -- Invalid ejb jar [jboss-seam.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.backend.Deployer.loadDescriptors(Deployer.java:390)
| at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
| at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
| at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
| at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
| at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
| at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
| at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
| at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
| at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
| at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
| Caused by: java.lang.IllegalArgumentException: Invalid ejb jar [jboss-seam.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:729)
| at com.sun.enterprise.deployment.Application.visit(Application.java:1754)
| at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:470)
| at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:790)
| at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
| at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
| ... 10 more
|
I found that it has raised before but didnt find any solutions.
It`s pretty urgent because we cant do anything with it right now...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105814#4105814
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105814
More information about the jboss-user
mailing list