Because I have several applications which share the same dataource.
David Smith-2 wrote: > > Ok... this begs the question: Why did you add the datasource to > $TOMCAT_BASE/conf/context.xml? The datasource should be in your > individual webapp's context.xml file where all you have to do is restart > the webapp via the manager webapp. > > --David > > shunhecun wrote: > >>Hi, >> >>I added a jdbc datasource to $TOMCAT_BASE/conf/context.xml using W3C DOM. >>But I have to restart the server find the new resource. >> >>I wonder is there a way to add new resources to >>$TOMCAT_BASE/conf/context.xml on Tomcat 5.5.23, without restarting server to >>find it? >> >>Regards, >>cun >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.5.23%3A-adding-datasource-to--conf-context.xml-without-restarting-server-to-find-it--tf4318541.html#a12309071 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]