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.

Oracle Community | mstn | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Glassfish V2, deploying EJB module

    Oracle Community | 8 years ago | 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.
  2. 0

    Verify EJB after Cannot determine the Java EE module type for

    Oracle Community | 9 years ago | 843830
    java.io.IOException: Cannot determine the Java EE module type for C:\Mystuff\projects\Naki\Naki-ejb\dist\Naki-ejb.jar

    Root Cause Analysis

    1. 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()
    2. Deployment Object Library
      ArchivistFactory.getArchivistForArchive
      1. com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:140)
      2. com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:98)
      3. com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivistForArchive(ArchivistFactory.java:104)
      3 frames
    3. com.sun.enterprise
      DeploymentServiceUtils.getTypeFromFile
      1. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getTypeFromFile(DeploymentServiceUtils.java:1268)
      1 frame