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.
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Observed: I'm using GF 2 (v2ur2) and I'm starting with clean userdir. When I create a new blank EJB Module, I can't run it, because of ... Deploying application in domain failed; Unrecognized module type for /home/cawe/NetBeansProjects/EJBModule13/build/jar; the archive may be incorrectly constructed, non-existent, or inaccessible from the server. For example, an application client jar should include the proper manifest file entry, and an ejb jar should contain at least one EJB. /home/cawe/NetBeansProjects/EJBModule13/nbproject/build-impl.xml:400: The module has not been deployed. BUILD FAILED (total time: 2 seconds) FROM GlassFish V2 com.sun.enterprise.admin.common.exception.DeploymentException: Unrecognized module type for /home/cawe/NetBeansProjects/EJBModule13/build/jar; the archive may be incorrectly constructed, non-existent, or inaccessible from the server. For example, an application client jar should include the proper manifest file entry, and an ejb jar should contain at least one EJB. at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getTypeFromFile(DeploymentServiceUtils.java:1175) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:734) 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.io.IOException: Cannot determine the Java EE module type for /home/cawe/NetBeansProjects/EJBModule13/build/jar at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:137) at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:98) at com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivistForArchive(ArchivistFactory.java:101) at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getTypeFromFile(DeploymentServiceUtils.java:1170) ... 3 more
I'm sorry, I haven't any Session Bean in the Module, that was the mistake.
Verified.