Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

How do I configure datasources using ANT?

Riaan Oberholzer

2003-06-18


Is there a way to configure a datasource using ant
that will result in the server.xml updated to give me
datasources? I can delete, update and deploy
applications to Tomcat using the catalina-ant.jar
tasks, but can I also create/edit datasource?

I have done it in BEA WebLogic before, just not sure
how to do it in Tomcat....

I would like my ant script to have the dburl, driver,
username, password etc as propeties and automatically
create the datasource and underlying connection pool
(using those settings). I suspect I will have to use
the "Resources" task? Is it at all possible?


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.