Java Mailing List Archive

http://www.junlu.com/

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

Defining datasource resource

Luise Massimo

2004-06-18


Hi all,

I have a problem defining datasources into server.xml: the datasource to define are too much (over 200 !) to manage them via admin interface.
There are other way ? Is it possible to define a template of datasource resource and then change jdbc url at runtime ?
Till now i have managed all things searching datasources under a different JDNI context (not the standard one java:comp/env/jdbc), rebinding first time not found... but i don't like this solution!

hope someone can help...thanks


---------------------------------------------------------------------
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.