Results 1 to 5 of 5

Thread: Timed

  1. #1
    Member
    Join Date
    Nov 2007
    Location
    VN
    Posts
    12

    Angry Timed


    C:\Lightstreamer\bin\windows>call LS.bat run
    Starting Lightstreamer Server...
    Please check logs for detailed information.
    27.Feb.08 16:53:01,075 < INFO> Starting MAC address check
    27.Feb.08 16:53:01,106 < INFO> Found MAC address 00:01:6c:98:48:85
    27.Feb.08 16:53:01,106 < INFO> MAC address check successful
    27.Feb.08 16:53:01,106 < INFO> License correctly bound with the following parameter(s):
    27.Feb.08 16:53:01,106 < INFO> Client ID : EHrIARYm0IDarbW3OSH4E
    27.Feb.08 16:53:01,106 < INFO> Mac Address : 00:01:6c:98:48:85
    27.Feb.08 16:53:01,231 < INFO> Lightstreamer Server starting in Moderato edition
    27.Feb.08 16:53:01,325 < WARN> JMX management features not available with the current license
    27.Feb.08 16:53:01,356 < INFO> Started HTML Adaptor for JMX on port 6666
    27.Feb.08 16:53:01,388 < INFO> Started JMXMP Connector for JMX on port 9999
    27.Feb.08 16:53:01,419 < WARN> No users defined for Internal Monitor.
    27.Feb.08 16:53:01,419 < INFO> Loading Metadata Provider STOCKLISTDEMO
    27.Feb.08 16:53:01,450 < INFO> Connecting...
    27.Feb.08 16:53:06,185 < INFO> Connected
    27.Feb.08 16:53:06,185 < INFO> Request sender '#1' starting...
    27.Feb.08 16:53:06,185 < INFO> Reply receiver '#1' starting...
    27.Feb.08 16:53:06,185 < INFO> Loading Data Provider STOCKLISTDEMO
    27.Feb.08 16:53:06,200 < INFO> Connecting...
    27.Feb.08 16:53:06,294 < INFO> Connected
    27.Feb.08 16:53:06,341 < INFO> Pump pool size set by default at 2
    27.Feb.08 16:53:06,372 < INFO> Notify receiver '#2' starting...
    27.Feb.08 16:53:06,372 < INFO> Request sender '#2' starting...
    27.Feb.08 16:53:06,372 < INFO> Reply receiver '#2' starting...
    27.Feb.08 16:53:06,372 < INFO> Events pool size set by default at 2
    27.Feb.08 16:53:06,372 < INFO> Lightstreamer Server 3.4.7 build 1395 starting...
    27.Feb.08 16:53:06,419 < INFO> Server "Lightstreamer HTTP Server" listening to *:8080 ...
    27.Feb.08 16:53:11,998 < INFO> Accepted HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:12,013 < INFO> Serving request: / from 127.0.0.1:2453
    27.Feb.08 16:53:12,029 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,138 < INFO> Serving request: /StockListDemo/ from 127.0.0.1:2453
    27.Feb.08 16:53:13,138 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,154 < INFO> Serving request: /StockListDemo/ls/lscommons.js from 127.0.0.1:2453
    27.Feb.08 16:53:13,154 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,201 < INFO> Serving request: /StockListDemo/ls/lspushpage.js from 127.0.0.1:2453
    27.Feb.08 16:53:13,201 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,419 < INFO> Serving request: /StockListDemo/css/table.css from 127.0.0.1:2453
    27.Feb.08 16:53:13,419 < INFO> Accepted HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,419 < INFO> Serving request: /StockListDemo/images/bk.gif from 127.0.0.1:2458
    27.Feb.08 16:53:13,419 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,435 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,435 < INFO> Serving request: /StockListDemo/images/header.gif from 127.0.0.1:2458
    27.Feb.08 16:53:13,451 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,451 < INFO> Serving request: /StockListDemo/images/spacer_4px.gif from 127.0.0.1:2453
    27.Feb.08 16:53:13,482 < INFO> Serving request: /StockListDemo/images/popup.gif from 127.0.0.1:2458
    27.Feb.08 16:53:13,482 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,482 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,685 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2458
    27.Feb.08 16:53:13,685 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,685 < INFO> Serving request: /StockListDemo/ls/lsengine.html?engineName=SLEngine&remoteDebug=fals e& from 127.0.0.1:2453
    27.Feb.08 16:53:13,685 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,716 < INFO> Serving request: /StockListDemo/ls/lscommons.js from 127.0.0.1:2458
    27.Feb.08 16:53:13,716 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,763 < INFO> Serving request: /StockListDemo/ls/lsengine.js?1329.9 from 127.0.0.1:2453
    27.Feb.08 16:53:13,763 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,810 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2458
    27.Feb.08 16:53:13,810 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,810 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2453
    27.Feb.08 16:53:13,810 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,810 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2458
    27.Feb.08 16:53:13,826 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,826 < INFO> Serving request: /StockListDemo/ls/lsform.html from 127.0.0.1:2453
    27.Feb.08 16:53:13,826 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:13,826 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2458
    27.Feb.08 16:53:13,826 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:13,826 < INFO> Serving request: /StockListDemo/ls/lsblank.html from 127.0.0.1:2453
    27.Feb.08 16:53:13,826 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:14,013 < INFO> Serving request: /lightstreamer/STREAMING_IN_PROGRESS?LS_phase=8502&LS_requested_m ax_bandwidth=30&LS_client_version=4.2&LS_adapter=S TOCKLISTDEMO& from 127.0.0.1:2458
    27.Feb.08 16:53:18,013 < INFO> Reused HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453
    27.Feb.08 16:53:18,060 < INFO> Serving request: /lightstreamer/create_session.js?LS_phase=8503&LS_requested_max_b andwidth=30&LS_polling=true&LS_polling_millis=1000 &LS_idle_millis=30000&LS_client_version=4.2&LS_ada pter=STOCKLISTDEMO& from 127.0.0.1:2453
    27.Feb.08 16:53:24,045 <ERROR> Unexpected error
    java.lang.RuntimeException: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 1000001185a4f4089 timed out
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.notifyUser(RemoteMetadataProvider. java:441)
    at com.lightstreamer.e.j.a(j.java)
    at com.lightstreamer.e.h.<init>(h.java)
    at com.lightstreamer.f.t.a(t.java)
    at com.lightstreamer.f.t.b(t.java)
    at com.lightstreamer.f.n.a(n.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.y.a(y.java)
    at com.lightstreamer.c.p.b(p.java)
    at com.lightstreamer.c.p.a(p.java)
    at com.lightstreamer.b.g.b(g.java)
    at com.lightstreamer.b.g.a(g.java)
    at com.lightstreamer.b.ab.a(ab.java)
    at com.lightstreamer.j.jc.run(jc.java)
    at com.lightstreamer.j.vc.a(vc.java)
    at com.lightstreamer.j.wc.run(wc.java)
    Caused by: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 1000001185a4f4089 timed out
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.getReply(RequestSender.java:245)
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.sendRequestAndGetReply(RequestSender.j ava:148)
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.requestNotifyUser(RemoteMetadataPr ovider.java:170)
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.notifyUser(RemoteMetadataProvider. java:439)
    ... 16 more
    27.Feb.08 16:53:24,373 < INFO> Failed request from 127.0.0.1:2458
    27.Feb.08 16:53:24,389 <ERROR> Failure in request processing
    com.lightstreamer.f.z: java.lang.RuntimeException: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 1000001185a4f4089 timed out
    at com.lightstreamer.f.n.a(n.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.y.a(y.java)
    at com.lightstreamer.c.p.b(p.java)
    at com.lightstreamer.c.p.a(p.java)
    at com.lightstreamer.b.g.b(g.java)
    at com.lightstreamer.b.g.a(g.java)
    at com.lightstreamer.b.ab.a(ab.java)
    at com.lightstreamer.j.jc.run(jc.java)
    at com.lightstreamer.j.vc.a(vc.java)
    at com.lightstreamer.j.wc.run(wc.java)
    27.Feb.08 16:53:24,576 < INFO> Closed HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2458
    27.Feb.08 16:53:28,076 <ERROR> Unexpected error
    java.lang.RuntimeException: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 2000001185a4f4089 timed out
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.notifyUser(RemoteMetadataProvider. java:441)
    at com.lightstreamer.e.j.a(j.java)
    at com.lightstreamer.e.h.<init>(h.java)
    at com.lightstreamer.f.t.a(t.java)
    at com.lightstreamer.f.t.b(t.java)
    at com.lightstreamer.f.n.a(n.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.y.a(y.java)
    at com.lightstreamer.c.p.b(p.java)
    at com.lightstreamer.c.p.a(p.java)
    at com.lightstreamer.b.g.b(g.java)
    at com.lightstreamer.b.g.a(g.java)
    at com.lightstreamer.b.ab.a(ab.java)
    at com.lightstreamer.j.jc.run(jc.java)
    at com.lightstreamer.j.vc.a(vc.java)
    at com.lightstreamer.j.wc.run(wc.java)
    Caused by: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 2000001185a4f4089 timed out
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.getReply(RequestSender.java:245)
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.sendRequestAndGetReply(RequestSender.j ava:148)
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.requestNotifyUser(RemoteMetadataPr ovider.java:170)
    at com.lightstreamer.adapters.remote.metadata.RemoteM etadataProvider.notifyUser(RemoteMetadataProvider. java:439)
    ... 16 more
    27.Feb.08 16:53:28,389 < INFO> Failed request from 127.0.0.1:2453
    27.Feb.08 16:53:28,404 <ERROR> Failure in request processing
    com.lightstreamer.f.z: java.lang.RuntimeException: com.lightstreamer.adapters.remote.RemotingExceptio n: Request 2000001185a4f4089 timed out
    at com.lightstreamer.f.n.a(n.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.w.a(w.java)
    at com.lightstreamer.c.y.a(y.java)
    at com.lightstreamer.c.p.b(p.java)
    at com.lightstreamer.c.p.a(p.java)
    at com.lightstreamer.b.g.b(g.java)
    at com.lightstreamer.b.g.a(g.java)
    at com.lightstreamer.b.ab.a(ab.java)
    at com.lightstreamer.j.jc.run(jc.java)
    at com.lightstreamer.j.vc.a(vc.java)
    at com.lightstreamer.j.wc.run(wc.java)
    27.Feb.08 16:53:28,592 < INFO> Closed HTTP connection on Lightstreamer HTTP Server from 127.0.0.1:2453


    I converted C# to Vb.net code (StockDemo example) and recompiled them use .net 2.0
    I encounted time out error
    content of log file:

    2008-02-27 16:52:44,278 [1] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Lightstreamer StockListDemo .NET Adapter Standalone Server starting...
    2008-02-27 16:52:44,309 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Found argument: 'host' with value: 'localhost'
    2008-02-27 16:52:44,309 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Found argument: 'data_rrport' with value: '6661'
    2008-02-27 16:52:44,309 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Found argument: 'data_notifport' with value: '6662'
    2008-02-27 16:52:44,325 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Found argument: 'metadata_rrport' with value: '6663'
    2008-02-27 16:52:44,325 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Found parameter: 'max_bandwidth=4' with value: ''
    2008-02-27 16:52:44,325 [1] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Skipping unrecognizable argument: 'max_frequency=3'
    2008-02-27 16:52:44,325 [1] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Skipping unrecognizable argument: 'buffer_size=30'
    2008-02-27 16:52:44,325 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Remote Metadata Adapter initialized
    2008-02-27 16:52:44,340 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:44,340 [1] DEBUG Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Remote Data Adapter initialized
    2008-02-27 16:52:44,340 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connected
    2008-02-27 16:52:44,356 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:44,356 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:44,371 [1] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerMa in [(null)] - Lightstreamer StockListDemo .NET Adapter Standalone Server running
    2008-02-27 16:52:44,371 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connected
    2008-02-27 16:52:44,371 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:45,247 [3] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...
    2008-02-27 16:52:45,356 [4] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...
    2008-02-27 16:52:55,247 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:55,356 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:52:56,184 [3] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...
    2008-02-27 16:52:56,294 [4] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...
    2008-02-27 16:53:06,185 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:53:06,185 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connected
    2008-02-27 16:53:06,185 [3] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:53:06,294 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:53:06,294 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connected
    2008-02-27 16:53:06,310 [4] INFO Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connecting...
    2008-02-27 16:53:07,232 [4] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...
    2008-02-27 16:53:07,232 [3] WARN Lightstreamer.Adapters.Data.StockListDemo.ServerSt arter [(null)] - Connection failed, retrying in 10 seconds...

    help me, thanks

  2. #2
    Member
    Join Date
    Nov 2007
    Location
    VN
    Posts
    12

    ok

    I found the solution, that I can not compile and run ok in vb.net although I follow document very exactly. (Many bugs, cant explain) So, LightStreamer should include "source code support C# only"
    My price for that solution is 4 full-time days
    Anyway, thanks LightStreamer for the great product

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    The behaviour reported in the second log (i.e. the Remote Server log) is strange. It seems that both thread [3] and thread [4] try a new connection even after a connection attempt has been successful, as though the "break" on line 195 in "StandaloneLauncher.cs" was lost in the porting. This would also prevent the Adapters from being fully initialized and might explain the errors on the Server.

    Please check this and let us know. Consider that the interoperability of all .NET languages is claimed by Microsoft, not by Lightstreamer.

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Lightstreamer Adapters written in Visual Basic .NET definitely work. We will release a very simple tutorial soon that shows how to write both a VB and C# Data Adapter from scratch.

  5. #5

 

 

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 09:45 PM.