Products | Versions |
---|---|
TIBCO ActiveSpaces | - |
Not Applicable | - |
Description:
Linux OS multiple TCP discovery URL is not working if given a port other than default port of "50000".
The following command does not work in Linux.
================================================================
java -jar as-agent.jar -metaspace product_metaspace -discovery tcp://SLHOST22:50051;SLHOST23:50051 -listen tcp://SLHOST22:50051
The following error is thrown:
WARNING][ms.$gmp][MemberManager.cpp:998][MemberManager::processMemberConnectTimeout] waiting for discovery nodes, retry count [3]
The same works in Windows.
==================================================================
"
Waiting for discovery nodes [tcp://192.168.200.122:50051]to come up, restart discovery.
"
Sample console output is shown below.
=========================================================
The Linux semi-colon (;) is interpreted as an end of command so the -listen options is not seen on the listen ports when started. as-agent /as-admin will start on the default listen port of 50000.
Add a double quote ("") for the discovery URL in the as-agent /as-admin command .
=====================================
Example : java -jar as-agent.jar -metaspace product_metaspace -discovery "tcp://SLHOST22:50051;SLHOST23:50051" -listen tcp://SLHOST22:50051
=====================================