Results 1 to 10 of 27

Hybrid View

  1. #1
    Hi Mr Gianluca.finocchiaro ,
    I have a java project with some adapters and a common class that share info between these adapters, could you show me how to export (as jar file) then upload to adapter folder in lightstreamer server for running as well as a project, not independently adapters.
    p/s this project can running oke by source (run configuration as your guild above).

  2. #2
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi nttam,

    I'm sorry but it is not clear to me what you mean by "not independently adapters". If you have already prepared the adapter folder (where also the appropriate adapters.xml is expected to be there), you have to export the eclipse project as jar file (right click and then "Export..."->"JAR file) and put it into the "lib" subfolder.

    Please let me know if you are already aware of that information, or you are asking for something different.

    Thanks and Regards,
    Gianluca

  3. #3
    Hi Mr Gianluca.finocchiaro,
    Thanks very much for your quickly reply. I've already exported project as jar file and put it into "lib" subfolder of each adapter folder, note that I have some adapter in adapters folder parent. The lightstreamer server start ok, but these adapter run separated. How make it run as an application which these adapter can use and share some common class or global variable also?
    Last edited by nttam; December 13th, 2016 at 02:32 PM.

  4. #4
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi nttam,

    provided that you left the <classloader> value to its default value ("common") in the adapters.xml files relative to the involved Adapter Sets, you have to put common classes and libraries into the "shared/lib" and/or "shared/lib" folders of your Lightstreamer installation: please have a look at all README.txt files you can find here (even inside "classed" and "lib" subfolders").

    Please also look at inline documentation of the <classloader> tag you can find here.

    Hope this helps.

    Thanks and Regards,
    Gianluca

  5. #5
    Hi Mr Gianluca.finocchiaro,
    Thank you so much for your help, I did, it's running well now. Thanks again!

 

 

Similar Threads

  1. How can I set the listener in the Data adapter?
    By Priyanka in forum Adapter SDKs
    Replies: 6
    Last Post: May 3rd, 2016, 04:12 PM
  2. Replies: 1
    Last Post: April 17th, 2015, 09:59 AM
  3. how to create Adapter Set
    By msgiribabu in forum Adapter SDKs
    Replies: 2
    Last Post: January 31st, 2011, 11:32 AM
  4. How to config eclipse to debug lightstreamer.
    By gengliangyu2008 in forum General
    Replies: 2
    Last Post: November 10th, 2010, 10:40 AM
  5. Replies: 1
    Last Post: May 21st, 2009, 09:41 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 01:37 PM.