Edit online

Web Author Caches the IP of the License Server Indefinitely

Problem

A license server connection issue is encountered in Oxygen XML Web Author when the IP address of the License Server changes.

Cause

When security is enabled in Oxygen XML Web Author, mapping from the DNS name of an external server (for example, the License Server) to its IP address are cached indefinitely. If the server is set up to have a dynamic IP address, Oxygen XML Web Author might attempt to use an outdated IP address, resulting in a failed connection.

Solution

To adjust the TTL (time to live) for DNS caching in Java, follow these steps:
  1. Open the <JAVA_HOME>/conf/security/java.security file in a text editor.
  2. Locate the line that starts with networkaddress.cache.ttl.
  3. Change the line to networkaddress.cache.ttl=60.
  4. Save and close the file.
  5. Restart Oxygen XML Web Author for the changes to take effect.