Re: tomcat cache database server IP forever

2016-06-16 Thread Niranjan Babu Bommu
Thanks Chris, thanks for the lead on this, will test this scenario and update on this. Thanks Niranjan On Tue, Jun 14, 2016 at 3:56 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Niranjan, > > On 6/14/16 10:06 AM, Niranjan Ba

Re: tomcat cache database server IP forever

2016-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 6/14/16 10:06 AM, Niranjan Babu Bommu wrote: > Thanks for your reply, here I'm attaching server.xml file in this > email. > > actually we are running MHA for mysql where we can spin up new db > server and add to the cluster or change

Re: tomcat cache database server IP forever

2016-06-14 Thread Niranjan Babu Bommu
Hi Mark, Thanks for your reply, here I'm attaching server.xml file in this email. actually we are running MHA for mysql where we can spin up new db server and add to the cluster or change the IP of db server without impacting end user. our application is running on both tomcat and jboss we swi

Re: tomcat cache database server IP forever

2016-06-14 Thread Mark Thomas
On 13/06/2016 19:21, Niranjan Babu Bommu wrote: > Hi All, > > I have an issue with tomcat dns cache ttl, That simply is not possible. Tomcat doesn't cache DNS entries. > where if I change the IP address > of the database, tomcat still sending connection requests to an old IP > until I restart to

tomcat cache database server IP forever

2016-06-13 Thread Niranjan Babu Bommu
Hi All, I have an issue with tomcat dns cache ttl, where if I change the IP address of the database, tomcat still sending connection requests to an old IP until I restart tomcat, this is not the case with Jboss. I verified in java security, this what we have in java. #networkaddress.cache.ttl=-1