Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Senior Member
    Join Date
    Oct 2007
    Location
    HoChiMinh
    Posts
    69
    Hi Dario,
    I run "Start_LS_as_application.bat", it run and loaded "HaSTC adapter" but it doesn't load "HoSE adapter", it hang on, after that i type "netstat /a".
    -----
    <?xml version="1.0"?>
    <adapters_conf id="HaSTC">
    <metadata_provider>
    <adapter_class>com.lightstreamer.adapters.remote.m etadata.NetworkedMetadataProvider</adapter_class>
    <param name="request_reply_port">6669</param>
    </metadata_provider>
    <data_provider>
    <adapter_class>com.lightstreamer.adapters.remote.d ata.NetworkedDataProvider</adapter_class>
    <param name="request_reply_port">6667</param>
    <param name="notify_port">6668</param>
    </data_provider>
    </adapters_conf>
    -----
    C:\Lightstreamer\bin\windows>call LS.bat run
    Starting Lightstreamer Server...
    Please check logs for detailed information.
    08.May.08 10:45:46,171 < INFO> Starting MAC address check
    08.May.08 10:45:46,203 < INFO> Found MAC address 00:50:56:c0:00:08
    08.May.08 10:45:46,203 < INFO> Found MAC address 00:50:56:c0:00:01
    08.May.08 10:45:46,203 < INFO> Found MAC address 00:0f:b0:cd:10:6b
    08.May.08 10:45:46,203 < INFO> Found MAC address 00:18:de:af:ea:7f
    08.May.08 10:45:46,203 < INFO> MAC address check successful
    08.May.08 10:45:46,203 < INFO> License correctly bound with the following parame
    ter(s):
    08.May.08 10:45:46,203 < INFO> Client ID : EWmtleTmXioln3OLeXzCL
    08.May.08 10:45:46,203 < INFO> Mac Address : 00:18:de:af:ea:7f
    08.May.08 10:45:46,328 < INFO> Lightstreamer Server starting in Moderato edition

    08.May.08 10:45:46,359 < WARN> JMX management features not available with the cu
    rrent license
    08.May.08 10:45:46,406 < INFO> Started HTML Adaptor for JMX on port 6666
    08.May.08 10:45:46,453 < INFO> Started JMXMP Connector for JMX on port 9999
    08.May.08 10:45:46,468 < WARN> No users defined for Internal Monitor.
    08.May.08 10:45:46,468 < INFO> Loading Metadata Provider HaSTC
    08.May.08 10:45:46,500 < INFO> Connecting...
    --------
    Here my port is open
    -----------------
    C:\Documents and Settings\TUONG KHA>netstat /a

    Active Connections

    Proto Local Address Foreign Address State
    TCP tuongkha:http tuongkha:0 LISTENING
    TCP tuongkha:epmap tuongkha:0 LISTENING
    TCP tuongkha:https tuongkha:0 LISTENING
    TCP tuongkha:microsoft-ds tuongkha:0 LISTENING
    TCP tuongkha:912 tuongkha:0 LISTENING
    TCP tuongkha:1034 tuongkha:0 LISTENING
    TCP tuongkha:1110 tuongkha:0 LISTENING
    TCP tuongkha:ms-sql-s tuongkha:0 LISTENING
    TCP tuongkha:2628 tuongkha:0 LISTENING
    TCP tuongkha:3389 tuongkha:0 LISTENING
    TCP tuongkha:4464 tuongkha:0 LISTENING
    TCP tuongkha:5051 tuongkha:0 LISTENING
    TCP tuongkha:5101 tuongkha:0 LISTENING
    TCP tuongkha:6666 tuongkha:0 LISTENING
    TCP tuongkha:6669 tuongkha:0 LISTENING
    TCP tuongkha:9999 tuongkha:0 LISTENING
    TCP tuongkha:19780 tuongkha:0 LISTENING
    TCP tuongkha:1044 tuongkha:0 LISTENING
    TCP tuongkha:1110 localhost:5961 ESTABLISHED
    TCP tuongkha:2628 localhost:7472 ESTABLISHED
    TCP tuongkha:5961 localhost:1110 ESTABLISHED
    TCP tuongkha:7130 localhost:1110 CLOSE_WAIT
    TCP tuongkha:7472 localhost:2628 ESTABLISHED
    TCP tuongkha:7508 localhost:1110 TIME_WAIT
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:5101 haiyen.hcm.sbsc.vn:21315 ESTABLISHED
    TCP tuongkha:5948 cs111.msg.sp1.yahoo.com:5050 ESTABLISHED
    TCP tuongkha:5963 sip23.voice.re2.yahoo.com:https ESTABLISHED
    TCP tuongkha:7133 192.168.24.250:9030 ESTABLISHED
    TCP tuongkha:7477 192.168.24.250:9030 CLOSE_WAIT
    TCP tuongkha:7483 mail.gls.com.vn:8080 LAST_ACK
    TCP tuongkha:7510 mail.sbsc.com.vnop3 TIME_WAIT
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    UDP tuongkha:microsoft-ds *:*
    UDP tuongkha:isakmp *:*
    UDP tuongkha:ms-sql-m *:*
    UDP tuongkha:3456 *:*
    UDP tuongkha:4500 *:*
    UDP tuongkha:5051 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:1106 *:*
    UDP tuongkha:1743 *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:6013 *:*
    UDP tuongkha:6852 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:5973 *:*
    UDP tuongkha:5974 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*

    -------
    Here my "DotNetServer.log" ;
    -------
    2008-05-08 10:46:41,234 [1956] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server starting...
    2008-05-08 10:46:41,328 [2800] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server starting...
    2008-05-08 10:46:41,625 [1692] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server starting...
    2008-05-08 10:46:41,953 [2448] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:46:42,109 [2448] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connected
    2008-05-08 10:46:42,109 [2448] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server running
    2008-05-08 10:46:42,984 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:46:42,984 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:46:44,671 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:46:45,687 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:46:52,984 [2800] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:46:53,000 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:46:54,031 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:46:54,031 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:46:55,687 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:46:56,656 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:04,031 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:04,031 [2800] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:05,203 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:05,203 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:06,656 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:07,609 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:15,203 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:16,156 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:17,609 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:18,578 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:26,171 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:26,171 [2800] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:27,125 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:28,578 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:29,546 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:37,125 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:38,093 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:38,093 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:39,546 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:40,515 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:48,093 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:49,062 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:49,062 [2800] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:50,515 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:51,468 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:47:59,062 [1956] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:47:59,062 [2800] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:48:00,125 [1956] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...
    2008-05-08 10:48:01,468 [1692] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 10:48:02,437 [1692] WARN Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connection failed, retrying in 10 seconds...

  2. #12
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    According to netstat, port 6669 is listening.
    And the netstat was issued after the Remote Server launch script was run, is it right?
    I can't understand why no Remote Server could connect to the 6669 port and unfortunately there is no way to log connection details. However, now you can repeat the test by launching the proper Remote Servers manually.
    Please try the following:
    1. Launch Lightstreamer Server
    2. check the Server log;
      the line "Loading Metadata Provider HaSTC" should have been produced
    3. run "netstat /a"
      port 6669 should be listening
    4. open a DOS prompt and run
      "DotNetServer Lightstreamer.Adapters.Metadata.LiteralBasedProvid er /host localhost /rrport 6669"
      from the proper directory
    5. run "netstat /a"
      ports 6667 and 6668 should be listening
    6. open a DOS prompt and run
      "DotNetServer QuotesStreamer.HaSTC.Adapters.Data.StockListAdapte r /host localhost /rrport 6667/notifport 6668"
      from the proper directory
    7. check the Server log;
      the line "Loading Metadata Provider HoSE" should have been produced
    8. run "netstat /a"
      port 6663 should be listening
    9. open a DOS prompt and run
      "DotNetServer Lightstreamer.Adapters.Metadata.LiteralBasedProvid er /host localhost /rrport 6663"
      from the proper directory
    10. run "netstat /a"
      ports 6661 and 6662 should be listening
    11. open a DOS prompt and run
      "DotNetServer QuotesStreamer.HoSE.Adapters.Data.StockListAdapter /host localhost /rrport 6661/notifport 6662"
      from the proper directory
    12. check the Server log;
      Server initialization should be completed

    Is there any condition which is not met, which causes the prescription to fail?

  3. #13
    Senior Member
    Join Date
    Oct 2007
    Location
    HoChiMinh
    Posts
    69
    Hi Dario,
    I tried following your instruction.
    Here my step and server log :
    1. launch LS by run "Start_LS_as_application.bat"
    2. server log :
    --------
    C:\Lightstreamer\bin\windows>call LS.bat run
    Starting Lightstreamer Server...
    Please check logs for detailed information.
    08.May.08 22:41:04,265 < INFO> Starting MAC address check
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:50:56:c0:00:08
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:50:56:c0:00:01
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:0f:b0:cd:10:6b
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:18:de:af:ea:7f
    08.May.08 22:41:04,296 < INFO> MAC address check successful
    08.May.08 22:41:04,296 < INFO> License correctly bound with the following parame
    ter(s):
    08.May.08 22:41:04,296 < INFO> Client ID : EWmtleTmXioln3OLeXzCL
    08.May.08 22:41:04,296 < INFO> Mac Address : 00:18:de:af:ea:7f
    08.May.08 22:41:04,421 < INFO> Lightstreamer Server starting in Moderato edition

    08.May.08 22:41:04,453 < WARN> JMX management features not available with the cu
    rrent license
    08.May.08 22:41:04,484 < INFO> Started HTML Adaptor for JMX on port 6666
    08.May.08 22:41:04,515 < INFO> Started JMXMP Connector for JMX on port 9999
    08.May.08 22:41:04,531 < WARN> No users defined for Internal Monitor.
    08.May.08 22:41:04,546 < INFO> Loading Metadata Provider HaSTC
    08.May.08 22:41:04,578 < INFO> Connecting...
    --------
    3. port 6669 is listening
    --------
    C:\Documents and Settings\TUONG KHA>netstat /a

    Active Connections

    Proto Local Address Foreign Address State
    TCP tuongkha:http tuongkha:0 LISTENING
    TCP tuongkha:epmap tuongkha:0 LISTENING
    TCP tuongkha:https tuongkha:0 LISTENING
    TCP tuongkha:microsoft-ds tuongkha:0 LISTENING
    TCP tuongkha:912 tuongkha:0 LISTENING
    TCP tuongkha:1029 tuongkha:0 LISTENING
    TCP tuongkha:1110 tuongkha:0 LISTENING
    TCP tuongkha:3389 tuongkha:0 LISTENING
    TCP tuongkha:6666 tuongkha:0 LISTENING
    TCP tuongkha:6669 tuongkha:0 LISTENING
    TCP tuongkha:9999 tuongkha:0 LISTENING
    TCP tuongkha:19780 tuongkha:0 LISTENING
    TCP tuongkha:1031 tuongkha:0 LISTENING
    TCP tuongkha:1041 localhost:1110 CLOSE_WAIT
    TCP tuongkha:1050 localhost:1110 CLOSE_WAIT
    TCP tuongkha:1053 localhost:1110 ESTABLISHED
    TCP tuongkha:1110 localhost:1053 ESTABLISHED
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:1055 65.55.192.61:http ESTABLISHED
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    UDP tuongkha:microsoft-ds *:*
    UDP tuongkha:isakmp *:*
    UDP tuongkha:3456 *:*
    UDP tuongkha:4500 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:1039 *:*
    UDP tuongkha:1044 *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    -----------
    4. Server log after i run "DotNetServer Lightstreamer.Adapters.Metadata.LiteralBasedProvid er /host localhost /rrport 6669"
    ----------
    C:\Lightstreamer\bin\windows>call LS.bat run
    Starting Lightstreamer Server...
    Please check logs for detailed information.
    08.May.08 22:41:04,265 < INFO> Starting MAC address check
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:50:56:c0:00:08
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:50:56:c0:00:01
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:0f:b0:cd:10:6b
    08.May.08 22:41:04,296 < INFO> Found MAC address 00:18:de:af:ea:7f
    08.May.08 22:41:04,296 < INFO> MAC address check successful
    08.May.08 22:41:04,296 < INFO> License correctly bound with the following parame
    ter(s):
    08.May.08 22:41:04,296 < INFO> Client ID : EWmtleTmXioln3OLeXzCL
    08.May.08 22:41:04,296 < INFO> Mac Address : 00:18:de:af:ea:7f
    08.May.08 22:41:04,421 < INFO> Lightstreamer Server starting in Moderato edition

    08.May.08 22:41:04,453 < WARN> JMX management features not available with the cu
    rrent license
    08.May.08 22:41:04,484 < INFO> Started HTML Adaptor for JMX on port 6666
    08.May.08 22:41:04,515 < INFO> Started JMXMP Connector for JMX on port 9999
    08.May.08 22:41:04,531 < WARN> No users defined for Internal Monitor.
    08.May.08 22:41:04,546 < INFO> Loading Metadata Provider HaSTC
    08.May.08 22:41:04,578 < INFO> Connecting...
    08.May.08 22:43:28,953 < INFO> Connected
    08.May.08 22:43:28,953 < INFO> Loading Data Provider HaSTC
    08.May.08 22:43:28,953 < INFO> Request sender '#1' starting...
    08.May.08 22:43:28,968 < INFO> Reply receiver '#1' starting...
    08.May.08 22:43:28,968 < INFO> Connecting...


    -------
    5. netstat /a, port 6667 + 6668 is opening.
    -------
    C:\Documents and Settings\TUONG KHA>netstat /a

    Active Connections

    Proto Local Address Foreign Address State
    TCP tuongkha:http tuongkha:0 LISTENING
    TCP tuongkha:epmap tuongkha:0 LISTENING
    TCP tuongkha:https tuongkha:0 LISTENING
    TCP tuongkha:microsoft-ds tuongkha:0 LISTENING
    TCP tuongkha:912 tuongkha:0 LISTENING
    TCP tuongkha:1029 tuongkha:0 LISTENING
    TCP tuongkha:1110 tuongkha:0 LISTENING
    TCP tuongkha:3389 tuongkha:0 LISTENING
    TCP tuongkha:6666 tuongkha:0 LISTENING
    TCP tuongkha:6667 tuongkha:0 LISTENING
    TCP tuongkha:6668 tuongkha:0 LISTENING

    TCP tuongkha:9999 tuongkha:0 LISTENING
    TCP tuongkha:19780 tuongkha:0 LISTENING
    TCP tuongkha:1031 tuongkha:0 LISTENING
    TCP tuongkha:1041 localhost:1110 CLOSE_WAIT
    TCP tuongkha:1050 localhost:1110 CLOSE_WAIT
    TCP tuongkha:1053 localhost:1110 ESTABLISHED
    TCP tuongkha:1110 localhost:1053 ESTABLISHED
    TCP tuongkha:1528 localhost:6669 ESTABLISHED
    TCP tuongkha:6669 localhost:1528 ESTABLISHED
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:1055 65.55.192.61:http ESTABLISHED
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    TCP tuongkha:netbios-ssn tuongkha:0 LISTENING
    UDP tuongkha:microsoft-ds *:*
    UDP tuongkha:isakmp *:*
    UDP tuongkha:3456 *:*
    UDP tuongkha:4500 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:1039 *:*
    UDP tuongkha:1044 *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    UDP tuongkha:ntp *:*
    UDP tuongkha:netbios-ns *:*
    UDP tuongkha:netbios-dgm *:*
    UDP tuongkha:1900 *:*
    ---------
    6. run "DotNetServer QuotesStreamer.HaSTC.Adapters.Data.StockListAdapte r /host localhost /rrport 6667 /notifport 6668" --> it has error.
    --------
    08.May.08 22:48:01,437 <ERROR> Adapters configuration error
    java.lang.Exception: duplicated adapters id HaSTC
    at com.lightstreamer.i.b.a(b.java)
    at com.lightstreamer.i.j.a(j.java)
    at com.lightstreamer.i.j.a(j.java)
    at com.lightstreamer.LS.main(LS.java)
    08.May.08 22:48:01,437 <ERROR> Error while loading the Adapters
    java.lang.Exception: duplicated adapters id HaSTC
    at com.lightstreamer.i.b.a(b.java)
    at com.lightstreamer.i.j.a(j.java)
    at com.lightstreamer.i.j.a(j.java)
    at com.lightstreamer.LS.main(LS.java)
    08.May.08 22:48:01,437 <FATAL> Adapters initialization failed
    08.May.08 22:48:01,437 < INFO> Exiting.....
    Press any key to continue . . .
    --------
    "DotNetServer.log"
    --------
    2008-05-08 22:57:30,546 [2816] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server starting...
    2008-05-08 22:57:30,671 [2816] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 22:57:30,687 [2816] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connected
    2008-05-08 22:57:30,703 [2816] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server running
    2008-05-08 22:58:34,687 [3960] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server starting...
    2008-05-08 22:58:35,093 [3960] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connecting...
    2008-05-08 22:58:35,125 [3960] INFO Lightstreamer.DotNet.Server.NetworkedServerStarter [(null)] - Connected
    2008-05-08 22:58:35,140 [3960] INFO Lightstreamer.DotNet.Server.ServerMain [(null)] - Lightstreamer .NET Adapter Server running
    2008-05-08 22:58:37,765 [1832] ERROR Lightstreamer.DotNet.Server.DataProviderServer [(null)] - Caught exception: Exception caught while reading from the request stream: Unable to read data from the transport connection., trying to notify a failure...
    Lightstreamer.DotNet.Server.RemotingException: Exception caught while reading from the request stream: Unable to read data from the transport connection. ---> System.IO.IOException: Unable to read data from the transport connection. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer()
    at System.IO.StreamReader.ReadLine()
    at Lightstreamer.DotNet.Server.RequestReply.RequestRe ceiver.Run()
    --- End of inner exception stack trace ---
    2008-05-08 22:58:37,796 [1832] FATAL Lightstreamer.DotNet.Server.DataProviderServer [(null)] - Exception caught while reading/writing from/to streams: 'An existing connection was forcibly closed by the remote host', aborting...
    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --------
    so i can't continue step 7 to 12.

  4. #14
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    The "duplicated adapters id HaSTC" error message suggests that your
    HoSE\adapters.xml
    file contains the
    <adapters_conf id="HaSTC">
    line, probably after some cloning operation.
    May you please check?

  5. #15
    Senior Member
    Join Date
    Oct 2007
    Location
    HoChiMinh
    Posts
    69
    Hi Dario,
    That's right. I mistake in "HoSE\adapters.xml", it duplicated adapter_id. now it run.

    Thanks!

 

 

Similar Threads

  1. Replies: 3
    Last Post: November 14th, 2011, 09:33 AM
  2. Replies: 1
    Last Post: January 31st, 2011, 07:47 AM
  3. Replies: 3
    Last Post: September 29th, 2009, 08:54 AM
  4. Replies: 1
    Last Post: November 6th, 2008, 08:44 AM
  5. Replies: 2
    Last Post: March 26th, 2008, 09:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:46 AM.