javax.naming.NameNotFoundException: Name [mail/jbpmMailSession] is not bound in this Context. Unable to find [mail].

Google Groups | Abhijit Gupta | 4 months ago
  1. 0

    Changing the WorkItemHandler for email in kie-wb-deployment-descriptor not reflecting

    Google Groups | 4 months ago | Abhijit Gupta
    javax.naming.NameNotFoundException: Name [mail/jbpmMailSession] is not bound in this Context. Unable to find [mail].
  2. 0

    Tomcat 7.0.54 Psi probe not listing global datasource configured on server.xml

    GitHub | 2 years ago | GoogleCodeExporter
    javax.naming.NameNotFoundException: Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
  3. 0

    deploy war failed: javax.naming.NameNotFoundException: Name [jdbc/schildershop] is not bound in this Context. Unable to find [jdbc]

    Stack Overflow | 2 years ago | LisaMM
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/dao.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [jdbc/schildershop] is not bound in this Context. Unable to find [jdbc].
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ServletContextListener losing JNDI connection on restart

    Stack Overflow | 3 years ago
    javax.naming.NameNotFoundException: Name [comp/env/jdbc/somedb] is not bound in this Context. Unable to find [comp]. PooledConnection has already been closed.
  6. 0

    How to create JNDI context in Spring Boot with Embedded Tomcat Container

    Stack Overflow | 2 years ago | DaShaun
    javax.naming.NameNotFoundException: Name [comp/env/jdbc/mydatasource] is not bound in this Context. Unable to find [comp].
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

    Name [mail/jbpmMailSession] is not bound in this Context. Unable to find [mail].

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    SelectorContext.lookup
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:819)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:167)
    3. org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)
    3 frames
  3. Java RT
    InitialContext.doLookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:417)
    2. javax.naming.InitialContext.doLookup(InitialContext.java:290)
    2 frames
  4. jBPM :: WorkItems
    EmailWorkItemHandler.executeWorkItem
    1. org.jbpm.process.workitem.email.SendHtml.getSession(SendHtml.java:185)
    2. org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:58)
    3. org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:49)
    4. org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem(EmailWorkItemHandler.java:82)
    4 frames
  5. Drools :: Persistence :: JPA
    JPAWorkItemManager.internalExecuteWorkItem
    1. org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:69)
    1 frame
  6. org.jbpm.workflow
    NodeInstanceImpl.trigger
    1. org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:138)
    2. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
    3. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
    4. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
    5. org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)
    6. org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)
    7. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
    7 frames
  7. org.jbpm.ruleflow
    RuleFlowProcessInstance.internalStart
    1. org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
    1 frame
  8. org.jbpm.process
    ProcessInstanceImpl.start
    1. org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)
    1 frame
  9. org.jbpm.workflow
    WorkflowProcessInstanceImpl.start
    1. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:439)
    1 frame
  10. org.jbpm.process
    ProcessRuntimeImpl.startProcess
    1. org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:208)
    2. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:191)
    3. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:183)
    3 frames
  11. Drools :: Core
    AbstractInterceptor.executeNext
    1. org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1787)
    2. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)
    3. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)
    4. org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
    5. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
    5 frames
  12. Drools :: Persistence :: JPA
    SingleSessionCommandService$TransactionInterceptor.execute
    1. org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:584)
    1 frame
  13. Drools :: Core
    AbstractInterceptor.executeNext
    1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
    1 frame
  14. Drools :: Persistence :: JPA
    OptimisticLockRetryInterceptor.execute
    1. org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82)
    1 frame
  15. Drools :: Core
    AbstractInterceptor.executeNext
    1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
    1 frame
  16. Drools :: Persistence :: JPA
    SingleSessionCommandService.execute
    1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73)
    2. org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:377)
    2 frames
  17. Drools :: Core
    CommandBasedStatefulKnowledgeSession.execute
    1. org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.execute(CommandBasedStatefulKnowledgeSession.java:490)
    1 frame
  18. jBPM :: KIE Services
    ProcessServiceImpl.execute
    1. org.jbpm.kie.services.impl.ProcessServiceImpl.execute(ProcessServiceImpl.java:488)
    1 frame
  19. jBPM :: CDI Services
    ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.execute
    1. org.jbpm.services.cdi.impl.ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.execute(ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.java)
    1 frame
  20. KIE
    ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.execute
    1. org.kie.remote.services.cdi.ProcessRequestBean.doKieSessionOperation(ProcessRequestBean.java:295)
    2. org.kie.remote.services.cdi.ProcessRequestBean.processCommand(ProcessRequestBean.java:202)
    3. org.kie.remote.services.cdi.ProcessRequestBean$Proxy$_$$_WeldClientProxy.processCommand(ProcessRequestBean$Proxy$_$$_WeldClientProxy.java)
    4. org.kie.remote.services.util.ExecuteCommandUtil.restProcessJaxbCommandsRequest(ExecuteCommandUtil.java:59)
    5. org.kie.remote.services.rest.ExecuteResourceImpl.execute(ExecuteResourceImpl.java:60)
    6. org.kie.remote.services.rest.ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.execute(ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.java)
    6 frames
  21. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  22. RESTEasy JAX-RS Implementation
    HttpServletDispatcher.service
    1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168)
    2. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
    3. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
    4. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
    5. org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541)
    6. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523)
    7. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125)
    8. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
    9. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
    10. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
    10 frames
  23. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    1 frame
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  25. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  26. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  27. KIE
    DynamicJaxbContextFilter.doFilter
    1. org.kie.remote.services.rest.jaxb.DynamicJaxbContextFilter.doFilter(DynamicJaxbContextFilter.java:63)
    1 frame
  28. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  29. org.uberfire.ext
    BasicAuthSecurityFilter.doFilter
    1. org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:53)
    1 frame
  30. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  31. org.uberfire.ext
    SecureHeadersFilter.doFilter
    1. org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:53)
    1 frame
  32. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  33. org.uberfire.ext
    SecurityIntegrationFilter.doFilter
    1. org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:45)
    1 frame
  34. Glassfish Core
    ErrorReportValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    7 frames
  35. org.kie.integration
    JACCValve.invoke
    1. org.kie.integration.tomcat.JACCValve.invoke(JACCValve.java:101)
    1 frame
  36. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    3 frames
  37. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
    4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
    4 frames
  38. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  39. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  40. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame