-
April 30th, 2009, 01:37 AM
#1
Hi Guillermo,
Try putting these host entries:
127.0.0.1 localhost
127.0.0.1 alaskaair.com
127.0.0.1 test.alaskaair.com
127.0.0.1 archtst1.test.alaskaair.com
127.0.0.1 push.alaskaair.com
If it helps, this was what I had:
127.0.0.1 local.mysite.com
127.0.0.1 local.www.mysite.com
127.0.0.1 lightstreamer.mysite.com
127.0.0.1 lightstreamer.www.mysite.com
And the javascript was set up like this:
var page = new PushPage();
page.context.setDomain("mysite.com"); //for you, try: alaskaair.com
//create the engine
page.onEngineCreation = function(engine) {
engine.context.setDebugAlertsOnClientError(true);
engine.connection.setLSHost("lightstreamer.mysite.com"); //for your case try: push.alaskaair.com
engine.connection.setLSPort(8090); //for your case 8080
engine.connection.setAdapterName("MyAdapter"); //change to your required adapter
engine.changeStatus("STREAMING");
}
page.bind();
page.createEngine("MyApp", "http://local.www.mysite.com/LS", "SHARE_SESSION"); //for your case, http://archtst1.test.alaskaair.com/JSLib or move the JS files to http://archtst1.test.alaskaair.com/LS
Hope that helps!
C
Similar Threads
-
By dimitarn in forum Client SDKs
Replies: 6
Last Post: March 26th, 2010, 04:09 PM
-
By ningping in forum Client SDKs
Replies: 1
Last Post: August 6th, 2008, 11:05 AM
-
By gerald.logor in forum Client SDKs
Replies: 5
Last Post: April 18th, 2008, 08:46 AM
-
By eduramires in forum Client SDKs
Replies: 3
Last Post: February 4th, 2008, 09:14 AM
-
By eduramires in forum General
Replies: 1
Last Post: January 29th, 2008, 05:03 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 03:22 PM.
Bookmarks