com.sun.enterprise.admin.common.exception.DeploymentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Glassfish V2, deploying EJB module
    via by mstn,
    • com.sun.enterprise.admin.common.exception.DeploymentException: Unrecognized module type for /ssi/work/sample-code/EJBModulePersistence/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:1273) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:752) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225) Caused by: java.io.IOException: Cannot determine the Java EE module type for /frey0/ssi/work/sample-code/EJBModulePersistence/build/jar at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:140) at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:98) at com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivistForArchive(ArchivistFactory.java:104) at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getTypeFromFile(DeploymentServiceUtils.java:1268)
    No Bugmate found.