Consultor Eletrônico



Kbase P180907: Unable to connect from ABL or .NET client to remote AppServer when connecting through NameServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/01/2011
Status: Unverified

SYMPTOM(s):

Unable to connect from ABL or .NET client to remote AppServer when connecting through NameServer

Using the -DirectConnect ABL or .NET client can connect to remote AppServer

The ABL or .NET client can connect from the local AppServer when going through the NameServer

The nsman -q shows AppServer is registered to the NameServer using localhost/127.0.0.1

AppServer registrationMode is set to default which is Register-IP

AdminServer is forced to bound to a specific IP Address on multi NIC server with -cluster switch on the proadsv command since it was also initially bound to localhost

All the configurations were working before restarting server with rootvg cloned image

FACT(s) (Environment):

Windows
OpenEdge 10.1x
OpenEdge 10.2x

CHANGE:

AIX server 5.3 TL10 server is changed to clone rootvg to a alternate disk at the 5.3 TL12 level (5300-12-02-1036) and booted on the clone image.

CAUSE:

The exact cause is unknown at the time of this writing as to why AdminServer and the AppServer broker were using localhost/127.0.01 to bound to and to register with the NameServer

FIX:

The workaround is to use registrationMode on the Appserver to Register-HostName and specify "hostName=" with the intended IP address or the IP address that the AdminServer is forced to bound to. You can accomplish this using Progress Explorer or OE Explorer under "Controlling NameServer" page ir by editing the DLC/properties/ubroker.properties file, where DLC is OpenEdge installation directory. Use the following example if you are manually modifying the ubroker.properties file:

The following excerpt is taken from the windows installation of OE10.2B. Look at the bottom two properties which, by default do not exist on the [UBroker.AS] section. The bottom two parameters are in the [UBroker] section, which is a default section. If you modify it on the [UBroker] section, the property value will be effective for all kinds of unified brokers listed on the ubroker.properties file.

[UBroker.AS]
4glSrcCompile=0
appServerKeepaliveCapabilities=denyClientASK,denyServerASK
classMain=com.progress.ubroker.broker.ubroker
compressionEnable=0
debuggerEnabled=0
defaultService=0
description=AppServer Broker
mqBrkrLogAppend=1
mqBrkrLogEntries=0
mqBrkrLogEntryTypes=UBroker.Basic
mqBrkrLoggingLevel=2
mqBrkrLogThreshold=0
mqBrkrNumLogFiles=3
mqBrokerLogFile=@{WorkPath}\mqbroker.log
mqEnabled=0
mqServerLogFile=@{WorkPath}\mqserver.log
mqSrvrLogAppend=1
mqSrvrLogEntries=0
mqSrvrLogEntryTypes=UBroker.Basic
mqSrvrLoggingLevel=2
mqSrvrLogThreshold=0
mqSrvrNumLogFiles=3
operatingMode=State-reset
portNumber=3090
serverASKActivityTimeout=60
serverASKResponseTimeout=60
srvrActivateProc=
srvrConnectProc=
srvrDeactivateProc=
srvrDisconnProc=
srvrExecFile="@{Startup\DLC}\bin\_proapsv.exe"
srvrLogEntryTypes=ASPlumbing,DB.Connects
srvrMaxPort=2202
srvrMinPort=2002
srvrShutdownProc=
srvrStartupParam=
srvrStartupProc=
srvrStartupProcParam=
registrationMode=Register-HostName
hostName=<IP Address the AdminServer is bound to>