Networking Properties and 3dns

All we have a 3NDS installed which has two of our apache webservers configured in it. These webservers connect to our application server which hosts the jnlp file which launches the swing application which then talks to the webservers for information. My problem is that when one of the webservers goes down, 3DNS fails the dns ip address over to the server that is still running but my swing application is caching the address which is connects to which is the server that has gone down.

So my question is , is it true that the JVM caches DNS entries ?

And if so when i tried the network property changes networkaddress.cache.ttl and set it to 2, my swing application still did not try and request the new DNS address for my url it just kept trying to hit the server that was down.

So my second question is how can i make my swing application failover to the new server as per the dns resolvers active address.

[937 byte] By [462538BenCuthberta] at [2007-11-26 12:18:38]
# 1
Anyone got any ideas on this.
462538BenCuthberta at 2007-7-7 14:58:36 > top of Java-index,Archived Forums,Socket Programming...