Consultor Eletrônico



Kbase P12799: How to connect different clients to different databases using different AppServers but the same Name
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/6/2008
Status: Verified

GOAL:

How to connect different clients to different databases using different AppServers but the same NameServer.

GOAL:

Can I connect different clients to different databases using different AppServers while using the same NameServer?

FACT(s) (Environment):

OpenEdge 10.x
UNIX
Windows
OpenEdge Server Technology Category: AppServer
Progress 9.1x

FIX:

Two AppServers must be created with connection parameters to the appropriate database. Both can register with the same nameserver (NS1). In the connection program the proper -AppService must be defined:

ret = hAppSrv:CONNECT("-AppService AS1 -H localhost -S 5162","user","password"

and

ret = hAppSrv:CONNECT("-AppService AS2 -H localhost -S 5162","user","password"