I unzipped the class file and noticed that the EJB classes were there. I then checked the server log files and couldn't locate anything different. Here is the output from the domains/domain1/server.log file:
[#|2007-05-15T18:39:09.047-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=55;_ThreadName=Thread-61;_RequestID=405a7a74-233c-423d-ad56-d3205d46c753;|Exception occured in J2EEC Phasejava.lang.IllegalArgumentException: Invalid ejb jar [/opt/glassfish/glassfish-v2-b42/domains/domain1/applications/j2ee-modules/brazos-ldap-ejb]: 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.
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [brazos-ldap-ejb] -- Invalid ejb jar [/opt/glassfish/glassfish-v2-b42/domains/domain1/applications/j2ee-modules/brazos-ldap-ejb]: 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.ModuleDeployer.loadDescriptors(ModuleDeployer.java:410)
at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:127)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:166)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
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)
Caused by: java.lang.IllegalArgumentException: Invalid ejb jar [/opt/glassfish/glassfish-v2-b42/domains/domain1/applications/j2ee-modules/brazos-ldap-ejb]: 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.util.EjbBundleValidator.accept(EjbBundleValidator.java:82)
at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:716)
at com.sun.enterprise.deployment.archivist.EjbArchivist.validate(EjbArchivist.java:177)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:777)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:731)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:329)
... 10 more
|#]
[#|2007-05-15T18:39:09.995-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-4848-0;|
RMIClient.getRMIClient: server|#]
[Message sent by forum member 'r_sudh' (r_sudh)]
http://forums.java.net/jive/thread.jspa?messageID=217251