tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alfonso Martinez <tril...@linuxcenter.com.mx>
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!

Jose

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
the
> server.xml.
> 
> Thanks for your help.
> 
> Mike
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message