Results 1 to 2 of 2
  1. #1

    Connection Exception - Server returned HTTP response code: 500 for URL

    When I try to subscribe to a Lightstreamer adapter, using a java client, I get the following error

    com.lightstreamer.ls_client.PushConnException: Server returned HTTP response code: 500 for URL: http://localhost:8080/lightstreamer/control.txt

    at com.lightstreamer.ls_client.HttpProvider.connectAn dGetAnswer(
    at com.lightstreamer.ls_client.HttpProvider.doPost(Ht
    at com.lightstreamer.ls_client.BatchManager.getNotBat chedAnswer(
    at com.lightstreamer.ls_client.BatchManager.getAnswer (
    at com.lightstreamer.ls_client.PushServerTranslator.d oControlRequest(
    at com.lightstreamer.ls_client.PushServerTranslator.d oControlRequest(
    at com.lightstreamer.ls_client.PushServerTranslator.c allTableRequest(
    at com.lightstreamer.ls_client.PushServerProxy.reques tSubscr(
    at com.lightstreamer.ls_client.ServerManager.subscrTa ble(
    at com.lightstreamer.ls_client.LSClient.subscribeTabl e(

    Can someone please tell me what I need to do to resolve this?

    The client code is as follows

    LSClient client = new LSClient();

    new ExtendedTableInfo(subscriptions, "MERGE", config.getString("ls.schema").split(" "), true) {
    setDataAdapter(config.getString("ls.dataAdapter")) ;
    if (config.getBoolean("ls.unfiltered", false)) {"RT Unfiltered = true");
    } else {"RT Unfiltered = false");
    }, new HandyTableListener() {
    public void onUpdate(int itemPos, String itemName, UpdateInfo update) {"RT onUpdate, itemPos:%d itemName:%s snapshot:%s", itemPos,
    itemName, update.isSnapshot()));


  2. #2
    Found the reason for the exception.
    There was a runtime Exception in my Metadata Adapter.



Similar Threads

  1. Replies: 0
    Last Post: December 22nd, 2006, 12:18 PM

Tags for this Thread


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