Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15

    Web server/Lightstreamer dual deployment issue

    I have deployed the static StockListDemo_Frames files on a Tomcat test server and followed steps 1 - 8 for external deployment. When I go to http://<hostname>.<domain>:8080/<appName>/lsindex.html (I renamed index.html lsindex.html from the sample) I get the following js popup error:
    SLD_LSCONTAINER 1: 18:4:19,135 ER setLSHost Lightstreamer hostname inconsistent with the domain set
    Any idea where the solution lies?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    As a first check, ensure that the full hostname has been specified in the "setLSHost" call. This means that the whole "<hostname>.<domain>" part of your URL should be specified. The client-side preliminary checks require that, in case both domain name and Lightstreamer hostname are supplied, the former name is a substring of the latter name.

  3. #3
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    If you followed correctly the instructions to deploy the app on an external web server, that message is probably caused by typos.

    Please check these calls on lsengine_config.js:
    ls.connection.setLSHost(null);
    ls.context.setDomain(null);

    should look like these:
    ls.connection.setLSHost("yourhost.yourdomain.com");
    ls.context.setDomain("yourdomain.com");

    where the "yourdomain.com" part must exactly match between calls.

    Please do this check and then return back to us.
    Hope that helps.

    Mone.

 

 

Similar Threads

  1. Lightstreamer Server all down
    By EWANG in forum General
    Replies: 3
    Last Post: June 4th, 2010, 02:20 PM
  2. Deployment with IIS on a single server
    By vampug in forum General
    Replies: 4
    Last Post: April 12th, 2010, 09:23 AM
  3. using lightstreamer on shared server
    By nextsurface in forum General
    Replies: 1
    Last Post: June 19th, 2009, 10:19 AM
  4. Replies: 1
    Last Post: November 5th, 2007, 01:36 PM

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 11:13 AM.