-
Bind Error
Hello
I have executed tests and demo apps within the LS servlet container successfully. I am now moving this into my own container but get the flollowing error:
"ER Bind, unable to find Engine"
Is this error related to:
(1) lsengine.html file in ls directory OR
(2) to the lsengine_config.js ?
Thank You.
-
Fixed above error.
Next problem is:
"ER LS_getConfiguredEngineName The engine is not bound. Check the ../lsengine_config.js configuration file."
AFAIK my config file is congfigured correctly:
var ls = new LightstreamerEngine();
ls.context.setDomain("patsystems.com");
ls.connection.setLSHost("lonpc-011861.patsystems.com");
ls.connection.setStreamPort(8085);
ls.connection.setControlPort(8085);
ls.connection.setAdapterName("GUIDISPLAYMONITOR");
ls.bind();
Any thoughts?
-
Hi,
Are you talking about the framed version or the single frame version?
The lsengine_config.js seems correct, is the url of your lsengine_config.js file - relatively to the library folder - equals to "../lsengine_config.js"?
Do you see any errors in the javascript console of your browser?
PS: you can now substitute the port calls (setStreamPort & setControlPort) with the new setLSPort
-
Are you talking about the framed version or the single frame version?
Single framed version.
The lsengine_config.js seems correct, is the url of your lsengine_config.js file - relatively to the library folder - equals to "../lsengine_config.js"?
Yes
Do you see any errors in the javascript console of your browser?
No errors
We have a feeling this is related to the domain configuration (maybe todo with JBoss) - we are going to look in this further tomorrow and hope if we find a problem that thisl resolves the issues with the engine configuration....will post back soon.
Does lightstreamer have support for JSF?
-
OK. We now have the domain/lsPage.bind working without error.
var lsPage = new PushPage();
lsPage.context.setDomain("PATSYSTEMS.COM");
lsPage.bind();
lsPage.loadEngine("../ls/lsengine.html?config=../lsengine_config.js");
However, we still have problems when loading the lsengine_config. An alert jumps out stating "Engine not bound check lsengine_config.js".
An alert follows that stating 'ER Bind unable to find engine. Please check configuration".
The javascript error is:
----------------------------
Error: Object doesn't support this property or method
URL: http://mypc.patsystems.com:8080/webs...gine_config.js
Any ideas?
-
Resolved
The reason for all the headache is becuase we used SiteMesh (similar to Tiles) to manage our pages. The sitemesh filter is breaking the lightstreamer magic.
Can you recommend a templating technology which works with the web client api?
Thanks
-
James,
I know some partners have successfully used Struts+Tiles together with Lightstreamer.
Cheers
-
ER Bind Error with IE 7
Hi,
Im facign a similar problem when i try to run the demo stocklist application externally using tomcat.Whn i try to access the index page i get an alert 'ER Bind unable to find engine.Check configurations.The same same page works fine with Firefox. Has anyone encountered a similar problem? Please reply if yes.
Cheers,
AN
-
Hi,
Which browser shows you the error?
Are you talking about the framed version or the single frame version?
Did you follow the "external deployment" section of the README.TXT located under /Lightstreamer/DOCS-SDKs/sdk_client_web/examples/StockListDemo ?
-
Hi,
I'm getting ther error in Internet Explorer 7. I did follow the instructions given under external deployment.I'm using the single framed version.