-
1. Re: Datasource Recovery
daniel.celentano Feb 24, 2009 3:37 PM (in response to sambit_dixit)Hi Sambit,
When DB is running again then just make a touch to datasource file. This will redeploy all mbean related with datasource and restart conection pool.
After this touch your system will work fine again.
Daniel -
2. Re: Datasource Recovery
sambit_dixit Feb 24, 2009 5:53 PM (in response to sambit_dixit)Hi Daniel,
Thanks. The problem is access to production environment. I'm thinking of automating these steps. May be i have to write a connection-checker class and add the entry to -ds.xml file. This connection-checker class will check for connection and redeploy the mbean. Other approach would be to handle it programatically in the code where you get a connection from Datasource, we can redeploy the datasource again using the Mbean.
Regards
-Sambit -
3. Re: Datasource Recovery
daniel.celentano Feb 25, 2009 7:20 AM (in response to sambit_dixit)Sambit,
Rigth now you can do a re-deploy of you datasource from jmx-console.
And could be interesting for you this open source product:
http://www.jboss.org/jopr/
take a look!
Regards,
Daniel