• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

URGENT: jdk parameter to expire IP cache

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

The following jdk parameter will expire the IP cache in JDK 1.4.
-Dnetworkaddress.cache.ttl=60

Could you please let me know,whether this option will work in JDK 1.3 too.
or there are any other option in JDK 1.3 to expire IP cache?

Regards,
Biswajit Paria
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Putting "URGENT" in the topic title does not help. Remember that people answering your questions here are just volunteers who do not have any obligation to you; read this: Ease Up.

The API documentation for class java.net.InetAddress for Java 1.4.2 mention this networking property, but the documentation for Java 1.3.1 does not. So most likely this setting does not exist in version 1.3.1.
 
Biswajit Paria
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about -Dsun.net.inetaddr.ttl parameter?
Could anyone please look into it?

Thanks,
Biswajit.
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Could anyone please look into it?"

Why don't you look into it yourself? Type in "sun.net.inetaddr.ttl" into Google.

How about trying it out on Java 1.3 and see if it works or not?

Found this with Google: DNS Cache Timeout
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic