Results 1 to 9 of 9

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15
    both calls to setDebugAlertsOnClientError() are set to true.

    At the moment yes all that happens is the 'Lightstreamer is connecting...' msg. Nothing further.

    I've double checked the port/hostname/domain settings, all fine. I can get the simple OverwriteTable demo working with the StockList adapter so whatever it is it's specific to the client config for the Portfolio DynaMetapushTable?

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    If host/domain/port is all ok maybe the problem is on the Adapters name.

    The name is set client-side in the lsengine_config.js:
    Code:
    ls.connection.setAdapterName("PORTFOLIO");
    And server side in the portfolio adapter's folder in the adapters.xml file:
    HTML Code:
    <adapters_conf id="PORTFOLIO">
    Can you confirm that those names match?

    Note that adding a new adpater to a Lightstreamer instance requires that the Server is restarted.

  3. #3
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15
    Adapter name is fine too, set to PORTFOLIO on both lsengine_config.js & in adapters.xml, located in root of /adapters/Portfolio folder on server. rest of the adapters.xml file is:

    <?xml version="1.0"?>
    <adapters_conf id="PORTFOLIO">

    <metadata_provider>
    <adapter_class>com.lightstreamer.adapters.metadata .LiteralBasedProvider</adapter_class>
    <param name="search_dir">.</param>
    <param name="max_bandwidth">16</param>
    <param name="max_frequency">5</param>
    <param name="buffer_size">30</param>
    </metadata_provider>

    <data_provider>
    <adapter_class>com.lightstreamer.adapters.portfoli o.PortfolioDemoProvider</adapter_class>
    <param name="config_file">portfolio.conf.properties</param>
    </data_provider>

    </adapters_conf>

  4. #4
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15
    I should maybe also point out the only difference I have in architecture is that the index.html and other js/html files are located on a tomcat server (8080) with the lightstreamer server (8081) on the same host/domain.

  5. #5
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15
    changed loadEngine to loadEngineMinimal and added the startEngine js function to lsPage's onEngineReady event and works fine now

 

 

Similar Threads

  1. Replies: 4
    Last Post: October 24th, 2011, 09:33 AM
  2. Error: createEngine() has already been called
    By vaduganathan in forum Client SDKs
    Replies: 3
    Last Post: April 9th, 2010, 08:58 AM
  3. notifySessionClose sometimes not being called
    By lstest in forum Adapter SDKs
    Replies: 2
    Last Post: February 24th, 2010, 11:09 AM
  4. form POST method vs GET method
    By chuan_ckc in forum Client SDKs
    Replies: 1
    Last Post: August 20th, 2009, 10:29 AM
  5. Data Provider Protocol Method Tags
    By juls in forum Adapter SDKs
    Replies: 1
    Last Post: March 4th, 2009, 09:00 AM

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 11:06 AM.