View Full Version : Web server/Lightstreamer dual deployment issue
CitiMan
11-20-2006, 07:00 PM
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?
DarioCrivelli
11-21-2006, 02:52 PM
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.
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.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.