This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This problem was reported to the team 3 days ago by Tony but issue was not created for some reason. Steps to reproduce: - Create StockService sample project. - Deploy it. - Deployment fails with the following output: ... deployment started : 0% Deploying application in domain failed; Error loading deployment descriptors for module [StockQuoteService5] -- Invalid ejb jar [StockQuoteService-ejb.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. D:\Sun\Temp\StockQuoteService5\StockQuoteService5\nbproject\build-impl.xml:182: Deployment error: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 5 seconds) There is a workaround for this problem - restart IDE. But if you enable security or change the security mechanism after restart you will need to restart IDE again ... So, this workaround helps temporarily.
Created attachment 44532 [details] Application Server log
*** This issue has been marked as a duplicate of 108075 ***