i have never heard of this config file: $CATALINA_HOME/conf/Catalina/localhost/<app_name>.xml
i defined the resource in server.xml. i use Tomcat 4 myself. Did you post your server.xml and web.xml files? -paul. ----- Original Message ----- From: "David Smith" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 09, 2004 1:52 PM Subject: Re: JNDI Datasource Reference in DD Not Necessary? > > that error looks like a name is specified incorrectly in web.xml file, > > either the global name of the datasource or the local name of that > > connection to the global data source more likely. > > > > the local instance of the global data source name should be specified > > explicity in a server.xml context and explicity in the web.xml file. > > Checked that (several times) and all names tie in.... > > is there a difference in having the connection defined in > $CATALINA_HOME/conf/server.xml or in > $CATALINA_HOME/conf/Catalina/localhost/<app_name>.xml > > (I'm using Tomcat 5.0.19) > > My app context and connection is currently defined in <app_name>.xml > > Have to say I don't feel i'm getting any closer with this at the > moment... > > I may start the whole thing again tomorrow morning and just build the > example to see if i can get it working... > > any other suggestions ? > > (Cheers for all the help so far) > -- > David Smith <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
