Results 1 to 9 of 9

Hybrid View

  1. #1
    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>

  2. #2
    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.

  3. #3
    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:41 AM.