on 05-27-2009 3:25 PM
Greetings, we are in the process of moving several external interfaces (webmethods systems) that our AS Java instance uses to send data to our backend ERP system. The move involves changing the ip address of the server that webmethods is hosted on, however keeping the hostname the same. In our past efforts, one of the issues we seem to run into all of the time, is that the AS Java instance caches that ip address and fails to refresh the lookup in a timely manner. Typically to solve this problem, we must restart to allow the AS Java instance to correctly pickup the new ip address of the hostname. Has anyone experienced this same type of issue or have any thoughts on how to overcome the problem?
Hi, the caching is done by the JVM itself not by the J2EE Server so it cannot be changed at runtime, a restart of the VM is required.
See the documentation on InetAddress Caching here http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great reference, thank you for the reply and answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.