Results 1 to 10 of 30

Thread: Bind Error

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2007
    Location
    London
    Posts
    12

    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.

  2. #2
    Member
    Join Date
    Mar 2007
    Location
    London
    Posts
    12
    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?

  3. #3
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

  4. #4
    Member
    Join Date
    Mar 2007
    Location
    London
    Posts
    12
    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?

  5. #5
    Member
    Join Date
    Mar 2007
    Location
    London
    Posts
    12
    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?

  6. #6
    Member
    Join Date
    Mar 2007
    Location
    London
    Posts
    12

    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

  1. Replies: 6
    Last Post: March 26th, 2010, 05:09 PM
  2. Replies: 1
    Last Post: August 6th, 2008, 12:05 PM
  3. ER bind problem
    By gerald.logor in forum Client APIs
    Replies: 5
    Last Post: April 18th, 2008, 09:46 AM
  4. ER bind Unable to find the Engine
    By eduramires in forum Client APIs
    Replies: 3
    Last Post: February 4th, 2008, 10:14 AM
  5. ER bind Unable to find the Engine
    By eduramires in forum General
    Replies: 1
    Last Post: January 29th, 2008, 06:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:51 PM.