You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luise Massimo <ml...@computercenter.it> on 2002/10/03 18:10:16 UTC
JDBC Data sources
Hi all,
i have a question about jdbc data sources managed by tomcat 4.0
is possible to change the dbname of a connection pooled out from a data
source through "envCtx.lookup( ... )" at runtime ?
i have a single servlet that need to access multiple db and the dbname
is passed in via http parameters......i have no possibility to change
web.xml every time a new db is created (so i can't create a new
<resource> entry in application web.xml file).
now i'm using poolman and with it i can create a new pool metada with
the right dbname and then a new pool of connection at runtime.
Can someone help me ? TIA
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>