-
March 14th, 2022, 10:53 AM
#1
Hi Matt,
I'm sorry that the instructions have been somewhat misleading for you.
In fact, in case of remote adapter deployment, in the folder there is only the configuration file with the information for the connection of the remote counterparts.
Contrary to what happens with in-process adapters which also contain all the necessary libraries. We used the same phrase in the instructions for both cases.
About the connection errors you see, these aren't really fatal errors. In fact, the logic of the adapter is to launch the connection procedure for all three ports at the same time.
But at the beginning the server waits only on 8003, the metadata, when this is connected, opens the listening also on the Data Adapter ports 8001 and 8002.
What happens in the adapter is that in the first attempt only the connection to port 8003 succeeds while the other two print the error messages.
But on the second attempt they succeed too and the server can start (see this piece of code: https://github.com/Lightstreamer/Lig...connect.js#L24)
Maybe there is missing a message to the console that informs of connection success; I will add it.
Now your questions:
1. This depend on how the Proxy Adapter is configured in the Lightstreamer server side.
There exist two flavors of Proxy MetaData Adapter: PROXY_FOR_REMOTE_ADAPTER (non-robust) and ROBUST_PROXY_FOR_REMOTE_ADAPTER (robust).
In case of non-robust the Lightstreamer server not to start accepting client sessions until all Remote Adapters connect.
In case of robust, the Lightstreamer server after a configurable timeout starts anyway.
For more details about robust configuration please refer here: https://lightstreamer.com/docs/ls-se...e/adapters.xml
2. No, The Lightstreamer server waits (for an indefinite time) for connection on all the tcp ports configured in the adapters.xml configuration file.
When all are connected it can start.
3. No, the example seems to work well anyway, but I'll update the console messaging to avoid confusion.
Regards,
Giuseppe
Similar Threads
-
By domisol in forum Client SDKs
Replies: 2
Last Post: May 29th, 2020, 10:29 AM
-
By Alessandro in forum Adapter SDKs
Replies: 0
Last Post: May 9th, 2013, 03:33 PM
-
By chanro4 in forum Client SDKs
Replies: 4
Last Post: January 19th, 2011, 09:29 AM
-
By kumar117 in forum General
Replies: 3
Last Post: June 11th, 2010, 09:45 AM
-
By jaguarg in forum Client SDKs
Replies: 1
Last Post: November 6th, 2008, 08:44 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:52 AM.
Bookmarks