Note that the initialization of the Adapters is done in sequence (and no specific order is followed). In your case, the Server tries to initialize the HaSTC Proxy Adapter first and it waits for a connection from the HaSTC Remote Adapter before moving to HoSE.
In fact, the configuration contains some errors:
- The two Remote Adapters should use different communication ports. Currently, they both use ports 6661, 6662 and 6663. This involves changing both "adapters.xml" and the launch script.
- Both for HaSTC and HoSE Remote Data Adapters, in "adapters.xml" you have also configured a Remote Metadata Adapter. These two Remote Metadata Adapter instances must also be launched by your launch script.
Please, try the changes shown below:
HoSE\adapters.xml
HaSTC\adapters.xml
DotNetStart.bat
Code:
...
start "Metadata Adapter for HoSE" /MIN DotNetServer Lightstreamer.Adapters.Metadata.LiteralBasedProvider /host localhost /rrport 6663
start "Data Adapter for HoSE" /MIN DotNetServer QuotesStreamer.HoSE.Adapters.Data.StockListAdapter /host localhost /rrport 6661 /notifport 6662
start "Metadata Adapter for HaSTC" /MIN DotNetServer Lightstreamer.Adapters.Metadata.LiteralBasedProvider /host localhost /rrport 6666
start "Data Adapter for HaSTC" /MIN DotNetServer QuotesStreamer.HaSTC.Adapters.Data.StockListAdapter /host localhost /rrport 6664 /notifport 6665
Bookmarks