javax.naming.NameNotFoundException: Name jdbc is not bound in this > Context

nabble.com | 8 months 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.

Root Cause Analysis

  1. javax.naming.NameNotFoundException

    Name jdbc is not bound in this > Context

    at org.grails.tomcat.TomcatServer.start()
  2. org.grails.tomcat
    TomcatServer.start
    1. org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:135)
    1 frame
  3. grails.web.container
    EmbeddableServer$start.call
    1. grails.web.container.EmbeddableServer$start.call(Unknown Source)
    1 frame
  4. Unknown
    RunApp$_run_closure1.doCall
    1. _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy:158)
    2. _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy)
    3. _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:287)
    4. _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
    5. _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_groovy:149)
    6. _GrailsRun_groovy$_run_closure5.call(_GrailsRun_groovy)
    7. _GrailsRun_groovy.runInline(_GrailsRun_groovy:115)
    8. _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
    9. _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
    10. RunApp$_run_closure1.doCall(RunApp.groovy:33)
    10 frames
  5. gant
    Gant.processTargets
    1. gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
    2. gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
    3. gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
    4. gant.Gant.withBuildListeners(Gant.groovy:344)
    5. gant.Gant.this$2$withBuildListeners(Gant.groovy)
    6. gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
    7. gant.Gant.dispatch(Gant.groovy:334)
    8. gant.Gant.this$2$dispatch(Gant.groovy)
    9. gant.Gant.invokeMethod(Gant.groovy)
    10. gant.Gant.processTargets(Gant.groovy:495)
    11. gant.Gant.processTargets(Gant.groovy:480)
    11 frames