javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager

liferay.com | 3 months ago
  1. 0

    Problem with primefaces monitorDownload - Forums | Liferay

    liferay.com | 11 months ago
    javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager
  2. 0

    Problem with primefaces monitorDownload - Forums

    liferay.com | 4 months ago
    javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager
  3. 0

    Problem with primefaces monitorDownload - Community Forums | Liferay

    liferay.com | 3 months ago
    javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1. start server 2. deploy demo jsf2-cdi-portlet.war, everything is OK 3. shutdown server 4. start server 5. jsf2-cdi-portlet.war is deployed before the root.war, BeanManager is found through jndi 6. LR finishes deploy, picks up jsf2-cdi-portlet.war, BeanManager is not found, NamingException is thrown Solution is to put jboss-all.xml into META-INF dir, to ensure that the war is deployed after LR. [Edit by Neil Griffin, August 31, 2013] The following stacktrace will appear when this issue occurs: {code} 16:12:34,741 INFO [stdout] (MSC service thread 1-11) 16:12:34,739 ERROR [MSC service thread 1-11][CDIContextListener:66] javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager 16:12:34,742 INFO [stdout] (MSC service thread 1-11) javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager 16:12:34,742 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97) 16:12:34,742 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178) 16:12:34,743 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123) 16:12:34,743 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214) 16:12:34,743 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.security.pacl.jndi.SchemeAwareContextWrapper.lookup(SchemeAwareContextWrapper.java:200) 16:12:34,743 INFO [stdout] (MSC service thread 1-11) at javax.naming.InitialContext.lookup(InitialContext.java:392) 16:12:34,744 INFO [stdout] (MSC service thread 1-11) at com.liferay.cdi.portlet.bridge.CDIContextListener.contextInitialized(CDIContextListener.java:61) 16:12:34,744 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:347) 16:12:34,744 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:163) 16:12:34,745 INFO [stdout] (MSC service thread 1-11) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 16:12:34,745 INFO [stdout] (MSC service thread 1-11) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 16:12:34,745 INFO [stdout] (MSC service thread 1-11) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:12:34,745 INFO [stdout] (MSC service thread 1-11) at java.lang.reflect.Method.invoke(Method.java:597) 16:12:34,746 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:73) 16:12:34,746 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:37) 16:12:34,746 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:195) 16:12:34,747 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:97) 16:12:34,747 INFO [stdout] (MSC service thread 1-11) at sun.reflect.GeneratedMethodAccessor499.invoke(Unknown Source) 16:12:34,747 INFO [stdout] (MSC service thread 1-11) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:12:34,747 INFO [stdout] (MSC service thread 1-11) at java.lang.reflect.Method.invoke(Method.java:597) 16:12:34,748 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88) 16:12:34,748 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56) 16:12:34,748 INFO [stdout] (MSC service thread 1-11) at com.sun.proxy.$Proxy87.fireDeployEvent(Unknown Source) 16:12:34,748 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27) 16:12:34,749 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) 16:12:34,749 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) 16:12:34,749 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) 16:12:34,749 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.kernel.util.PortalLifecycleUtil.flushInits(PortalLifecycleUtil.java:48) 16:12:34,750 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.servlet.MainServlet.initPlugins(MainServlet.java:847) 16:12:34,750 INFO [stdout] (MSC service thread 1-11) at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:366) 16:12:34,750 INFO [stdout] (MSC service thread 1-11) at javax.servlet.GenericServlet.init(GenericServlet.java:242) 16:12:34,750 INFO [stdout] (MSC service thread 1-11) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) 16:12:34,751 INFO [stdout] (MSC service thread 1-11) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) 16:12:34,751 INFO [stdout] (MSC service thread 1-11) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) 16:12:34,752 INFO [stdout] (MSC service thread 1-11) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) 16:12:34,752 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) 16:12:34,753 INFO [stdout] (MSC service thread 1-11) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) 16:12:34,753 INFO [stdout] (MSC service thread 1-11) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) 16:12:34,753 INFO [stdout] (MSC service thread 1-11) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) 16:12:34,754 INFO [stdout] (MSC service thread 1-11) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 16:12:34,754 INFO [stdout] (MSC service thread 1-11) at java.lang.Thread.run(Thread.java:680) {code}

    Liferay Issues | 3 years ago | Sri Hanuman
    javax.naming.NameNotFoundException: env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager 16:12:34,742 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97) 16:12:34,742 INFO [stdout] (MSC service thread 1-11) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
  6. 0

    RestComm Getting Started

    Google Groups | 2 years ago | DaveS
    javax.naming.NameNotFoundException: BeanManager -- service jboss.naming.context.java.module.restcomm-rvd.restcomm-rvd.BeanManager

  1. Andreas Häber 4 times, last 1 month ago
20 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. javax.naming.NameNotFoundException

    env/BeanManager -- service jboss.naming.context.java.module.ROOT.ROOT.env.BeanManager

    at org.jboss.as.naming.ServiceBasedNamingStore.lookup()
  2. JBoss Application Server: Naming Subsystem
    NamingContext.lookup
    1. org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)
    2. org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)
    3. org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)
    4. org.jboss.as.naming.InitialContext.lookup(InitialContext.java:122)
    5. org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)
    6. org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)
    6 frames
  3. Liferay Portal PACL
    SchemeAwareContextWrapper.lookup
    1. com.liferay.portal.security.pacl.jndi.SchemeAwareContextWrapper.lookup(SchemeAwareContextWrapper.java:200)
    1 frame
  4. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:411)
    1 frame
  5. com.liferay.cdi
    CDIContextListener.contextInitialized
    1. com.liferay.cdi.portlet.bridge.CDIContextListener.contextInitialized(CDIContextListener.java:61)
    1 frame
  6. Liferay Portal Service
    SecurePluginContextListener.instantiatingListeners
    1. com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:347)
    2. com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:163)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. Liferay Portal Impl
    HotDeployImpl.fireDeployEvent
    1. com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:73)
    2. com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:37)
    3. com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:195)
    4. com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:97)
    4 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  10. Liferay Portal Impl
    DoPrivilegedHandler.invoke
    1. com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
    2. com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
    2 frames
  11. com.sun.proxy
    $Proxy68.fireDeployEvent
    1. com.sun.proxy.$Proxy68.fireDeployEvent(Unknown Source)
    1 frame
  12. Liferay Portal Service
    PortalLifecycleUtil.flushInits
    1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
    2. com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
    3. com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
    4. com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
    5. com.liferay.portal.kernel.util.PortalLifecycleUtil.flushInits(PortalLifecycleUtil.java:48)
    5 frames
  13. Liferay Portal Impl
    MainServlet.init
    1. com.liferay.portal.servlet.MainServlet.initPlugins(MainServlet.java:847)
    2. com.liferay.portal.servlet.MainServlet.init(MainServlet.java:366)
    2 frames
  14. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:242)
    1 frame
  15. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:3798)
    4 frames
  16. JBoss Web
    WebDeploymentService$1.run
    1. org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
    2. org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
    3. org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
    3 frames
  17. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    6. java.lang.Thread.run(Thread.java:724)
    6 frames
  18. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:122)
    1 frame