-
March 6th, 2008, 04:15 PM
#1
Client error - Unable to find the Engine
Hi,
I get Unable to bind the page error while I try to connect to remote lightstreamer server.
However, if I set domain as "null" then it tries to connect but it gives me security error in the page.
Following is the code:
<html>
<head>
<script type='text/javascript' src="ls/lscommons.js"></script>
<script type='text/javascript' src="ls/lspushpage.js"></script>
</head>
<body>
<script>
/////////////////////////////////PushPage Configuration
var lsPage = new PushPage();
// lsPage.context.setDebugAlertsOnClientError(false);
lsPage.context.setDomain("mycompany.com");
//lsPage.context.setDomain(null);
lsPage.onEngineCreation = startEngine;
lsPage.bind();
lsPage.createEngine("SLEngine", "ls/");
function startEngine(eng) {
eng.context.setDebugAlertsOnClientError(true);
eng.policy.setMaxBandwidth(30);
eng.policy.setIdleTimeout(30000);
eng.policy.setPollingInterval(1000);
eng.connection.setLSHost("server1.is.mycompany.com ");
eng.connection.setLSPort(8085);
eng.connection.setAdapterName("STOCKJMS");
eng.changeStatus("STREAMING");
}
</script>
</body>
</html>
Any help is appreciated.
Thanks in advance!
Similar Threads
-
By georgeeapen in forum Client SDKs
Replies: 1
Last Post: May 25th, 2009, 09:21 AM
-
By ap7256 in forum Client SDKs
Replies: 15
Last Post: January 14th, 2009, 09:36 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
-
By RichP1 in forum Client SDKs
Replies: 6
Last Post: December 18th, 2007, 01:57 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 07:11 PM.
Bookmarks