JBoss Cache Data Source issue with Database password Change !!
by Bh, Guruprasad (NSN - IN/Bangalore)
Hi All,
Currently we are using the JBoss Cache processor in our product as part
of Service Mix which is a JBI component !!
We are facing the below issue related to the password change when using
the Jboss Cache Processor !!
When we start the Service Mix, it will intaiate the cache object with
the datasource configured in the XML, but now if someone changes the
oracle password in between my cache data source needs to be get
refreshed/recreated automatically in the run time without restarting the
service mix.
But I am not able to do this, whenever there is a change in oracle DB
password the connection will fail because of wrong user name !!
So does anyone knows how to handle this as part of Jboss Cache ?
Or
How to fetch the datasource object from the cache object available to
update with the new password ?
Please let me know your answers as soon as possible !!
Regards
Guruprasad BH