-
March 6th, 2007, 03:37 PM
#1
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.
-
March 6th, 2007, 04:12 PM
#2
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?
-
March 6th, 2007, 05:05 PM
#3
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
-
March 6th, 2007, 09:55 PM
#4
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?
-
March 7th, 2007, 11:15 AM
#5
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?
-
March 7th, 2007, 01:41 PM
#6
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
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 06:45 AM.
Bookmarks