BSA does not modify this setting in the JVM and so it should be working with the default value of -1. You can modify this value as per your requirement.
If this needs to be done by passing a JVM parameters then modify the appserver-option.properties and add the parameters to JVM args
Could you confirm which java.security file I would need to modify to change this value? There are several within the appserver's install directory...
If it has to be passed as a system property argument, it must be done using this option:
...because networkaddress.cache.ttl is a security setting and not a system property. So does this mean I should edit my deployment's appserver-options.properties, and add "-Dsun.net.inetaddr.ttl=value" to the JVMArgs= line?
What's the best way to do it, and more importantly, how can I confirm it's been set properly?
EDIT: I might have answered my own question... I started the bljconsole and checked the VM Summary tab, and I do see it set in the VM arguments.
I just did a quick test, it seems that the system property root may not work, as this has to be programatically set and passing it as JVM args does not seem to work. Although Oracle documentation states there are system properties but which are internal.
Please make the change in the java.security file accordingly.
Our replies crossed each other... According to IBM Understanding, Tuning, and Testing the InetAddress Class and Cache - United States it's supposed to work when using the proper system property, but the java.security setting takes precedence, so I might as well set it in the java.security file instead.
Thus my question: which file is the good one to modify? I see the following on my server:
I would think it's the second one (in NSH\jre\lib\security), but please confirm.
1 of 1 people found this helpful
This java.security file under (NSH\jre\lib\security) you need to modify to see any changes on the application server