Hi,
I am checking out the new Tomcat's jdbc-pool. So far it's great. I like JMX
monitoring feature.
I searched lists and google for how to change database password in the JNDI
data source and couldn't find anything. Can it be done?
If not, then can JMX MBean be extended with an operation to
hi Nicholas,
yes and no. You can change the password by simply doing
DataSource ds =
PoolConfiguration pcf = (PoolConfiguration)ds;
pcf.setPassword(...);
however, this change would only take into effect for newly created
connections, and not the ones already in the pool.
There is some