tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alfonso Martinez <>
Subject Re: Configuring a Data Resource in web.xml
Date Mon, 16 Feb 2004 04:48:05 GMT
I don't think you can. 

In web.xml you only make the named DataSource available for your webapp, but the DataSource
must be setted up already (in server.xml)...

Therefore, I think there is no possible way to do it. Does anyone know a solution, I will
be interested to know it too!


On Sun, Feb 15, 2004 at 02:58:54PM -0800, Mike Duffy wrote:
> The reference book I have shows how to configure a data resource (JDBC) in the server.xml.
> Does anyone have a reference on how to do this in the web.xml?  
> I'd like to be able to unpack a war and have everything run, without the need to edit
> server.xml.
> Thanks for your help.
> Mike
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message