-
November 20th, 2006, 06:00 PM
#1
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?
-
November 21st, 2006, 01:52 PM
#2
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.
-
November 21st, 2006, 01:55 PM
#3
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
-
By EWANG in forum General
Replies: 3
Last Post: June 4th, 2010, 02:20 PM
-
By vampug in forum General
Replies: 4
Last Post: April 12th, 2010, 09:23 AM
-
By nextsurface in forum General
Replies: 1
Last Post: June 19th, 2009, 10:19 AM
-
By gerald.logor in forum Client SDKs
Replies: 1
Last Post: November 5th, 2007, 01:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:24 PM.
Bookmarks