Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Binh Duong
    Posts
    14

    Help me!!! what error is it?

    11.Aug.09 09:28:15,879 <ERROR> Exception caught while subscribing to item 'item9
    5'
    com.lightstreamer.adapters.remote.RemotingExceptio n: Timeout while waiting for a
    n answer to request 600000012307486b02
    at com.lightstreamer.adapters.remote.request_reply.Re questSender$1.run(R
    equestSender.java:200)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    The timeout you see usually means that the execution of the subscribe (and/or unsubscribe) method of remote adapter is spending too much time in its execution.

    To solve the problem you could change such timeout through the <param name="timeout"> element inside the adapters.xml file that configures your remote adapter.
    Such element is a child of the <data_provider> element.
    (You can see it in the adapters.xml files under LS_HOME/DOCS-SDKs/sdk_ adapter_remoting_infrastructure/conf)

    Alternatively, you could rewrite the subscribe (and/or unsubscribe) call on your Remote Data Adapter in an asynchronous way, so that it always returns at once, and then executes its time-spending tasks in another thread.
    In this case NOTE that calls to "subscribe" and "unsubscribe" for the same item are guaranteed by LS library to be serialized. If you implement them in an asynchronous way, you should take care of keeping the executions serialized and in the same order them are received.

    HTH

  3. #3
    Member
    Join Date
    Aug 2009
    Location
    Binh Duong
    Posts
    14
    thanks Mone so much!

 

 

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 01:15 PM.