java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for /tmp/osgiapp8655262920282486946

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

    Netbeans, Glassfish deployment problem

    Stack Overflow | 6 years ago | DUKE
    java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for D:\Netbeans\myproject\build\web
  3. 0

    Glassfish V3.0 weird deployment error when using primefaces components - heapoverflow.me

    heapoverflow.me | 1 year ago
    java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for C:\jeeAplicationServer\glassfishv3\glassfish\domains\domain1\eclipseApps\GarbageTheWeb
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NetBeans Forums - 6.8 - Can't deploy Java EE 6 Enterprise Application

    netbeans.org | 1 year ago
    java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for C:\Users\admin\Documents\NetBeansProjects\EnterpriseApplication3\dist\gfdeploy\EnterpriseApplication3\EnterpriseApplication3-war_war
  6. 0

    Exception deploying webapp (.war file) to glassfish v3 beta 69. The webapp is a fairly complex application, but it is just a war. There are no ejbs involved. I checked, and I do have glassfish ejb container & glassfish ejb lite container installed in the update tool. The error message seems to indicate an error with the packaging of the app, but it does deploy just fine on tomcat & GF v2.1. In any case, the exception reported is not very helpful since it doesn't seem point me in the right direction. Here is the specific exception: java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for c:\src\svn\trunk\gui\target\WEBAPP at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:134) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:64) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:153) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:220) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:314) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1159) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1218) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1207) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410) at java.lang.Thread.run(Thread.java:619)

    Java.net JIRA | 7 years ago | dpb1
    java.lang.RuntimeException: Unable to load EJB module. DeploymentContext does not contain any EJB Check archive to ensure correct packaging for C:\Documents and Settings\isaque.pinto\My Documents\NetBeansProjects\FechaduraResidencial\build\web

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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()
    2. Embedded GlassFish Web
      EjbDeployer.load
      1. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:133)
      2. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
      2 frames
    3. Private APIs of Glassfish
      ApplicationInfo.load
      1. org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
      2. org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
      2 frames
    4. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
      2 frames
    5. Embedded GlassFish Web
      WebExtender.bundleChanged
      1. org.glassfish.osgiweb.JavaEEDeploymentRequest.deploy(JavaEEDeploymentRequest.java:158)
      2. org.glassfish.osgiweb.JavaEEDeploymentRequest.execute(JavaEEDeploymentRequest.java:119)
      3. org.glassfish.osgiweb.OSGiWebContainer.deployJavaEEArtifacts(OSGiWebContainer.java:147)
      4. org.glassfish.osgiweb.OSGiWebContainer.deploy(OSGiWebContainer.java:111)
      5. org.glassfish.osgiweb.WebExtender.deploy(WebExtender.java:166)
      6. org.glassfish.osgiweb.WebExtender.bundleChanged(WebExtender.java:118)
      6 frames
    6. Apache Felix Framework
      BundleImpl.start
      1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
      3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
      4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3576)
      5. org.apache.felix.framework.Felix.activateBundle(Felix.java:1690)
      6. org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
      7. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
      8. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
      8 frames
    7. Apache Felix File Install
      DirectoryWatcher.run
      1. org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
      2. org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
      3. org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
      4. org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
      5. org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
      5 frames