java.lang.RuntimeException: Unable to load EJB module. > DeploymentContext does not contain any EJB Check archive to ensure > correct packaging for /tmp/osgiapp8655262920282486946 > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:133) > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63) > at > org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175) > at > org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.deploy(JavaEEDeploymentRequest.java:158) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.execute(JavaEEDeploymentRequest.java:119) > > at > org.glassfish.osgiweb.OSGiWebContainer.deployJavaEEArtifacts(OSGiWebContainer.java:147) > > at > org.glassfish.osgiweb.OSGiWebContainer.deploy(OSGiWebContainer.java:111) >

Oracle Community | 392 Guest | 7 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

    Deployment of converged webapp as osgi bundle...

    Oracle Community | 7 years ago | 392 Guest
    java.lang.RuntimeException: Unable to load EJB module. > DeploymentContext does not contain any EJB Check archive to ensure > correct packaging for /tmp/osgiapp8655262920282486946 > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:133) > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63) > at > org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175) > at > org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.deploy(JavaEEDeploymentRequest.java:158) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.execute(JavaEEDeploymentRequest.java:119) > > at > org.glassfish.osgiweb.OSGiWebContainer.deployJavaEEArtifacts(OSGiWebContainer.java:147) > > at > org.glassfish.osgiweb.OSGiWebContainer.deploy(OSGiWebContainer.java:111) >

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unable to load EJB module. > DeploymentContext does not contain any EJB Check archive to ensure > correct packaging for /tmp/osgiapp8655262920282486946 > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:133) > at > org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63) > at > org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175) > at > org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338) > > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.deploy(JavaEEDeploymentRequest.java:158) > > at > org.glassfish.osgiweb.JavaEEDeploymentRequest.execute(JavaEEDeploymentRequest.java:119) > > at > org.glassfish.osgiweb.OSGiWebContainer.deployJavaEEArtifacts(OSGiWebContainer.java:147) > > at > org.glassfish.osgiweb.OSGiWebContainer.deploy(OSGiWebContainer.java:111) >

      at org.glassfish.osgiweb.WebExtender.deploy()
    2. Embedded GlassFish Web
      WebExtender.deploy
      1. org.glassfish.osgiweb.WebExtender.deploy(WebExtender.java:166)
      1 frame