javax.naming.NameNotFoundException: No object bound to name java:comp/env/jms

Oracle Community | cthinkel | 5 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 JMS - No object bound to name java:comp/env/jms

    Oracle Community | 5 years ago | cthinkel
    javax.naming.NameNotFoundException: No object bound to name java:comp/env/jms
  2. 0

    I'm trying to configure my application with Glassfish 4 + Spring 4 + JPA but I still getting the same error with JNDI

    Stack Overflow | 1 year ago | Eric DZ
    javax.naming.NamingException: Lookup failed for 'java:comp/TransactionManager' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: No object bound to name java:comp/TransactionManager]

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      No object bound to name java:comp/env/jms

      at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup()
    2. Glassfish Naming
      JavaURLContext.lookup
      1. com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
      2. com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744)
      3. com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:169)
      3 frames
    3. com.isomorphic.messaging
      MessagingServlet.doPost
      1. com.isomorphic.messaging.JMSMessageDispatcher.reconnect(JMSMessageDispatcher.java:78)
      2. com.isomorphic.messaging.JMSMessageDispatcher.ensureConnected(JMSMessageDispatcher.java:100)
      3. com.isomorphic.messaging.JMSMessageDispatcher.subscribe(JMSMessageDispatcher.java:131)
      4. com.isomorphic.messaging.ISCMessageDispatcher.subscribe(ISCMessageDispatcher.java:149)
      5. com.isomorphic.messaging.MessagingConnectionHandler.registerSubscriber(MessagingConnectionHandler.java:282)
      6. com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:114)
      7. com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
      7 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      1 frame
    5. com.isomorphic.servlet
      BaseServlet.service
      1. com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      3 frames
    8. com.isomorphic.servlet
      CompressionFilter.doFilter
      1. com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
      1 frame
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      8. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      9 frames
    10. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      2 frames
    11. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame