Consultor Eletrônico



Kbase P107118: Added new AppServer instance and now unable to connect to any AppServer, Error indicates [Default]
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/2/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1x

SYMPTOM(s):

Java application uses Open Client Toolkit to invoke programs on an AppServer

Second AppServer instance was added to server for testing purposes

All requests to connect from Java to the second AppServer are being redirected to the first AppServer

First AppServer has 'default service' functionality turned on

If 'default service' functionality is turned off the Java client cannot connect to any AppServer instance

Connect Failure: Application Service [Default] Unknown at NameServer at Host <x> Port <n>. (8234)

CAUSE:

When Java code was originally written (using 9.0A) the generated code from ProxyGen was improperly added to the 9.0A progress.jar file and that jar file has been used ever since to connect to the original AppServer (which had the 'default service' functionality turned on). The connection was only working because the 'default service' was turned on for the original AppServer. Once the second AppServer was added and the 'default service' functionality was turned off the connection failure started.

FIX:

Regenerate the Java proxy files using the currently installed version of Progress then redeploy the new proxy files along with the Open Client Runtime jar file (o4glrt.jar) instead of the progress.jar file.