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

nabble.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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$0.call
    1. grails.web.container.EmbeddableServer$start$0.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. _GrailsRun_groovy$_run_closure8_closure14.doCall(_GrailsRun_groovy:257)
    11. _GrailsRun_groovy$_run_closure8_closure14.doCall(_GrailsRun_groovy)
    12. _GrailsPackage_groovy$_run_closure8.doCall(_GrailsPackage_groovy:293)
    13. _GrailsPackage_groovy$_run_closure8.call(_GrailsPackage_groovy)
    14. _GrailsRun_groovy$_run_closure8.doCall(_GrailsRun_groovy:242)
    15. RunApp$_run_closure1.doCall(RunApp.groovy:35)
    15 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