Hello,
I've been reading some of the posts regarding bind errors - mostly around setting hostnames and domain names.
I've set up an web server + lightstreamer server on the same machine with:
web server domain name: mysite.com
lightstreamer server: lightstreamer.mysite.com
lightstreamer server port: 8090
I've managed to have a page served from the web server working on Firefox and Chrome, but I'm having trouble with IE6 and IE7 - I get the following error "ER bind Unable to find the Engine. Retrying. If the problem persists, please check your configuration."
This is what I've set up:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>mysite.com</title>
<script language="JavaScript" src="ls/lscommons.js"></script>
<script language="JavaScript" src="ls/lspushpage.js"></script>
</head>
<body>
<div class="fieldA" source="lightstreamer" table="mytable" item="theItem" field="fieldA">
LOADING...
</div>
<div class="fieldB"source="lightstreamer" table="mytable" item="theItem" field="fieldB">
LOADING...
</div>
<script type="text/javascript">
var page = new PushPage();
page.context.setDomain("mysite.com");
page.onEngineCreation = function(engine) {
engine.context.setDebugAlertsOnClientError(true);
engine.connection.setLSHost("lightstreamer.mysite. com");
engine.connection.setLSPort(8090);
engine.connection.setAdapterName("MYSITE");
engine.changeStatus("STREAMING");
}
page.bind();
page.createEngine("MySiteApp", "ls", "SHARE_SESSION");
var pushtable = new OverwriteTable(null, null, "MERGE");
pushtable.setPushedHtmlEnabled(true);
pushtable.setSnapshotRequired(true);
page.addTable(pushtable, "mytable");
</script>
</body>
</html>
From the JS API (http://www.lightstreamer.com/docs/cl...html#setDomain) - I've set the domain to be null for IE, but with no luck.
Just wondering if I'm missing something?
Many Thanks,
C
Bookmarks