It's the JVM that caches DNS entries forever by default - which is an annoying thing 
for it to do.

You can change the settings in two ways:

1) Set "sun.net.inetaddr.ttl" system property
e.g. -Dsun.net.inetaddr.ttl=30 in JAVA_OPTS when starting JBoss to limit the caching 
to 30 seconds

2) Set "networkaddress.cache.ttl" security property (I assume in a policy file) - this 
does the same thing and isn't a sun specific property so it isn't liable to change.

There's some documentation on this here: 
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830718#3830718

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830718


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to