Consultor Eletrônico



Kbase P136531: Nameserver pings 4gl sonic adapter, adapter doesn?t respond, listeners go down shortly after that, a
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/07/2009
Status: Verified

SYMPTOM(s):

Nameserver pings 4gl sonic adapter, adapter doesn?t respond, listeners go down shortly after that, and won?t reconnect to SonicMQ Broker

DNS resolution by Java processes receive time out error.

SonicMQ Adapter un-registers from the NameServer

Errors from nsman output:
NameServer NS1 running on Host <hostname> Port 5162 Timeout 30 seconds.

Putting hostname entries in hosts file and modifying /etc
etsvc.conf prevents timeouts.

FACT(s) (Environment):

IBM AIX
OpenEdge 10.1B

CAUSE:

This has been identified as a Java issue.
The problem appears to be that the JVM performs both IPv6 and IPv4 queries. If the Domain Name System (DNS) server is not setup to handle IPv6 queries, the application may issue an unknown host exception. If the DNS is not setup to handle IPv6 queries properly, the application must wait for the IPv6 query to time out.

FIX:

Add -Djava.net.preferIPv4Stack=true to the jvmargs settings of the AdminServerPlugins.properties (10.0 and later) or AdminServerPlugins.dat files (9.1E and prior).

A restart of the AdminServer and all brokers will be necessary after this change is made to implement the change.

This can be added for all broker plugins.

Examples:
[Plugin.AppServer]
dependency=Plugin.System,Plugin.UBPropMgr
uniquetype=AS
license=25165824
classname=com.progress.ubroker.tools.UBGuiPlugin
jvmargs=-Djava.net.preferIPv4Stack=true
pluginargs=AppServer

[Plugin.NameServer]
dependency=Plugin.System,Plugin.UBPropMgr
uniquetype=NS
license=4718592
classname=com.progress.ubroker.tools.NSGuiPlugin
jvmargs=-Djava.net.preferIPv4Stack=true
pluginargs=NameServer