Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Aug 2014

    exception occured in adapter

    i have adapter that has the connection : TcpClient reqrepSocket = new TcpClient(host, reqrepPort);

    sometimes during running the adapter, it gives exception in this line of connection. the exception say that the target machine refuse it.
    what may cause that?

  2. #2
    Join Date
    Jul 2006
    I suppose that you are talking about a Remote Server based on the Java Remote Adapter SDK trying to connect to the Proxy Adapter on Lightstreamer Server.
    It is possible that connection attempts are refused, because the Proxy Adapters only listen on their port when needed. After they receive a connection, they stop listening.
    We should check the state of the listening port at the time of the issue on the Proxy Adapter log.
    What versions of the Server and the ARI SDK are you using? This may affect the way the log is produced.

  3. #3
    Senior Member
    Join Date
    Aug 2014
    lightstreamer version is 5.1.2

    what you mean about ARI SDK?

    and how i resolve this issue?

  4. #4
    Join Date
    Feb 2012
    Hi engcoder,

    The ARI is the protocol used for the comunication between Proxy Adapters and Remote Adapters.
    In your case, Lightstreamer server 5.x, you should use 1.4.3 (

    Now back to the issue, we need to ascertain if Dario's hypothesis is correct; ie. the Proxy Adapter is no longer listening because it is already connected, perhaps for an instance of your Remote Adapter abnormally closed.
    Please could you set the log level to DEBUG for this logger com.lightstreamer.adapters.remote in lightstreamer_log_conf.xml

    so, if the problem reappears, we will have more information.




Similar Threads

  1. Null Pointer Exception while creating adapter
    By anilkumar2508 in forum Adapter SDKs
    Replies: 1
    Last Post: October 19th, 2012, 09:03 AM
  2. Replies: 4
    Last Post: October 24th, 2011, 09:33 AM
  3. Rasing an Exception from a Data Adapter
    By PeterHiross in forum Adapter SDKs
    Replies: 1
    Last Post: October 7th, 2010, 09:59 AM
  4. Replies: 3
    Last Post: January 7th, 2010, 08:57 AM
  5. DataProviderServer exception
    By ap7256 in forum Adapter SDKs
    Replies: 2
    Last Post: October 18th, 2007, 10:15 AM


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:32 PM.