Creating a Web Application with Ant and Tomcat 4
Subject:   Name jdbc is not bound in this Context
Date:   2003-01-26 14:40:00
From:   anonymous2
I am getting this error in my log file. I built the app from Ant with no problems. Do I need to reference the context.xml in the web.xml?

This is the full error:

2003-01-26 16:29:33 Couldn't create addressesDB sttribute: Couldn't open connection to Public database: Name jdbc is not bound in this Context

I also get this error that may be related.
2003-01-26 16:11:24 StandardContext[/AddressBook]: Exception sending context destroyed event to listener instance of class AddressBook.ContextListener
at AddressBook.ContextListener.contextDestroyed(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStop(
at org.apache.catalina.core.StandardContext.stop(
at org.apache.catalina.core.ContainerBase.removeChild(
at org.apache.catalina.core.StandardHostDeployer.remove(
at org.apache.catalina.core.StandardHost.remove(
at org.apache.catalina.startup.HostConfig.undeployApps(
at org.apache.catalina.startup.HostConfig.stop(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.ContainerBase.stop(
at org.apache.catalina.core.ContainerBase.stop(
at org.apache.catalina.core.StandardService.stop(
at org.apache.catalina.core.StandardServer.stop(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(

1 to 1 of 1
  1. Name jdbc is not bound in this Context
    2003-01-27 13:51:17  anonymous2 [View]

    • Name jdbc is not bound in this Context
      2003-10-29 17:05:35  anonymous2 [View]

1 to 1 of 1